java.lang.Object
de.hybris.platform.partyroletmfwebservices.v1.dto.Characteristic

@Validated @Generated(value="de.hybris.platform.partyroletmfwebservices.swagger.PrPartyRoleCodegen", date="2022-10-21T20:35:30.099Z") 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(Object value)
    • getValue

      @NotNull @Valid public 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 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