Class ReferenceSetFieldImpl
java.lang.Object
com.commercetools.importapi.models.customfields.ReferenceSetFieldImpl
- All Implemented Interfaces:
CustomField
,ReferenceSetField
,io.vrap.rmf.base.client.ModelBase
public class ReferenceSetFieldImpl
extends Object
implements ReferenceSetField, io.vrap.rmf.base.client.ModelBase
A field with a reference set value.
-
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.customfields.ReferenceSetField
REFERENCE_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
The type of this field.getValue()
int
hashCode()
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.customfields.CustomField
withCustomField
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.customfields.ReferenceSetField
withReferenceSetField
-
Constructor Details
-
ReferenceSetFieldImpl
public ReferenceSetFieldImpl()create empty instance
-
-
Method Details
-
getType
The type of this field.
- Specified by:
getType
in interfaceCustomField
- Returns:
- type
-
getValue
- Specified by:
getValue
in interfaceReferenceSetField
- Returns:
- value
-
setValue
Description copied from interface:ReferenceSetField
set value- Specified by:
setValue
in interfaceReferenceSetField
- Parameters:
value
- values to be set
-
setValue
Description copied from interface:ReferenceSetField
set value- Specified by:
setValue
in interfaceReferenceSetField
- Parameters:
value
- values to be set
-
equals
-
hashCode
-