Class FieldContainerImpl

java.lang.Object
com.commercetools.api.models.type.FieldContainerImpl
All Implemented Interfaces:
FieldContainer, io.vrap.rmf.base.client.ModelBase

public class FieldContainerImpl extends Object implements FieldContainer, io.vrap.rmf.base.client.ModelBase
FieldContainer
  • 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
     
    int
     
    void
    setValue(String key, Object value)
    JSON object with keys matching the names of Custom Fields (that is, names in the FieldDefinitions) and values given by CustomFieldValue.
    JSON object with keys matching the names of Custom Fields (that is, names in the FieldDefinitions) and values given by CustomFieldValue.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.type.FieldContainer

    withFieldContainer

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

    reflectionString, reflectionString
  • Constructor Details

  • Method Details

    • values

      public Map<String,Object> values()

      JSON object with keys matching the names of Custom Fields (that is, names in the FieldDefinitions) and values given by CustomFieldValue.

      Specified by:
      values in interface FieldContainer
      Returns:
      map of the pattern property values
    • setValue

      public void setValue(String key, Object value)
      Description copied from interface: FieldContainer

      JSON object with keys matching the names of Custom Fields (that is, names in the FieldDefinitions) and values given by CustomFieldValue.

      Specified by:
      setValue in interface FieldContainer
      Parameters:
      key - property name
      value - property value
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object