Class ProductTypeChangePlainEnumValueOrderActionImpl
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeChangePlainEnumValueOrderActionImpl
- All Implemented Interfaces:
ProductTypeChangePlainEnumValueOrderAction
,ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductTypeChangePlainEnumValueOrderActionImpl
extends Object
implements ProductTypeChangePlainEnumValueOrderAction, io.vrap.rmf.base.client.ModelBase
Updates the order of enum values
in an AttributeEnumType AttributeDefinition. It can update an AttributeEnumType AttributeDefinition or an AttributeSetType of AttributeEnumType AttributeDefinition.
-
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.ProductTypeChangePlainEnumValueOrderAction
CHANGE_PLAIN_ENUM_VALUE_ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the AttributeDefinition to update.Values must be equal to the values of the Attribute enum values (except for the order).int
hashCode()
void
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
setValues
(AttributePlainEnumValue... values) Values must be equal to the values of the Attribute enum values (except for the order).void
setValues
(List<AttributePlainEnumValue> values) Values must be equal to the values of the Attribute enum values (except for the order).Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeChangePlainEnumValueOrderAction
withProductTypeChangePlainEnumValueOrderAction
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductTypeChangePlainEnumValueOrderActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductTypeUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductTypeUpdateAction>
- Returns:
- action
-
getAttributeName
Name of the AttributeDefinition to update.
- Specified by:
getAttributeName
in interfaceProductTypeChangePlainEnumValueOrderAction
- Returns:
- attributeName
-
getValues
Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Specified by:
getValues
in interfaceProductTypeChangePlainEnumValueOrderAction
- Returns:
- values
-
setAttributeName
Description copied from interface:ProductTypeChangePlainEnumValueOrderAction
Name of the AttributeDefinition to update.
- Specified by:
setAttributeName
in interfaceProductTypeChangePlainEnumValueOrderAction
- Parameters:
attributeName
- value to be set
-
setValues
Description copied from interface:ProductTypeChangePlainEnumValueOrderAction
Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Specified by:
setValues
in interfaceProductTypeChangePlainEnumValueOrderAction
- Parameters:
values
- values to be set
-
setValues
Description copied from interface:ProductTypeChangePlainEnumValueOrderAction
Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Specified by:
setValues
in interfaceProductTypeChangePlainEnumValueOrderAction
- Parameters:
values
- values to be set
-
equals
-
hashCode
-