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_PRODUCT2FEATURERELATIONGenerated relation code constant for relationProduct2FeatureRelationdefining source attributeproductin extensioncatalog.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringAUTHORGenerated constant - Attribute key ofProductFeature.authorattribute defined at extensionsapmodel.static java.lang.StringBOOLEANVALUEGenerated constant - Attribute key ofProductFeature.booleanValueattribute defined at extensioncatalog.static java.lang.StringCLASSIFICATIONATTRIBUTEASSIGNMENTGenerated constant - Attribute key ofProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofProductFeature.descriptionattribute defined at extensioncatalog.static java.lang.StringFEATUREPOSITIONGenerated constant - Attribute key ofProductFeature.featurePositionattribute defined at extensioncatalog.static java.lang.StringLANGUAGEGenerated constant - Attribute key ofProductFeature.languageattribute defined at extensioncatalog.static java.lang.StringNUMBERVALUEGenerated constant - Attribute key ofProductFeature.numberValueattribute defined at extensioncatalog.static java.lang.StringPRODUCTGenerated constant - Attribute key ofProductFeature.productattribute defined at extensioncatalog.static java.lang.StringPRODUCTPOSGenerated constant - Attribute key ofProductFeature.productPOSattribute defined at extensioncatalog.static java.lang.StringQUALIFIERGenerated constant - Attribute key ofProductFeature.qualifierattribute defined at extensioncatalog.static java.lang.StringRAWVALUEGenerated constant - Attribute key ofProductFeature.rawValueattribute defined at extensioncatalog.static java.lang.StringSTRINGVALUEGenerated constant - Attribute key ofProductFeature.stringValueattribute defined at extensioncatalog.static java.lang.StringUNITGenerated constant - Attribute key ofProductFeature.unitattribute defined at extensioncatalog.static java.lang.StringVALUEGenerated constant - Attribute key ofProductFeature.valueattribute defined at extensioncatalog.static java.lang.StringVALUEDETAILSGenerated constant - Attribute key ofProductFeature.valueDetailsattribute defined at extensioncatalog.static java.lang.StringVALUEPOSITIONGenerated constant - Attribute key ofProductFeature.valuePositionattribute defined at extensioncatalog.static java.lang.StringVALUETYPEGenerated 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, 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.StringgetAuthor()Generated method - Getter of theProductFeature.authorattribute defined at extensionsapmodel.ClassAttributeAssignmentModelgetClassificationAttributeAssignment()Generated method - Getter of theProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.java.lang.StringgetDescription()Generated method - Getter of theProductFeature.descriptionattribute defined at extensioncatalog.java.lang.IntegergetFeaturePosition()Generated method - Getter of theProductFeature.featurePositionattribute defined at extensioncatalog.LanguageModelgetLanguage()Generated method - Getter of theProductFeature.languageattribute defined at extensioncatalog.ProductModelgetProduct()Generated method - Getter of theProductFeature.productattribute defined at extensioncatalog.java.lang.StringgetQualifier()Generated method - Getter of theProductFeature.qualifierattribute defined at extensioncatalog.ClassificationAttributeUnitModelgetUnit()Generated method - Getter of theProductFeature.unitattribute defined at extensioncatalog.java.lang.ObjectgetValue()Generated method - Getter of theProductFeature.valuedynamic attribute defined at extensioncatalog.java.lang.StringgetValueDetails()Generated method - Getter of theProductFeature.valueDetailsattribute defined at extensioncatalog.java.lang.IntegergetValuePosition()Generated method - Getter of theProductFeature.valuePositionattribute defined at extensioncatalog.voidsetAuthor(java.lang.String value)Generated method - Setter ofProductFeature.authorattribute defined at extensionsapmodel.voidsetClassificationAttributeAssignment(ClassAttributeAssignmentModel value)Generated method - Initial setter ofProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.voidsetDescription(java.lang.String value)Generated method - Setter ofProductFeature.descriptionattribute defined at extensioncatalog.voidsetFeaturePosition(java.lang.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(java.lang.String value)Generated method - Initial setter ofProductFeature.qualifierattribute defined at extensioncatalog.voidsetUnit(ClassificationAttributeUnitModel value)Generated method - Setter ofProductFeature.unitattribute defined at extensioncatalog.voidsetValue(java.lang.Object value)Generated method - Setter ofProductFeature.valuedynamic attribute defined at extensioncatalog.voidsetValueDetails(java.lang.String value)Generated method - Setter ofProductFeature.valueDetailsattribute defined at extensioncatalog.voidsetValuePosition(java.lang.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, 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 relationProduct2FeatureRelationdefining source attributeproductin extensioncatalog.- See Also:
- Constant Field Values
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofProductFeature.qualifierattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
CLASSIFICATIONATTRIBUTEASSIGNMENT
public static final java.lang.String CLASSIFICATIONATTRIBUTEASSIGNMENT
Generated constant - Attribute key ofProductFeature.classificationAttributeAssignmentattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
LANGUAGE
public static final java.lang.String LANGUAGE
Generated constant - Attribute key ofProductFeature.languageattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
VALUEPOSITION
public static final java.lang.String VALUEPOSITION
Generated constant - Attribute key ofProductFeature.valuePositionattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
FEATUREPOSITION
public static final java.lang.String FEATUREPOSITION
Generated constant - Attribute key ofProductFeature.featurePositionattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
VALUETYPE
public static final java.lang.String VALUETYPE
Generated constant - Attribute key ofProductFeature.valueTypeattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
STRINGVALUE
public static final java.lang.String STRINGVALUE
Generated constant - Attribute key ofProductFeature.stringValueattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
BOOLEANVALUE
public static final java.lang.String BOOLEANVALUE
Generated constant - Attribute key ofProductFeature.booleanValueattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
NUMBERVALUE
public static final java.lang.String NUMBERVALUE
Generated constant - Attribute key ofProductFeature.numberValueattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
RAWVALUE
public static final java.lang.String RAWVALUE
Generated constant - Attribute key ofProductFeature.rawValueattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
Generated constant - Attribute key ofProductFeature.valueattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
Generated constant - Attribute key ofProductFeature.unitattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
VALUEDETAILS
public static final java.lang.String VALUEDETAILS
Generated constant - Attribute key ofProductFeature.valueDetailsattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofProductFeature.descriptionattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
PRODUCTPOS
public static final java.lang.String PRODUCTPOS
Generated constant - Attribute key ofProductFeature.productPOSattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
PRODUCT
public static final java.lang.String PRODUCT
Generated constant - Attribute key ofProductFeature.productattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
AUTHOR
public static final java.lang.String AUTHOR
Generated constant - Attribute key ofProductFeature.authorattribute 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 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, 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 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 Detail
-
getAuthor
@Accessor(qualifier="author", type=GETTER) public java.lang.String getAuthor()
Generated method - Getter of theProductFeature.authorattribute defined at extensionsapmodel.- Returns:
- the author - author of attribute value
-
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
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theProductFeature.descriptionattribute defined at extensioncatalog.- Returns:
- the description - description text
-
getFeaturePosition
@Accessor(qualifier="featurePosition", type=GETTER) public java.lang.Integer getFeaturePosition()
Generated method - Getter of theProductFeature.featurePositionattribute 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.languageattribute defined at extensioncatalog.- Returns:
- the language
-
getProduct
@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
Generated method - Getter of theProductFeature.productattribute defined at extensioncatalog.- Returns:
- the product
-
getQualifier
@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
Generated method - Getter of theProductFeature.qualifierattribute defined at extensioncatalog.- Returns:
- the qualifier - Qualifier
-
getUnit
@Accessor(qualifier="unit", type=GETTER) public ClassificationAttributeUnitModel getUnit()
Generated method - Getter of theProductFeature.unitattribute 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.valuedynamic 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.valueDetailsattribute 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.valuePositionattribute 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.authorattribute 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.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
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofProductFeature.descriptionattribute 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.featurePositionattribute 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.languageattribute 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.productattribute 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.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
@Accessor(qualifier="value", type=SETTER) public void setValue(java.lang.Object value)
Generated method - Setter ofProductFeature.valuedynamic 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.valueDetailsattribute defined at extensioncatalog.- Parameters:
value- the valueDetails - value details text
-
-