Class CustomFieldsImpl
java.lang.Object
com.commercetools.api.models.type.CustomFieldsImpl
- All Implemented Interfaces:
CustomFields
,CustomFieldsMixin
,io.vrap.rmf.base.client.ModelBase
public class CustomFieldsImpl
extends Object
implements CustomFields, io.vrap.rmf.base.client.ModelBase
Serves as value of the custom
field on a resource or data type customized with a Type.
-
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
Modifier and TypeMethodDescriptionboolean
Object containing the Custom Fields for the customized resource or data type.getType()
Reference to the Type that holds the FieldDefinitions for the Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Object containing the Custom Fields for the customized resource or data type.void
setType
(TypeReference type) Reference to the Type that holds the FieldDefinitions for the Custom Fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.type.CustomFields
withCustomFields
Methods inherited from interface com.commercetools.api.models.type.CustomFieldsMixin
toDraft, toDraftBuilder
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomFieldsImpl
public CustomFieldsImpl()create empty instance
-
-
Method Details
-
getType
Reference to the Type that holds the FieldDefinitions for the Custom Fields.
- Specified by:
getType
in interfaceCustomFields
- Specified by:
getType
in interfaceCustomFieldsMixin
- Returns:
- type
-
getFields
Object containing the Custom Fields for the customized resource or data type.
- Specified by:
getFields
in interfaceCustomFields
- Specified by:
getFields
in interfaceCustomFieldsMixin
- Returns:
- fields
-
setType
Description copied from interface:CustomFields
Reference to the Type that holds the FieldDefinitions for the Custom Fields.
- Specified by:
setType
in interfaceCustomFields
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:CustomFields
Object containing the Custom Fields for the customized resource or data type.
- Specified by:
setFields
in interfaceCustomFields
- Parameters:
fields
- value to be set
-
equals
-
hashCode
-