Class Characteristic
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.Characteristic
Describes a given characteristic of an object or entity through a name/value pair.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@NotNull StringgetName()Name of the characteristic@NotNull @NotBlank StringgetValue()The value of the characteristicData type of the value of the characteristicinthashCode()voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidvoidvoidsetValueType(String valueType) toString()
-
Constructor Details
-
Characteristic
public Characteristic()
-
-
Method Details
-
name
-
getName
Name of the characteristic- Returns:
- name
-
setName
-
valueType
-
getValueType
Data type of the value of the characteristic- Returns:
- valueType
-
setValueType
-
value
-
getValue
The value of the characteristic- Returns:
- value
-
setValue
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-