Class AttributeSetTypeImpl
java.lang.Object
com.commercetools.api.models.product_type.AttributeSetTypeImpl
- All Implemented Interfaces:
AttributeSetType
,AttributeType
,io.vrap.rmf.base.client.ModelBase
public class AttributeSetTypeImpl
extends Object
implements AttributeSetType, io.vrap.rmf.base.client.ModelBase
AttributeType that defines a set (without duplicate elements) with values of the given elementType
. It does not support isRequired
. Since this type itself is an AttributeType, it is possible to construct an AttributeSetType of an AttributeSetType of any AttributeType, and to continue with this iteration until terminating with any non-AttributeSetType. In case the AttributeSetType iteration terminates with an AttributeNestedType, the iteration can have 5 steps at maximum.
-
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.AttributeSetType
SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Attribute type of the elements in the set.getName()
int
hashCode()
void
setElementType
(AttributeType elementType) Attribute type of the elements in the set.toString()
Methods inherited from interface com.commercetools.api.models.product_type.AttributeSetType
withAttributeSetType
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
-
AttributeSetTypeImpl
public AttributeSetTypeImpl()create empty instance
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceAttributeType
- Returns:
- name
-
getElementType
Attribute type of the elements in the set.
- Specified by:
getElementType
in interfaceAttributeSetType
- Returns:
- elementType
-
setElementType
Description copied from interface:AttributeSetType
Attribute type of the elements in the set.
- Specified by:
setElementType
in interfaceAttributeSetType
- Parameters:
elementType
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-