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

public class ProductFeatureModel extends ItemModel
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation Product2FeatureRelation defining source attribute product in extension catalog.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of ProductFeature.booleanValue attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.classificationAttributeAssignment attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.description attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.featurePosition attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.language attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.numberValue attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.product attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.productPOS attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.qualifier attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.rawValue attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.stringValue attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.unit attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.value attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.valueDetails attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.valuePosition attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of ProductFeature.valueType attribute defined at extension catalog.

    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
    Generated 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 parameters
    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 parameters
    ProductFeatureModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the ProductFeature.classificationAttributeAssignment attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.description attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.featurePosition attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.language attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.product attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.qualifier attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.unit attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.value dynamic attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.valueDetails attribute defined at extension catalog.
    Generated method - Getter of the ProductFeature.valuePosition attribute defined at extension catalog.
    void
    Generated method - Initial setter of ProductFeature.classificationAttributeAssignment attribute defined at extension catalog.
    void
    Generated method - Setter of ProductFeature.description attribute defined at extension catalog.
    void
    Generated method - Setter of ProductFeature.featurePosition attribute defined at extension catalog.
    void
    Generated method - Initial setter of ProductFeature.language attribute defined at extension catalog.
    void
    Generated method - Initial setter of ProductFeature.product attribute defined at extension catalog.
    void
    Generated method - Initial setter of ProductFeature.qualifier attribute defined at extension catalog.
    void
    Generated method - Setter of ProductFeature.unit attribute defined at extension catalog.
    void
    Generated method - Setter of ProductFeature.value dynamic attribute defined at extension catalog.
    void
    Generated method - Setter of ProductFeature.valueDetails attribute defined at extension catalog.
    void
    Generated method - Setter of ProductFeature.valuePosition attribute defined at extension catalog.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _PRODUCT2FEATURERELATION

      public static final String _PRODUCT2FEATURERELATION
      Generated relation code constant for relation Product2FeatureRelation defining source attribute product in extension catalog.
      See Also:
    • QUALIFIER

      public static final String QUALIFIER
      Generated constant - Attribute key of ProductFeature.qualifier attribute defined at extension catalog.
      See Also:
    • CLASSIFICATIONATTRIBUTEASSIGNMENT

      public static final String CLASSIFICATIONATTRIBUTEASSIGNMENT
      Generated constant - Attribute key of ProductFeature.classificationAttributeAssignment attribute defined at extension catalog.
      See Also:
    • LANGUAGE

      public static final String LANGUAGE
      Generated constant - Attribute key of ProductFeature.language attribute defined at extension catalog.
      See Also:
    • VALUEPOSITION

      public static final String VALUEPOSITION
      Generated constant - Attribute key of ProductFeature.valuePosition attribute defined at extension catalog.
      See Also:
    • FEATUREPOSITION

      public static final String FEATUREPOSITION
      Generated constant - Attribute key of ProductFeature.featurePosition attribute defined at extension catalog.
      See Also:
    • VALUETYPE

      public static final String VALUETYPE
      Generated constant - Attribute key of ProductFeature.valueType attribute defined at extension catalog.
      See Also:
    • STRINGVALUE

      public static final String STRINGVALUE
      Generated constant - Attribute key of ProductFeature.stringValue attribute defined at extension catalog.
      See Also:
    • BOOLEANVALUE

      public static final String BOOLEANVALUE
      Generated constant - Attribute key of ProductFeature.booleanValue attribute defined at extension catalog.
      See Also:
    • NUMBERVALUE

      public static final String NUMBERVALUE
      Generated constant - Attribute key of ProductFeature.numberValue attribute defined at extension catalog.
      See Also:
    • RAWVALUE

      public static final String RAWVALUE
      Generated constant - Attribute key of ProductFeature.rawValue attribute defined at extension catalog.
      See Also:
    • VALUE

      public static final String VALUE
      Generated constant - Attribute key of ProductFeature.value attribute defined at extension catalog.
      See Also:
    • UNIT

      public static final String UNIT
      Generated constant - Attribute key of ProductFeature.unit attribute defined at extension catalog.
      See Also:
    • VALUEDETAILS

      public static final String VALUEDETAILS
      Generated constant - Attribute key of ProductFeature.valueDetails attribute defined at extension catalog.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of ProductFeature.description attribute defined at extension catalog.
      See Also:
    • PRODUCTPOS

      public static final String PRODUCTPOS
      Generated constant - Attribute key of ProductFeature.productPOS attribute defined at extension catalog.
      See Also:
    • PRODUCT

      public static final String PRODUCT
      Generated constant - Attribute key of ProductFeature.product attribute defined at extension catalog.
      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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _product - initial attribute declared by type ProductFeature at extension catalog
      _qualifier - initial attribute declared by type ProductFeature at extension catalog
      _value - initial attribute declared by type ProductFeature at extension catalog
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _classificationAttributeAssignment - initial attribute declared by type ProductFeature at extension catalog
      _language - initial attribute declared by type ProductFeature at extension catalog
      _owner - initial attribute declared by type Item at extension core
      _product - initial attribute declared by type ProductFeature at extension catalog
      _qualifier - initial attribute declared by type ProductFeature at extension catalog
      _value - initial attribute declared by type ProductFeature at extension catalog
  • Method Details

    • getClassificationAttributeAssignment

      @Accessor(qualifier="classificationAttributeAssignment", type=GETTER) public ClassAttributeAssignmentModel getClassificationAttributeAssignment()
      Generated method - Getter of the ProductFeature.classificationAttributeAssignment attribute defined at extension catalog.
      Returns:
      the classificationAttributeAssignment - Classification attribute assignment which this value belongs to
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the ProductFeature.description attribute defined at extension catalog.
      Returns:
      the description - description text
    • getFeaturePosition

      @Accessor(qualifier="featurePosition", type=GETTER) public Integer getFeaturePosition()
      Generated method - Getter of the ProductFeature.featurePosition attribute defined at extension catalog.
      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 the ProductFeature.language attribute defined at extension catalog.
      Returns:
      the language
    • getProduct

      @Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
      Generated method - Getter of the ProductFeature.product attribute defined at extension catalog.
      Returns:
      the product
    • getQualifier

      @Accessor(qualifier="qualifier", type=GETTER) public String getQualifier()
      Generated method - Getter of the ProductFeature.qualifier attribute defined at extension catalog.
      Returns:
      the qualifier - Qualifier
    • getUnit

      @Accessor(qualifier="unit", type=GETTER) public ClassificationAttributeUnitModel getUnit()
      Generated method - Getter of the ProductFeature.unit attribute defined at extension catalog.
      Returns:
      the unit - Classification attribute unit
    • getValue

      @Accessor(qualifier="value", type=GETTER) public Object getValue()
      Generated method - Getter of the ProductFeature.value dynamic attribute defined at extension catalog.
      Returns:
      the value - the actual value of this feature
    • getValueDetails

      @Accessor(qualifier="valueDetails", type=GETTER) public String getValueDetails()
      Generated method - Getter of the ProductFeature.valueDetails attribute defined at extension catalog.
      Returns:
      the valueDetails - value details text
    • getValuePosition

      @Accessor(qualifier="valuePosition", type=GETTER) public Integer getValuePosition()
      Generated method - Getter of the ProductFeature.valuePosition attribute defined at extension catalog.
      Returns:
      the valuePosition - position mark for multi value features
    • setClassificationAttributeAssignment

      @Accessor(qualifier="classificationAttributeAssignment", type=SETTER) public void setClassificationAttributeAssignment(ClassAttributeAssignmentModel value)
      Generated method - Initial setter of ProductFeature.classificationAttributeAssignment attribute defined at extension catalog. 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(String value)
      Generated method - Setter of ProductFeature.description attribute defined at extension catalog.
      Parameters:
      value - the description - description text
    • setFeaturePosition

      @Accessor(qualifier="featurePosition", type=SETTER) public void setFeaturePosition(Integer value)
      Generated method - Setter of ProductFeature.featurePosition attribute defined at extension catalog.
      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 of ProductFeature.language attribute defined at extension catalog. 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 of ProductFeature.product attribute defined at extension catalog. Can only be used at creation of model - before first save.
      Parameters:
      value - the product
    • setQualifier

      @Accessor(qualifier="qualifier", type=SETTER) public void setQualifier(String value)
      Generated method - Initial setter of ProductFeature.qualifier attribute defined at extension catalog. 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 of ProductFeature.unit attribute defined at extension catalog.
      Parameters:
      value - the unit - Classification attribute unit
    • setValue

      @Accessor(qualifier="value", type=SETTER) public void setValue(Object value)
      Generated method - Setter of ProductFeature.value dynamic attribute defined at extension catalog.
      Parameters:
      value - the value - the actual value of this feature
    • setValueDetails

      @Accessor(qualifier="valueDetails", type=SETTER) public void setValueDetails(String value)
      Generated method - Setter of ProductFeature.valueDetails attribute defined at extension catalog.
      Parameters:
      value - the valueDetails - value details text
    • setValuePosition

      @Accessor(qualifier="valuePosition", type=SETTER) public void setValuePosition(Integer value)
      Generated method - Setter of ProductFeature.valuePosition attribute defined at extension catalog.
      Parameters:
      value - the valuePosition - position mark for multi value features