Class TmaUsageSpecCharacteristicValueModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaUsageSpecCharacteristicValueModel
- All Implemented Interfaces:
Serializable
Generated model class for type TmaUsageSpecCharacteristicValue first defined at extension tuadatacommonsservices.
The allowed values for an Usage Spec Characteristic.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationTmaUsageSpecCharacteristic2TmaUsageSpecCharacteristicValueRelationdefining source attributeusageSpecCharacteristicin extensiontuadatacommonsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.allowedValuesattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.catalogVersionattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.defaultattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.idattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.usageSpecCharacteristicattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.valueattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.valueFromattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.valueToattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaUsageSpecCharacteristicValue.valueTypeattribute defined at extensiontuadatacommonsservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.TmaUsageSpecCharacteristicValueModel(CatalogVersionModel _catalogVersion, String _id) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaUsageSpecCharacteristicValueModel(CatalogVersionModel _catalogVersion, String _id, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaUsageSpecCharacteristicValueModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTmaUsageSpecCharacteristicValue.allowedValuesattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaUsageSpecCharacteristicValue.catalogVersionattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaUsageSpecCharacteristicValue.defaultattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.getDescription(Locale loc) Generated method - Getter of theTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.getId()Generated method - Getter of theTmaUsageSpecCharacteristicValue.idattribute defined at extensiontuadatacommonsservices.getName()Generated method - Getter of theTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaUsageSpecCharacteristicValue.usageSpecCharacteristicattribute defined at extensiontuadatacommonsservices.getValue()Generated method - Getter of theTmaUsageSpecCharacteristicValue.valueattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaUsageSpecCharacteristicValue.valueFromattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaUsageSpecCharacteristicValue.valueToattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaUsageSpecCharacteristicValue.valueTypeattribute defined at extensiontuadatacommonsservices.voidsetAllowedValues(List<String> value) Generated method - Setter ofTmaUsageSpecCharacteristicValue.allowedValuesattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaUsageSpecCharacteristicValue.catalogVersionattribute defined at extensiontuadatacommonsservices.voidsetDefault(Boolean value) Generated method - Setter ofTmaUsageSpecCharacteristicValue.defaultattribute defined at extensiontuadatacommonsservices.voidsetDescription(String value) Generated method - Setter ofTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.voidsetDescription(String value, Locale loc) Generated method - Setter ofTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaUsageSpecCharacteristicValue.idattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaUsageSpecCharacteristicValue.usageSpecCharacteristicattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaUsageSpecCharacteristicValue.valueattribute defined at extensiontuadatacommonsservices.voidsetValueFrom(String value) Generated method - Setter ofTmaUsageSpecCharacteristicValue.valueFromattribute defined at extensiontuadatacommonsservices.voidsetValueTo(String value) Generated method - Setter ofTmaUsageSpecCharacteristicValue.valueToattribute defined at extensiontuadatacommonsservices.voidsetValueType(TmaPscvValueType value) Generated method - Setter ofTmaUsageSpecCharacteristicValue.valueTypeattribute defined at extensiontuadatacommonsservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_TMAUSAGESPECCHARACTERISTIC2TMAUSAGESPECCHARACTERISTICVALUERELATION
Generated relation code constant for relationTmaUsageSpecCharacteristic2TmaUsageSpecCharacteristicValueRelationdefining source attributeusageSpecCharacteristicin extensiontuadatacommonsservices.- See Also:
-
ID
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.idattribute defined at extensiontuadatacommonsservices.- See Also:
-
NAME
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.catalogVersionattribute defined at extensiontuadatacommonsservices.- See Also:
-
VALUE
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.valueattribute defined at extensiontuadatacommonsservices.- See Also:
-
DEFAULT
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.defaultattribute defined at extensiontuadatacommonsservices.- See Also:
-
ALLOWEDVALUES
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.allowedValuesattribute defined at extensiontuadatacommonsservices.- See Also:
-
VALUEFROM
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.valueFromattribute defined at extensiontuadatacommonsservices.- See Also:
-
VALUETO
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.valueToattribute defined at extensiontuadatacommonsservices.- See Also:
-
VALUETYPE
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.valueTypeattribute defined at extensiontuadatacommonsservices.- See Also:
-
USAGESPECCHARACTERISTIC
Generated constant - Attribute key ofTmaUsageSpecCharacteristicValue.usageSpecCharacteristicattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
TmaUsageSpecCharacteristicValueModel
public TmaUsageSpecCharacteristicValueModel()Generated constructor - Default constructor for generic creation. -
TmaUsageSpecCharacteristicValueModel
public TmaUsageSpecCharacteristicValueModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TmaUsageSpecCharacteristicValueModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaUsageSpecCharacteristicValueModel(CatalogVersionModel _catalogVersion, String _id) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeTmaUsageSpecCharacteristicValueat extensiontuadatacommonsservices_id- initial attribute declared by typeTmaUsageSpecCharacteristicValueat extensiontuadatacommonsservices
-
TmaUsageSpecCharacteristicValueModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaUsageSpecCharacteristicValueModel(CatalogVersionModel _catalogVersion, String _id, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeTmaUsageSpecCharacteristicValueat extensiontuadatacommonsservices_id- initial attribute declared by typeTmaUsageSpecCharacteristicValueat extensiontuadatacommonsservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAllowedValues
Generated method - Getter of theTmaUsageSpecCharacteristicValue.allowedValuesattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the allowedValues - The allowed values of the UsageSpecCharacteristicValue
-
getCatalogVersion
Generated method - Getter of theTmaUsageSpecCharacteristicValue.catalogVersionattribute defined at extensiontuadatacommonsservices.- Returns:
- the catalogVersion - Catalog Version on which the Product Spec Characteristic Value is published.
-
getDefault
Generated method - Getter of theTmaUsageSpecCharacteristicValue.defaultattribute defined at extensiontuadatacommonsservices.- Returns:
- the default - Defines whether this is the default value of this Usage Spec Characteristic Value.
-
getDescription
Generated method - Getter of theTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.- Returns:
- the description - Description of the Usage Specification Characteristic Value.
-
getDescription
Generated method - Getter of theTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.- Parameters:
loc- the value localization key- Returns:
- the description - Description of the Usage Specification Characteristic Value.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getId
Generated method - Getter of theTmaUsageSpecCharacteristicValue.idattribute defined at extensiontuadatacommonsservices.- Returns:
- the id - Unique identifier of the Usage Specification Characteristic Value.
-
getName
Generated method - Getter of theTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.- Returns:
- the name - Name of the Usage Spec Characteristic Value
-
getName
Generated method - Getter of theTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name of the Usage Spec Characteristic Value
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getUsageSpecCharacteristic
@Accessor(qualifier="usageSpecCharacteristic", type=GETTER) public TmaUsageSpecCharacteristicModel getUsageSpecCharacteristic()Generated method - Getter of theTmaUsageSpecCharacteristicValue.usageSpecCharacteristicattribute defined at extensiontuadatacommonsservices.- Returns:
- the usageSpecCharacteristic - Usage Spec Characteristic for which the Usage Spec Characteristic Values are configured.
-
getValue
Generated method - Getter of theTmaUsageSpecCharacteristicValue.valueattribute defined at extensiontuadatacommonsservices.- Returns:
- the value - The value of the Usage Spec Characteristic Value
-
getValueFrom
Generated method - Getter of theTmaUsageSpecCharacteristicValue.valueFromattribute defined at extensiontuadatacommonsservices.- Returns:
- the valueFrom - Defines a range of possible values starting from this
-
getValueTo
Generated method - Getter of theTmaUsageSpecCharacteristicValue.valueToattribute defined at extensiontuadatacommonsservices.- Returns:
- the valueTo - Defines a range of possible values until this one
-
getValueType
Generated method - Getter of theTmaUsageSpecCharacteristicValue.valueTypeattribute defined at extensiontuadatacommonsservices.- Returns:
- the valueType - The type for the value (STRING, BOOLEAN, NUMERIC).
-
setAllowedValues
Generated method - Setter ofTmaUsageSpecCharacteristicValue.allowedValuesattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the allowedValues - The allowed values of the UsageSpecCharacteristicValue
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Setter ofTmaUsageSpecCharacteristicValue.catalogVersionattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the catalogVersion - Catalog Version on which the Product Spec Characteristic Value is published.
-
setDefault
Generated method - Setter ofTmaUsageSpecCharacteristicValue.defaultattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the default - Defines whether this is the default value of this Usage Spec Characteristic Value.
-
setDescription
Generated method - Setter ofTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the description - Description of the Usage Specification Characteristic Value.
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofTmaUsageSpecCharacteristicValue.descriptionattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the description - Description of the Usage Specification Characteristic Value.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setId
Generated method - Setter ofTmaUsageSpecCharacteristicValue.idattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the id - Unique identifier of the Usage Specification Characteristic Value.
-
setName
Generated method - Setter ofTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the name - Name of the Usage Spec Characteristic Value
-
setName
Generated method - Setter ofTmaUsageSpecCharacteristicValue.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the name - Name of the Usage Spec Characteristic Valueloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setUsageSpecCharacteristic
@Accessor(qualifier="usageSpecCharacteristic", type=SETTER) public void setUsageSpecCharacteristic(TmaUsageSpecCharacteristicModel value) Generated method - Setter ofTmaUsageSpecCharacteristicValue.usageSpecCharacteristicattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the usageSpecCharacteristic - Usage Spec Characteristic for which the Usage Spec Characteristic Values are configured.
-
setValue
Generated method - Setter ofTmaUsageSpecCharacteristicValue.valueattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the value - The value of the Usage Spec Characteristic Value
-
setValueFrom
Generated method - Setter ofTmaUsageSpecCharacteristicValue.valueFromattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the valueFrom - Defines a range of possible values starting from this
-
setValueTo
Generated method - Setter ofTmaUsageSpecCharacteristicValue.valueToattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the valueTo - Defines a range of possible values until this one
-
setValueType
Generated method - Setter ofTmaUsageSpecCharacteristicValue.valueTypeattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the valueType - The type for the value (STRING, BOOLEAN, NUMERIC).
-