Class Characteristic
java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.Characteristic
Describes a given characteristic of an object or entity through a name/value pair.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCharacteristicRelationshipItem(CharacteristicRelationship characteristicRelationshipItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) characteristicRelationship(List<CharacteristicRelationship> characteristicRelationship) 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 Extensible name@Valid List<CharacteristicRelationship>Get characteristicRelationshipgetId()Unique identifier of the characteristic@NotNull StringgetName()Name of the characteristic@NotNull ObjectgetValue()The value of the characteristicData type of the value of the characteristicinthashCode()voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetCharacteristicRelationship(List<CharacteristicRelationship> characteristicRelationship) voidvoidvoidvoidsetValueType(String valueType) toString()
-
Constructor Details
-
Characteristic
public Characteristic()
-
-
Method Details
-
id
-
getId
Unique identifier of the characteristic- Returns:
- id
-
setId
-
name
-
getName
Name of the characteristic- Returns:
- name
-
setName
-
valueType
-
getValueType
Data type of the value of the characteristic- Returns:
- valueType
-
setValueType
-
characteristicRelationship
public Characteristic characteristicRelationship(List<CharacteristicRelationship> characteristicRelationship) -
addCharacteristicRelationshipItem
public Characteristic addCharacteristicRelationshipItem(CharacteristicRelationship characteristicRelationshipItem) -
getCharacteristicRelationship
Get characteristicRelationship- Returns:
- characteristicRelationship
-
setCharacteristicRelationship
public void setCharacteristicRelationship(List<CharacteristicRelationship> characteristicRelationship) -
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 Extensible name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-