public class EnumAttributeImpl extends Object implements EnumAttribute, io.vrap.rmf.base.client.ModelBase
This type represents an attribute whose value is an enum. The attribute value refers to the key of the enum value.
ENUM
Constructor and Description |
---|
EnumAttributeImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
The name of this attribute must match a name of the product types attribute definitions.
|
String |
getType() |
String |
getValue() |
int |
hashCode() |
void |
setName(String name) |
void |
setValue(String value) |
getClass, notify, notifyAll, toString, wait, wait, wait
builder, builder, of, of, typeReference, withEnumAttribute
booleanBuilder, booleanSetBuilder, dateBuilder, dateSetBuilder, datetimeBuilder, datetimeSetBuilder, enumBuilder, enumSetBuilder, lenumBuilder, lenumSetBuilder, ltextBuilder, ltextSetBuilder, moneyBuilder, moneySetBuilder, numberBuilder, numberSetBuilder, referenceBuilder, referenceSetBuilder, textBuilder, textSetBuilder, timeBuilder, timeSetBuilder, withAttribute
public String getName()
The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.
public String getValue()
getValue
in interface EnumAttribute
public void setValue(String value)
setValue
in interface EnumAttribute