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:
java.io.Serializable
public class ProductFeatureModel extends ItemModel
Generated model class for type ProductFeature first defined at extension catalog.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_PRODUCT2FEATURERELATION
Generated relation code constant for relationProduct2FeatureRelation
defining source attributeproduct
in extensioncatalog
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
AUTHOR
Generated constant - Attribute key ofProductFeature.author
attribute defined at extensionsapmodel
.static java.lang.String
BOOLEANVALUE
Generated constant - Attribute key ofProductFeature.booleanValue
attribute defined at extensioncatalog
.static java.lang.String
CLASSIFICATIONATTRIBUTEASSIGNMENT
Generated constant - Attribute key ofProductFeature.classificationAttributeAssignment
attribute defined at extensioncatalog
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofProductFeature.description
attribute defined at extensioncatalog
.static java.lang.String
FEATUREPOSITION
Generated constant - Attribute key ofProductFeature.featurePosition
attribute defined at extensioncatalog
.static java.lang.String
LANGUAGE
Generated constant - Attribute key ofProductFeature.language
attribute defined at extensioncatalog
.static java.lang.String
NUMBERVALUE
Generated constant - Attribute key ofProductFeature.numberValue
attribute defined at extensioncatalog
.static java.lang.String
PRODUCT
Generated constant - Attribute key ofProductFeature.product
attribute defined at extensioncatalog
.static java.lang.String
PRODUCTPOS
Generated constant - Attribute key ofProductFeature.productPOS
attribute defined at extensioncatalog
.static java.lang.String
QUALIFIER
Generated constant - Attribute key ofProductFeature.qualifier
attribute defined at extensioncatalog
.static java.lang.String
RAWVALUE
Generated constant - Attribute key ofProductFeature.rawValue
attribute defined at extensioncatalog
.static java.lang.String
STRINGVALUE
Generated constant - Attribute key ofProductFeature.stringValue
attribute defined at extensioncatalog
.static java.lang.String
UNIT
Generated constant - Attribute key ofProductFeature.unit
attribute defined at extensioncatalog
.static java.lang.String
VALUE
Generated constant - Attribute key ofProductFeature.value
attribute defined at extensioncatalog
.static java.lang.String
VALUEDETAILS
Generated constant - Attribute key ofProductFeature.valueDetails
attribute defined at extensioncatalog
.static java.lang.String
VALUEPOSITION
Generated constant - Attribute key ofProductFeature.valuePosition
attribute defined at extensioncatalog
.static java.lang.String
VALUETYPE
Generated constant - Attribute key ofProductFeature.valueType
attribute defined at extensioncatalog
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description ProductFeatureModel()
Generated constructor - Default constructor for generic creation.ProductFeatureModel(ClassAttributeAssignmentModel _classificationAttributeAssignment, LanguageModel _language, ItemModel _owner, ProductModel _product, java.lang.String _qualifier, java.lang.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, java.lang.String _qualifier, java.lang.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(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthor()
Generated method - Getter of theProductFeature.author
attribute defined at extensionsapmodel
.ClassAttributeAssignmentModel
getClassificationAttributeAssignment()
Generated method - Getter of theProductFeature.classificationAttributeAssignment
attribute defined at extensioncatalog
.java.lang.String
getDescription()
Generated method - Getter of theProductFeature.description
attribute defined at extensioncatalog
.java.lang.Integer
getFeaturePosition()
Generated method - Getter of theProductFeature.featurePosition
attribute defined at extensioncatalog
.LanguageModel
getLanguage()
Generated method - Getter of theProductFeature.language
attribute defined at extensioncatalog
.ProductModel
getProduct()
Generated method - Getter of theProductFeature.product
attribute defined at extensioncatalog
.java.lang.String
getQualifier()
Generated method - Getter of theProductFeature.qualifier
attribute defined at extensioncatalog
.ClassificationAttributeUnitModel
getUnit()
Generated method - Getter of theProductFeature.unit
attribute defined at extensioncatalog
.java.lang.Object
getValue()
Generated method - Getter of theProductFeature.value
dynamic attribute defined at extensioncatalog
.java.lang.String
getValueDetails()
Generated method - Getter of theProductFeature.valueDetails
attribute defined at extensioncatalog
.java.lang.Integer
getValuePosition()
Generated method - Getter of theProductFeature.valuePosition
attribute defined at extensioncatalog
.void
setAuthor(java.lang.String value)
Generated method - Setter ofProductFeature.author
attribute defined at extensionsapmodel
.void
setClassificationAttributeAssignment(ClassAttributeAssignmentModel value)
Generated method - Initial setter ofProductFeature.classificationAttributeAssignment
attribute defined at extensioncatalog
.void
setDescription(java.lang.String value)
Generated method - Setter ofProductFeature.description
attribute defined at extensioncatalog
.void
setFeaturePosition(java.lang.Integer value)
Generated method - Setter ofProductFeature.featurePosition
attribute defined at extensioncatalog
.void
setLanguage(LanguageModel value)
Generated method - Initial setter ofProductFeature.language
attribute defined at extensioncatalog
.void
setProduct(ProductModel value)
Generated method - Initial setter ofProductFeature.product
attribute defined at extensioncatalog
.void
setQualifier(java.lang.String value)
Generated method - Initial setter ofProductFeature.qualifier
attribute defined at extensioncatalog
.void
setUnit(ClassificationAttributeUnitModel value)
Generated method - Setter ofProductFeature.unit
attribute defined at extensioncatalog
.void
setValue(java.lang.Object value)
Generated method - Setter ofProductFeature.value
dynamic attribute defined at extensioncatalog
.void
setValueDetails(java.lang.String value)
Generated method - Setter ofProductFeature.valueDetails
attribute defined at extensioncatalog
.void
setValuePosition(java.lang.Integer value)
Generated method - Setter ofProductFeature.valuePosition
attribute defined at extensioncatalog
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_PRODUCT2FEATURERELATION
public static final java.lang.String _PRODUCT2FEATURERELATION
Generated relation code constant for relationProduct2FeatureRelation
defining source attributeproduct
in extensioncatalog
.- See Also:
- Constant Field Values
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofProductFeature.qualifier
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
CLASSIFICATIONATTRIBUTEASSIGNMENT
public static final java.lang.String CLASSIFICATIONATTRIBUTEASSIGNMENT
Generated constant - Attribute key ofProductFeature.classificationAttributeAssignment
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
LANGUAGE
public static final java.lang.String LANGUAGE
Generated constant - Attribute key ofProductFeature.language
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
VALUEPOSITION
public static final java.lang.String VALUEPOSITION
Generated constant - Attribute key ofProductFeature.valuePosition
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
FEATUREPOSITION
public static final java.lang.String FEATUREPOSITION
Generated constant - Attribute key ofProductFeature.featurePosition
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
VALUETYPE
public static final java.lang.String VALUETYPE
Generated constant - Attribute key ofProductFeature.valueType
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
STRINGVALUE
public static final java.lang.String STRINGVALUE
Generated constant - Attribute key ofProductFeature.stringValue
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
BOOLEANVALUE
public static final java.lang.String BOOLEANVALUE
Generated constant - Attribute key ofProductFeature.booleanValue
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
NUMBERVALUE
public static final java.lang.String NUMBERVALUE
Generated constant - Attribute key ofProductFeature.numberValue
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
RAWVALUE
public static final java.lang.String RAWVALUE
Generated constant - Attribute key ofProductFeature.rawValue
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
Generated constant - Attribute key ofProductFeature.value
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
Generated constant - Attribute key ofProductFeature.unit
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
VALUEDETAILS
public static final java.lang.String VALUEDETAILS
Generated constant - Attribute key ofProductFeature.valueDetails
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofProductFeature.description
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
PRODUCTPOS
public static final java.lang.String PRODUCTPOS
Generated constant - Attribute key ofProductFeature.productPOS
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
PRODUCT
public static final java.lang.String PRODUCT
Generated constant - Attribute key ofProductFeature.product
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
AUTHOR
public static final java.lang.String AUTHOR
Generated constant - Attribute key ofProductFeature.author
attribute defined at extensionsapmodel
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProductFeatureModel
public ProductFeatureModel()
Generated constructor - Default constructor for generic creation.
-
ProductFeatureModel
public ProductFeatureModel(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, java.lang.String _qualifier, java.lang.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 typeProductFeature
at extensioncatalog
_qualifier
- initial attribute declared by typeProductFeature
at extensioncatalog
_value
- initial attribute declared by typeProductFeature
at extensioncatalog
-
ProductFeatureModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductFeatureModel(ClassAttributeAssignmentModel _classificationAttributeAssignment, LanguageModel _language, ItemModel _owner, ProductModel _product, java.lang.String _qualifier, java.lang.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 typeProductFeature
at extensioncatalog
_language
- initial attribute declared by typeProductFeature
at extensioncatalog
_owner
- initial attribute declared by typeItem
at extensioncore
_product
- initial attribute declared by typeProductFeature
at extensioncatalog
_qualifier
- initial attribute declared by typeProductFeature
at extensioncatalog
_value
- initial attribute declared by typeProductFeature
at extensioncatalog
-
-
Method Detail
-
getAuthor
@Accessor(qualifier="author", type=GETTER) public java.lang.String getAuthor()
Generated method - Getter of theProductFeature.author
attribute defined at extensionsapmodel
.- Returns:
- the author - author of attribute value
-
getClassificationAttributeAssignment
@Accessor(qualifier="classificationAttributeAssignment", type=GETTER) public ClassAttributeAssignmentModel getClassificationAttributeAssignment()
Generated method - Getter of theProductFeature.classificationAttributeAssignment
attribute defined at extensioncatalog
.- Returns:
- the classificationAttributeAssignment - Classification attribute assignment which this value belongs to
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theProductFeature.description
attribute defined at extensioncatalog
.- Returns:
- the description - description text
-
getFeaturePosition
@Accessor(qualifier="featurePosition", type=GETTER) public java.lang.Integer getFeaturePosition()
Generated method - Getter of theProductFeature.featurePosition
attribute defined at extensioncatalog
.- Returns:
- the featurePosition - position of the feature which this value belongs to
-
getLanguage
@Accessor(qualifier="language", type=GETTER) public LanguageModel getLanguage()
Generated method - Getter of theProductFeature.language
attribute defined at extensioncatalog
.- Returns:
- the language
-
getProduct
@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
Generated method - Getter of theProductFeature.product
attribute defined at extensioncatalog
.- Returns:
- the product
-
getQualifier
@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
Generated method - Getter of theProductFeature.qualifier
attribute defined at extensioncatalog
.- Returns:
- the qualifier - Qualifier
-
getUnit
@Accessor(qualifier="unit", type=GETTER) public ClassificationAttributeUnitModel getUnit()
Generated method - Getter of theProductFeature.unit
attribute defined at extensioncatalog
.- Returns:
- the unit - Classification attribute unit
-
getValue
@Accessor(qualifier="value", type=GETTER) public java.lang.Object getValue()
Generated method - Getter of theProductFeature.value
dynamic attribute defined at extensioncatalog
.- Returns:
- the value - the actual value of this feature
-
getValueDetails
@Accessor(qualifier="valueDetails", type=GETTER) public java.lang.String getValueDetails()
Generated method - Getter of theProductFeature.valueDetails
attribute defined at extensioncatalog
.- Returns:
- the valueDetails - value details text
-
getValuePosition
@Accessor(qualifier="valuePosition", type=GETTER) public java.lang.Integer getValuePosition()
Generated method - Getter of theProductFeature.valuePosition
attribute defined at extensioncatalog
.- Returns:
- the valuePosition - position mark for multi value features
-
setAuthor
@Accessor(qualifier="author", type=SETTER) public void setAuthor(java.lang.String value)
Generated method - Setter ofProductFeature.author
attribute defined at extensionsapmodel
.- Parameters:
value
- the author - author of attribute value
-
setClassificationAttributeAssignment
@Accessor(qualifier="classificationAttributeAssignment", type=SETTER) public void setClassificationAttributeAssignment(ClassAttributeAssignmentModel value)
Generated method - Initial setter ofProductFeature.classificationAttributeAssignment
attribute 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
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofProductFeature.description
attribute defined at extensioncatalog
.- Parameters:
value
- the description - description text
-
setFeaturePosition
@Accessor(qualifier="featurePosition", type=SETTER) public void setFeaturePosition(java.lang.Integer value)
Generated method - Setter ofProductFeature.featurePosition
attribute defined at extensioncatalog
.- Parameters:
value
- the featurePosition - position of the feature which this value belongs to
-
setLanguage
@Accessor(qualifier="language", type=SETTER) public void setLanguage(LanguageModel value)
Generated method - Initial setter ofProductFeature.language
attribute defined at extensioncatalog
. Can only be used at creation of model - before first save.- Parameters:
value
- the language
-
setProduct
@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
Generated method - Initial setter ofProductFeature.product
attribute defined at extensioncatalog
. Can only be used at creation of model - before first save.- Parameters:
value
- the product
-
setQualifier
@Accessor(qualifier="qualifier", type=SETTER) public void setQualifier(java.lang.String value)
Generated method - Initial setter ofProductFeature.qualifier
attribute 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.unit
attribute defined at extensioncatalog
.- Parameters:
value
- the unit - Classification attribute unit
-
setValue
@Accessor(qualifier="value", type=SETTER) public void setValue(java.lang.Object value)
Generated method - Setter ofProductFeature.value
dynamic attribute defined at extensioncatalog
.- Parameters:
value
- the value - the actual value of this feature
-
setValueDetails
@Accessor(qualifier="valueDetails", type=SETTER) public void setValueDetails(java.lang.String value)
Generated method - Setter ofProductFeature.valueDetails
attribute defined at extensioncatalog
.- Parameters:
value
- the valueDetails - value details text
-
-