java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.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

    • 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)
    • value

      public Characteristic value(String value)
    • getValue

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

      public void setValue(String 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 entity 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