Class FieldContainerImpl

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

public class FieldContainerImpl extends Object implements FieldContainer, io.vrap.rmf.base.client.ModelBase

Maps the Custom Field names to actual values.

  • 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
    Mapping from the Custom Field name to the actual value.
    Mapping from the Custom Field name to the actual value.

    Methods inherited from class java.lang.Object

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

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

    withFieldContainer

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

    reflectionString, reflectionString
  • Constructor Details

    • FieldContainerImpl

      public FieldContainerImpl()
      create empty instance
  • Method Details

    • values

      public Map<String,CustomField> values()

      Mapping from the Custom Field name to the actual value.

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

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

      Mapping from the Custom Field name to the actual value.

      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