Class TuaCharacteristicModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaCharacteristicModel
- All Implemented Interfaces:
Serializable
Generated model class for type TuaCharacteristic first defined at extension tuadatamodel.
- 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 relationTuaProduct2TuaCharacteristicRelationdefining source attributeproductin extensiontuadatamodel.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTuaCharacteristic.externalIdentifiersattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaCharacteristic.idattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaCharacteristic.nameattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaCharacteristic.productattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaCharacteristic.valueattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaCharacteristic.valueTypeattribute defined at extensiontuadatamodel.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.TuaCharacteristicModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTuaCharacteristicModel(String _id, ItemModel _owner, String _value) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTuaCharacteristicModel(String _id, String _value) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTuaCharacteristic.externalIdentifiersattribute defined at extensiontuadatamodel.getId()Generated method - Getter of theTuaCharacteristic.idattribute defined at extensiontuadatamodel.getName()Generated method - Getter of theTuaCharacteristic.nameattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaCharacteristic.nameattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaCharacteristic.productattribute defined at extensiontuadatamodel.getValue()Generated method - Getter of theTuaCharacteristic.valueattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaCharacteristic.valueTypeattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaCharacteristic.externalIdentifiersattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaCharacteristic.idattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaCharacteristic.nameattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaCharacteristic.nameattribute defined at extensiontuadatamodel.voidsetProduct(TuaProductModel value) Generated method - Setter ofTuaCharacteristic.productattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaCharacteristic.valueattribute defined at extensiontuadatamodel.voidsetValueType(String value) Generated method - Setter ofTuaCharacteristic.valueTypeattribute defined at extensiontuadatamodel.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:
-
_TUAPRODUCT2TUACHARACTERISTICRELATION
Generated relation code constant for relationTuaProduct2TuaCharacteristicRelationdefining source attributeproductin extensiontuadatamodel.- See Also:
-
ID
Generated constant - Attribute key ofTuaCharacteristic.idattribute defined at extensiontuadatamodel.- See Also:
-
NAME
Generated constant - Attribute key ofTuaCharacteristic.nameattribute defined at extensiontuadatamodel.- See Also:
-
VALUE
Generated constant - Attribute key ofTuaCharacteristic.valueattribute defined at extensiontuadatamodel.- See Also:
-
VALUETYPE
Generated constant - Attribute key ofTuaCharacteristic.valueTypeattribute defined at extensiontuadatamodel.- See Also:
-
EXTERNALIDENTIFIERS
Generated constant - Attribute key ofTuaCharacteristic.externalIdentifiersattribute defined at extensiontuadatamodel.- See Also:
-
PRODUCT
Generated constant - Attribute key ofTuaCharacteristic.productattribute defined at extensiontuadatamodel.- See Also:
-
-
Constructor Details
-
TuaCharacteristicModel
public TuaCharacteristicModel()Generated constructor - Default constructor for generic creation. -
TuaCharacteristicModel
public TuaCharacteristicModel(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
-
TuaCharacteristicModel
@Deprecated(since="4.1.1", forRemoval=true) public TuaCharacteristicModel(String _id, String _value) 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:
_id- initial attribute declared by typeTuaCharacteristicat extensiontuadatamodel_value- initial attribute declared by typeTuaCharacteristicat extensiontuadatamodel
-
TuaCharacteristicModel
@Deprecated(since="4.1.1", forRemoval=true) public TuaCharacteristicModel(String _id, ItemModel _owner, String _value) 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:
_id- initial attribute declared by typeTuaCharacteristicat extensiontuadatamodel_owner- initial attribute declared by typeItemat extensioncore_value- initial attribute declared by typeTuaCharacteristicat extensiontuadatamodel
-
-
Method Details
-
getExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()Generated method - Getter of theTuaCharacteristic.externalIdentifiersattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIdentifiers
-
getId
Generated method - Getter of theTuaCharacteristic.idattribute defined at extensiontuadatamodel.- Returns:
- the id - The unique identifier of the characteristic
-
getName
Generated method - Getter of theTuaCharacteristic.nameattribute defined at extensiontuadatamodel.- Returns:
- the name - The name of the characteristic
-
getName
Generated method - Getter of theTuaCharacteristic.nameattribute defined at extensiontuadatamodel.- Parameters:
loc- the value localization key- Returns:
- the name - The name of the characteristic
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getProduct
Generated method - Getter of theTuaCharacteristic.productattribute defined at extensiontuadatamodel.- Returns:
- the product - The product for which that characteristic is valid.
-
getValue
Generated method - Getter of theTuaCharacteristic.valueattribute defined at extensiontuadatamodel.- Returns:
- the value - The value of the characteristic
-
getValueType
Generated method - Getter of theTuaCharacteristic.valueTypeattribute defined at extensiontuadatamodel.- Returns:
- the valueType - The value type of the characteristic
-
setExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value) Generated method - Setter ofTuaCharacteristic.externalIdentifiersattribute defined at extensiontuadatamodel.- Parameters:
value- the externalIdentifiers
-
setId
Generated method - Setter ofTuaCharacteristic.idattribute defined at extensiontuadatamodel.- Parameters:
value- the id - The unique identifier of the characteristic
-
setName
Generated method - Setter ofTuaCharacteristic.nameattribute defined at extensiontuadatamodel.- Parameters:
value- the name - The name of the characteristic
-
setName
Generated method - Setter ofTuaCharacteristic.nameattribute defined at extensiontuadatamodel.- Parameters:
value- the name - The name of the characteristicloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setProduct
Generated method - Setter ofTuaCharacteristic.productattribute defined at extensiontuadatamodel.- Parameters:
value- the product - The product for which that characteristic is valid.
-
setValue
Generated method - Setter ofTuaCharacteristic.valueattribute defined at extensiontuadatamodel.- Parameters:
value- the value - The value of the characteristic
-
setValueType
Generated method - Setter ofTuaCharacteristic.valueTypeattribute defined at extensiontuadatamodel.- Parameters:
value- the valueType - The value type of the characteristic
-