Class AttributesImpl
java.lang.Object
com.commercetools.importapi.models.productvariants.AttributesImpl
- All Implemented Interfaces:
Attributes
,io.vrap.rmf.base.client.ModelBase
Attributes
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.productvariants.Attributes
withAttributes
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AttributesImpl
public AttributesImpl()create empty instance
-
-
Method Details
-
values
The name of the attribute is given by the key and shouldn't be set on the attribute itself. And since this property will be represented as a map, we can set individual attributes to null to delete them (which follows JSON Merge Patch semantics).
- Specified by:
values
in interfaceAttributes
- Returns:
- map of the pattern property values
-
setValue
Description copied from interface:Attributes
The name of the attribute is given by the key and shouldn't be set on the attribute itself. And since this property will be represented as a map, we can set individual attributes to null to delete them (which follows JSON Merge Patch semantics).
- Specified by:
setValue
in interfaceAttributes
- Parameters:
key
- property namevalue
- property value
-
equals
-
hashCode
public int hashCode()
-