Class ProductTypeChangePlainEnumValueLabelActionImpl
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeChangePlainEnumValueLabelActionImpl
- All Implemented Interfaces:
ProductTypeChangePlainEnumValueLabelAction
,ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductTypeChangePlainEnumValueLabelActionImpl
extends Object
implements ProductTypeChangePlainEnumValueLabelAction, io.vrap.rmf.base.client.ModelBase
Updates the label of a single enum value
in an AttributeEnumType AttributeDefinition, or AttributeSetType of AttributeEnumType AttributeDefinition.
All Products will be updated to the new label in an eventually consistent way.
-
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.ProductTypeChangePlainEnumValueLabelAction
CHANGE_PLAIN_ENUM_VALUE_LABEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the AttributeDefinition to update.New value to set.int
hashCode()
void
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
setNewValue
(AttributePlainEnumValue newValue) New value to set.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.ProductTypeChangePlainEnumValueLabelAction
withProductTypeChangePlainEnumValueLabelAction
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductTypeChangePlainEnumValueLabelActionImpl
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 interfaceProductTypeChangePlainEnumValueLabelAction
- Returns:
- attributeName
-
getNewValue
New value to set. Must be different from the existing value.
- Specified by:
getNewValue
in interfaceProductTypeChangePlainEnumValueLabelAction
- Returns:
- newValue
-
setAttributeName
Description copied from interface:ProductTypeChangePlainEnumValueLabelAction
Name of the AttributeDefinition to update.
- Specified by:
setAttributeName
in interfaceProductTypeChangePlainEnumValueLabelAction
- Parameters:
attributeName
- value to be set
-
setNewValue
Description copied from interface:ProductTypeChangePlainEnumValueLabelAction
New value to set. Must be different from the existing value.
- Specified by:
setNewValue
in interfaceProductTypeChangePlainEnumValueLabelAction
- Parameters:
newValue
- value to be set
-
equals
-
hashCode
-