Class AttributeEnumTypeImpl
java.lang.Object
com.commercetools.api.models.product_type.AttributeEnumTypeImpl
- All Implemented Interfaces:
AttributeEnumType
,AttributeType
,io.vrap.rmf.base.client.ModelBase
public class AttributeEnumTypeImpl
extends Object
implements AttributeEnumType, io.vrap.rmf.base.client.ModelBase
Attribute type for plain enum values. Useful for predefined language-agnostic values selectable in drop downs when only one value should be selected. Use AttributeSetType of AttributeEnumType instead if multiple values can be selected from the list.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.product_type.AttributeEnumType
ENUM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Available values that can be assigned to Products.int
hashCode()
void
setValues
(AttributePlainEnumValue... values) Available values that can be assigned to Products.void
setValues
(List<AttributePlainEnumValue> values) Available values that can be assigned to Products.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.product_type.AttributeEnumType
withAttributeEnumType
Methods inherited from interface com.commercetools.api.models.product_type.AttributeType
withAttributeType
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AttributeEnumTypeImpl
public AttributeEnumTypeImpl()create empty instance
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceAttributeType
- Returns:
- name
-
getValues
Available values that can be assigned to Products.
- Specified by:
getValues
in interfaceAttributeEnumType
- Returns:
- values
-
setValues
Description copied from interface:AttributeEnumType
Available values that can be assigned to Products.
- Specified by:
setValues
in interfaceAttributeEnumType
- Parameters:
values
- values to be set
-
setValues
Description copied from interface:AttributeEnumType
Available values that can be assigned to Products.
- Specified by:
setValues
in interfaceAttributeEnumType
- Parameters:
values
- values to be set
-
equals
-
hashCode
-