Class Characteristic

java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.Characteristic

public class Characteristic extends Object
Describes a given characteristic of an object or entity through a name/value pair.
  • Constructor Details

    • Characteristic

      public Characteristic()
  • Method Details

    • id

      public Characteristic id(String id)
    • getId

      public String getId()
      Unique identifier of the characteristic
      Returns:
      id
    • setId

      public void setId(String id)
    • name

      public Characteristic name(String name)
    • getName

      @NotNull public @NotNull String getName()
      Name of the characteristic
      Returns:
      name
    • setName

      public void setName(String name)
    • valueType

      public Characteristic valueType(String valueType)
    • getValueType

      public String getValueType()
      Data type of the value of the characteristic
      Returns:
      valueType
    • setValueType

      public void setValueType(String valueType)
    • characteristicRelationship

      public Characteristic characteristicRelationship(List<CharacteristicRelationship> characteristicRelationship)
    • addCharacteristicRelationshipItem

      public Characteristic addCharacteristicRelationshipItem(CharacteristicRelationship characteristicRelationshipItem)
    • getCharacteristicRelationship

      @Valid public @Valid List<CharacteristicRelationship> getCharacteristicRelationship()
      Get characteristicRelationship
      Returns:
      characteristicRelationship
    • setCharacteristicRelationship

      public void setCharacteristicRelationship(List<CharacteristicRelationship> characteristicRelationship)
    • value

      public Characteristic value(Object value)
    • getValue

      @NotNull public @NotNull Object getValue()
      The value of the characteristic
      Returns:
      value
    • setValue

      public void setValue(Object value)
    • atBaseType

      public Characteristic atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public Characteristic atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public Characteristic atType(String atType)
    • getAtType

      public String getAtType()
      When sub-classing, this defines the sub-class Extensible name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • 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