Class ProductSpecCharacteristic
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ProductSpecCharacteristic
A characteristic quality or distinctive feature of a ProductSpecification. The characteristic can be take on a discrete value, such as color, can take on a range of values, (for example, sensitivity of 100-240 mV), or can be derived from a formula (for example, usage time (hrs) = 30 - talk time *3). Certain characteristics, such as color, may be configured during the ordering or some other process.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProductSpecCharacteristicValueItem(ProductSpecCharacteristicValue productSpecCharacteristicValueItem) addProductSpecCharRelationshipItem(ProductSpecCharRelationship productSpecCharRelationshipItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) atValueSchemaLocation(String atValueSchemaLocation) configurable(Boolean configurable) description(String description) booleanextensible(Boolean extensible) When sub-classing, this defines the super-classhyperlink reference to the schema describing this characteristicthe class type of this characteristicThis (optional) field provides a link to the schema describing the value type.A narrative that explains in detail what the productSpecCharacteristic isgetId()Unique identifier of the productSpecCharacteristicThe maximum number of instances a CharacteristicValue can take on.The minimum number of instances a CharacteristicValue can take on.getName()Name of the productSpecCharacteristic@Valid List<ProductSpecCharacteristicValue>Get productSpecCharacteristicValue@Valid List<ProductSpecCharRelationship>Get productSpecCharRelationshipgetRegex()A rule or principle represented in regular expression used to derive the value of a characteristic value@Valid TimePeriodGet validForA kind of value that the characteristic can take on, such as numeric, text and so forthinthashCode()If true, the Boolean indicates that the productSpecCharacteristic is configurableAn indicator that specifies that the values for the characteristic can be extended by adding new values when instantiating a characteristic for a productAn indicator that specifies if a value is unique for the specification.maxCardinality(Integer maxCardinality) minCardinality(Integer minCardinality) productSpecCharacteristicValue(List<ProductSpecCharacteristicValue> productSpecCharacteristicValue) productSpecCharRelationship(List<ProductSpecCharRelationship> productSpecCharRelationship) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetAtValueSchemaLocation(String atValueSchemaLocation) voidsetConfigurable(Boolean configurable) voidsetDescription(String description) voidsetExtensible(Boolean extensible) voidvoidsetIsUnique(Boolean isUnique) voidsetMaxCardinality(Integer maxCardinality) voidsetMinCardinality(Integer minCardinality) voidvoidsetProductSpecCharacteristicValue(List<ProductSpecCharacteristicValue> productSpecCharacteristicValue) voidsetProductSpecCharRelationship(List<ProductSpecCharRelationship> productSpecCharRelationship) voidvoidsetValidFor(TimePeriod validFor) voidsetValueType(String valueType) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
ProductSpecCharacteristic
public ProductSpecCharacteristic()
-
-
Method Details
-
id
-
getId
Unique identifier of the productSpecCharacteristic- Returns:
- id
-
setId
-
name
-
getName
Name of the productSpecCharacteristic- Returns:
- name
-
setName
-
description
-
getDescription
A narrative that explains in detail what the productSpecCharacteristic is- Returns:
- description
-
setDescription
-
valueType
-
getValueType
A kind of value that the characteristic can take on, such as numeric, text and so forth- Returns:
- valueType
-
setValueType
-
configurable
-
isConfigurable
If true, the Boolean indicates that the productSpecCharacteristic is configurable- Returns:
- configurable
-
setConfigurable
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
atType
-
getAtType
the class type of this characteristic- Returns:
- atType
-
setAtType
-
atSchemaLocation
-
getAtSchemaLocation
hyperlink reference to the schema describing this characteristic- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atValueSchemaLocation
-
getAtValueSchemaLocation
This (optional) field provides a link to the schema describing the value type.- Returns:
- atValueSchemaLocation
-
setAtValueSchemaLocation
-
minCardinality
-
getMinCardinality
The minimum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where zero is the value for the minCardinality- Returns:
- minCardinality
-
setMinCardinality
-
maxCardinality
-
getMaxCardinality
The maximum number of instances a CharacteristicValue can take on. For example, zero to five phone numbers in a group calling plan, where five is the value for the maxCardinality- Returns:
- maxCardinality
-
setMaxCardinality
-
isUnique
-
isIsUnique
An indicator that specifies if a value is unique for the specification. Possible values are; \"unique while value is in effect\" and \"unique whether value is in effect or not\"- Returns:
- isUnique
-
setIsUnique
-
regex
-
getRegex
A rule or principle represented in regular expression used to derive the value of a characteristic value- Returns:
- regex
-
setRegex
-
extensible
-
isExtensible
An indicator that specifies that the values for the characteristic can be extended by adding new values when instantiating a characteristic for a product- Returns:
- extensible
-
setExtensible
-
productSpecCharRelationship
public ProductSpecCharacteristic productSpecCharRelationship(List<ProductSpecCharRelationship> productSpecCharRelationship) -
addProductSpecCharRelationshipItem
public ProductSpecCharacteristic addProductSpecCharRelationshipItem(ProductSpecCharRelationship productSpecCharRelationshipItem) -
getProductSpecCharRelationship
Get productSpecCharRelationship- Returns:
- productSpecCharRelationship
-
setProductSpecCharRelationship
public void setProductSpecCharRelationship(List<ProductSpecCharRelationship> productSpecCharRelationship) -
productSpecCharacteristicValue
public ProductSpecCharacteristic productSpecCharacteristicValue(List<ProductSpecCharacteristicValue> productSpecCharacteristicValue) -
addProductSpecCharacteristicValueItem
public ProductSpecCharacteristic addProductSpecCharacteristicValueItem(ProductSpecCharacteristicValue productSpecCharacteristicValueItem) -
getProductSpecCharacteristicValue
Get productSpecCharacteristicValue- Returns:
- productSpecCharacteristicValue
-
setProductSpecCharacteristicValue
public void setProductSpecCharacteristicValue(List<ProductSpecCharacteristicValue> productSpecCharacteristicValue) -
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
equals
-
hashCode
public int hashCode() -
toString
-