java.lang.Object
com.commercetools.importapi.models.customfields.CustomImpl
All Implemented Interfaces:
Custom, io.vrap.rmf.base.client.ModelBase

public class CustomImpl extends Object implements Custom, io.vrap.rmf.base.client.ModelBase

The representation to be sent to the server when creating a resource with Custom Fields.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The Custom Fields of this object.
    The type that provides the field definitions for this object.
    int
     
    void
    The Custom Fields of this object.
    void
    The type that provides the field definitions for this object.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.commercetools.importapi.models.customfields.Custom

    withCustom

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString
  • Constructor Details

    • CustomImpl

      public CustomImpl()
      create empty instance
  • Method Details

    • getType

      public TypeKeyReference getType()

      The type that provides the field definitions for this object.

      Specified by:
      getType in interface Custom
      Returns:
      type
    • getFields

      public FieldContainer getFields()

      The Custom Fields of this object.

      Specified by:
      getFields in interface Custom
      Returns:
      fields
    • setType

      public void setType(TypeKeyReference type)
      Description copied from interface: Custom

      The type that provides the field definitions for this object.

      Specified by:
      setType in interface Custom
      Parameters:
      type - value to be set
    • setFields

      public void setFields(FieldContainer fields)
      Description copied from interface: Custom

      The Custom Fields of this object.

      Specified by:
      setFields in interface Custom
      Parameters:
      fields - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object