Class ReferenceSetAttributeImpl
java.lang.Object
com.commercetools.importapi.models.productvariants.ReferenceSetAttributeImpl
- All Implemented Interfaces:
Attribute
,ReferenceSetAttribute
,io.vrap.rmf.base.client.ModelBase
public class ReferenceSetAttributeImpl
extends Object
implements ReferenceSetAttribute, io.vrap.rmf.base.client.ModelBase
This type represents an attribute whose value is a set of references.
-
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.importapi.models.productvariants.ReferenceSetAttribute
REFERENCE_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
The name of this attribute must match a name of the product types attribute definitions.getType()
getValue()
int
hashCode()
void
The name of this attribute must match a name of the product types attribute definitions.void
setValue
(KeyReference... value) set valuevoid
setValue
(List<KeyReference> value) set valueMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.productvariants.Attribute
withAttribute
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.productvariants.ReferenceSetAttribute
withReferenceSetAttribute
-
Constructor Details
-
ReferenceSetAttributeImpl
public ReferenceSetAttributeImpl()create empty instance
-
-
Method Details
-
getName
The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.
-
getType
-
getValue
- Specified by:
getValue
in interfaceReferenceSetAttribute
- Returns:
- value
-
setName
Description copied from interface:Attribute
The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.
-
setValue
Description copied from interface:ReferenceSetAttribute
set value- Specified by:
setValue
in interfaceReferenceSetAttribute
- Parameters:
value
- values to be set
-
setValue
Description copied from interface:ReferenceSetAttribute
set value- Specified by:
setValue
in interfaceReferenceSetAttribute
- Parameters:
value
- values to be set
-
equals
-
hashCode
-