Package de.hybris.platform.catalog.model
Class ProductFeatureModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.catalog.model.ProductFeatureModel
- All Implemented Interfaces:
Serializable
Generated model class for type ProductFeature first defined at extension catalog.
- 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 relationProduct2FeatureRelationdefining source attributeproductin extensioncatalog.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofProductFeature.booleanValueattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.descriptionattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.featurePositionattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.languageattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.numberValueattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.productattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.productPOSattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.qualifierattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.rawValueattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.stringValueattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.unitattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.valueattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.valueDetailsattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.valuePositionattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofProductFeature.valueTypeattribute defined at extensioncatalog.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.ProductFeatureModel(ClassAttributeAssignmentModel _classificationAttributeAssignment, LanguageModel _language, ItemModel _owner, ProductModel _product, String _qualifier, Object _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 parametersProductFeatureModel(ProductModel _product, String _qualifier, Object _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 parametersProductFeatureModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.Generated method - Getter of theProductFeature.descriptionattribute defined at extensioncatalog.Generated method - Getter of theProductFeature.featurePositionattribute defined at extensioncatalog.Generated method - Getter of theProductFeature.languageattribute defined at extensioncatalog.Generated method - Getter of theProductFeature.productattribute defined at extensioncatalog.Generated method - Getter of theProductFeature.qualifierattribute defined at extensioncatalog.getUnit()Generated method - Getter of theProductFeature.unitattribute defined at extensioncatalog.getValue()Generated method - Getter of theProductFeature.valuedynamic attribute defined at extensioncatalog.Generated method - Getter of theProductFeature.valueDetailsattribute defined at extensioncatalog.Generated method - Getter of theProductFeature.valuePositionattribute defined at extensioncatalog.voidGenerated method - Initial setter ofProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.voidsetDescription(String value) Generated method - Setter ofProductFeature.descriptionattribute defined at extensioncatalog.voidsetFeaturePosition(Integer value) Generated method - Setter ofProductFeature.featurePositionattribute defined at extensioncatalog.voidsetLanguage(LanguageModel value) Generated method - Initial setter ofProductFeature.languageattribute defined at extensioncatalog.voidsetProduct(ProductModel value) Generated method - Initial setter ofProductFeature.productattribute defined at extensioncatalog.voidsetQualifier(String value) Generated method - Initial setter ofProductFeature.qualifierattribute defined at extensioncatalog.voidGenerated method - Setter ofProductFeature.unitattribute defined at extensioncatalog.voidGenerated method - Setter ofProductFeature.valuedynamic attribute defined at extensioncatalog.voidsetValueDetails(String value) Generated method - Setter ofProductFeature.valueDetailsattribute defined at extensioncatalog.voidsetValuePosition(Integer value) Generated method - Setter ofProductFeature.valuePositionattribute defined at extensioncatalog.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:
-
_PRODUCT2FEATURERELATION
Generated relation code constant for relationProduct2FeatureRelationdefining source attributeproductin extensioncatalog.- See Also:
-
QUALIFIER
Generated constant - Attribute key ofProductFeature.qualifierattribute defined at extensioncatalog.- See Also:
-
CLASSIFICATIONATTRIBUTEASSIGNMENT
Generated constant - Attribute key ofProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.- See Also:
-
LANGUAGE
Generated constant - Attribute key ofProductFeature.languageattribute defined at extensioncatalog.- See Also:
-
VALUEPOSITION
Generated constant - Attribute key ofProductFeature.valuePositionattribute defined at extensioncatalog.- See Also:
-
FEATUREPOSITION
Generated constant - Attribute key ofProductFeature.featurePositionattribute defined at extensioncatalog.- See Also:
-
VALUETYPE
Generated constant - Attribute key ofProductFeature.valueTypeattribute defined at extensioncatalog.- See Also:
-
STRINGVALUE
Generated constant - Attribute key ofProductFeature.stringValueattribute defined at extensioncatalog.- See Also:
-
BOOLEANVALUE
Generated constant - Attribute key ofProductFeature.booleanValueattribute defined at extensioncatalog.- See Also:
-
NUMBERVALUE
Generated constant - Attribute key ofProductFeature.numberValueattribute defined at extensioncatalog.- See Also:
-
RAWVALUE
Generated constant - Attribute key ofProductFeature.rawValueattribute defined at extensioncatalog.- See Also:
-
VALUE
Generated constant - Attribute key ofProductFeature.valueattribute defined at extensioncatalog.- See Also:
-
UNIT
Generated constant - Attribute key ofProductFeature.unitattribute defined at extensioncatalog.- See Also:
-
VALUEDETAILS
Generated constant - Attribute key ofProductFeature.valueDetailsattribute defined at extensioncatalog.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofProductFeature.descriptionattribute defined at extensioncatalog.- See Also:
-
PRODUCTPOS
Generated constant - Attribute key ofProductFeature.productPOSattribute defined at extensioncatalog.- See Also:
-
PRODUCT
Generated constant - Attribute key ofProductFeature.productattribute defined at extensioncatalog.- See Also:
-
-
Constructor Details
-
ProductFeatureModel
public ProductFeatureModel()Generated constructor - Default constructor for generic creation. -
ProductFeatureModel
public ProductFeatureModel(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
-
ProductFeatureModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductFeatureModel(ProductModel _product, String _qualifier, Object _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:
_product- initial attribute declared by typeProductFeatureat extensioncatalog_qualifier- initial attribute declared by typeProductFeatureat extensioncatalog_value- initial attribute declared by typeProductFeatureat extensioncatalog
-
ProductFeatureModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductFeatureModel(ClassAttributeAssignmentModel _classificationAttributeAssignment, LanguageModel _language, ItemModel _owner, ProductModel _product, String _qualifier, Object _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:
_classificationAttributeAssignment- initial attribute declared by typeProductFeatureat extensioncatalog_language- initial attribute declared by typeProductFeatureat extensioncatalog_owner- initial attribute declared by typeItemat extensioncore_product- initial attribute declared by typeProductFeatureat extensioncatalog_qualifier- initial attribute declared by typeProductFeatureat extensioncatalog_value- initial attribute declared by typeProductFeatureat extensioncatalog
-
-
Method Details
-
getClassificationAttributeAssignment
@Accessor(qualifier="classificationAttributeAssignment", type=GETTER) public ClassAttributeAssignmentModel getClassificationAttributeAssignment()Generated method - Getter of theProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.- Returns:
- the classificationAttributeAssignment - Classification attribute assignment which this value belongs to
-
getDescription
Generated method - Getter of theProductFeature.descriptionattribute defined at extensioncatalog.- Returns:
- the description - description text
-
getFeaturePosition
Generated method - Getter of theProductFeature.featurePositionattribute defined at extensioncatalog.- Returns:
- the featurePosition - position of the feature which this value belongs to
-
getLanguage
Generated method - Getter of theProductFeature.languageattribute defined at extensioncatalog.- Returns:
- the language
-
getProduct
Generated method - Getter of theProductFeature.productattribute defined at extensioncatalog.- Returns:
- the product
-
getQualifier
Generated method - Getter of theProductFeature.qualifierattribute defined at extensioncatalog.- Returns:
- the qualifier - Qualifier
-
getUnit
Generated method - Getter of theProductFeature.unitattribute defined at extensioncatalog.- Returns:
- the unit - Classification attribute unit
-
getValue
Generated method - Getter of theProductFeature.valuedynamic attribute defined at extensioncatalog.- Returns:
- the value - the actual value of this feature
-
getValueDetails
Generated method - Getter of theProductFeature.valueDetailsattribute defined at extensioncatalog.- Returns:
- the valueDetails - value details text
-
getValuePosition
Generated method - Getter of theProductFeature.valuePositionattribute defined at extensioncatalog.- Returns:
- the valuePosition - position mark for multi value features
-
setClassificationAttributeAssignment
@Accessor(qualifier="classificationAttributeAssignment", type=SETTER) public void setClassificationAttributeAssignment(ClassAttributeAssignmentModel value) Generated method - Initial setter ofProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog. Can only be used at creation of model - before first save.- Parameters:
value- the classificationAttributeAssignment - Classification attribute assignment which this value belongs to
-
setDescription
Generated method - Setter ofProductFeature.descriptionattribute defined at extensioncatalog.- Parameters:
value- the description - description text
-
setFeaturePosition
Generated method - Setter ofProductFeature.featurePositionattribute defined at extensioncatalog.- Parameters:
value- the featurePosition - position of the feature which this value belongs to
-
setLanguage
Generated method - Initial setter ofProductFeature.languageattribute defined at extensioncatalog. Can only be used at creation of model - before first save.- Parameters:
value- the language
-
setProduct
Generated method - Initial setter ofProductFeature.productattribute defined at extensioncatalog. Can only be used at creation of model - before first save.- Parameters:
value- the product
-
setQualifier
Generated method - Initial setter ofProductFeature.qualifierattribute defined at extensioncatalog. Can only be used at creation of model - before first save.- Parameters:
value- the qualifier - Qualifier
-
setUnit
@Accessor(qualifier="unit", type=SETTER) public void setUnit(ClassificationAttributeUnitModel value) Generated method - Setter ofProductFeature.unitattribute defined at extensioncatalog.- Parameters:
value- the unit - Classification attribute unit
-
setValue
Generated method - Setter ofProductFeature.valuedynamic attribute defined at extensioncatalog.- Parameters:
value- the value - the actual value of this feature
-
setValueDetails
Generated method - Setter ofProductFeature.valueDetailsattribute defined at extensioncatalog.- Parameters:
value- the valueDetails - value details text
-
setValuePosition
Generated method - Setter ofProductFeature.valuePositionattribute defined at extensioncatalog.- Parameters:
value- the valuePosition - position mark for multi value features
-