Class AttributeValueImpl
java.lang.Object
com.commercetools.history.models.change_value.AttributeValueImpl
- All Implemented Interfaces:
AttributeValue,io.vrap.rmf.base.client.ModelBase
public class AttributeValueImpl
extends Object
implements AttributeValue, io.vrap.rmf.base.client.ModelBase
AttributeValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.commercetools.history.models.change_value.AttributeValue
withAttributeValueMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AttributeValueImpl
public AttributeValueImpl()create empty instance
-
-
Method Details
-
getName
Name of the Attribute set.
- Specified by:
getNamein interfaceAttributeValue- Returns:
- name
-
getValue
Value set for the Attribute determined by the AttributeType:
- For Enum Type and Localized Enum Type,
valueis thekeyof the Plain Enum Value or Localized Enum Value objects, or the complete objects. - For Localizable Text Type,
valueis the LocalizedString object. - For Money Type Attributes,
valueis the Money object. - For Set Type Attributes,
valueis the entiresetobject. - For Nested Type Attributes,
valueis the list of values of all Attributes of the nested Product. - For Reference Type Attributes,
valueis the Reference object.
- Specified by:
getValuein interfaceAttributeValue- Returns:
- value
- For Enum Type and Localized Enum Type,
-
setName
Description copied from interface:AttributeValueName of the Attribute set.
- Specified by:
setNamein interfaceAttributeValue- Parameters:
name- value to be set
-
setValue
Description copied from interface:AttributeValueValue set for the Attribute determined by the AttributeType:
- For Enum Type and Localized Enum Type,
valueis thekeyof the Plain Enum Value or Localized Enum Value objects, or the complete objects. - For Localizable Text Type,
valueis the LocalizedString object. - For Money Type Attributes,
valueis the Money object. - For Set Type Attributes,
valueis the entiresetobject. - For Nested Type Attributes,
valueis the list of values of all Attributes of the nested Product. - For Reference Type Attributes,
valueis the Reference object.
- Specified by:
setValuein interfaceAttributeValue- Parameters:
value- value to be set
- For Enum Type and Localized Enum Type,
-
equals
-
hashCode
-