Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _PRODUCT2FEATURERELATION
      Generated relation code constant for relation Product2FeatureRelation defining source attribute product in extension catalog.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String AUTHOR
      Generated constant - Attribute key of ProductFeature.author attribute defined at extension sapmodel.
      static java.lang.String BOOLEANVALUE
      Generated constant - Attribute key of ProductFeature.booleanValue attribute defined at extension catalog.
      static java.lang.String CLASSIFICATIONATTRIBUTEASSIGNMENT
      Generated constant - Attribute key of ProductFeature.classificationAttributeAssignment attribute defined at extension catalog.
      static java.lang.String DESCRIPTION
      Generated constant - Attribute key of ProductFeature.description attribute defined at extension catalog.
      static java.lang.String FEATUREPOSITION
      Generated constant - Attribute key of ProductFeature.featurePosition attribute defined at extension catalog.
      static java.lang.String LANGUAGE
      Generated constant - Attribute key of ProductFeature.language attribute defined at extension catalog.
      static java.lang.String NUMBERVALUE
      Generated constant - Attribute key of ProductFeature.numberValue attribute defined at extension catalog.
      static java.lang.String PRODUCT
      Generated constant - Attribute key of ProductFeature.product attribute defined at extension catalog.
      static java.lang.String PRODUCTPOS
      Generated constant - Attribute key of ProductFeature.productPOS attribute defined at extension catalog.
      static java.lang.String QUALIFIER
      Generated constant - Attribute key of ProductFeature.qualifier attribute defined at extension catalog.
      static java.lang.String RAWVALUE
      Generated constant - Attribute key of ProductFeature.rawValue attribute defined at extension catalog.
      static java.lang.String STRINGVALUE
      Generated constant - Attribute key of ProductFeature.stringValue attribute defined at extension catalog.
      static java.lang.String UNIT
      Generated constant - Attribute key of ProductFeature.unit attribute defined at extension catalog.
      static java.lang.String VALUE
      Generated constant - Attribute key of ProductFeature.value attribute defined at extension catalog.
      static java.lang.String VALUEDETAILS
      Generated constant - Attribute key of ProductFeature.valueDetails attribute defined at extension catalog.
      static java.lang.String VALUEPOSITION
      Generated constant - Attribute key of ProductFeature.valuePosition attribute defined at extension catalog.
      static java.lang.String VALUETYPE
      Generated constant - Attribute key of ProductFeature.valueType attribute defined at extension catalog.
    • 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 parameters
      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 parameters
      ProductFeatureModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • 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 relation Product2FeatureRelation defining source attribute product in extension catalog.
        See Also:
        Constant Field Values
      • QUALIFIER

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final java.lang.String PRODUCT
        Generated constant - Attribute key of ProductFeature.product attribute defined at extension catalog.
        See Also:
        Constant Field Values
      • AUTHOR

        public static final java.lang.String AUTHOR
        Generated constant - Attribute key of ProductFeature.author attribute defined at extension sapmodel.
        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 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,
                                   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 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 Detail

      • getAuthor

        @Accessor(qualifier="author",
                  type=GETTER)
        public java.lang.String getAuthor()
        Generated method - Getter of the ProductFeature.author attribute defined at extension sapmodel.
        Returns:
        the author - author of attribute value
      • 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 java.lang.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 java.lang.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 java.lang.String getQualifier()
        Generated method - Getter of the ProductFeature.qualifier attribute defined at extension catalog.
        Returns:
        the qualifier - Qualifier
      • getValue

        @Accessor(qualifier="value",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.lang.Integer getValuePosition()
        Generated method - Getter of the ProductFeature.valuePosition attribute defined at extension catalog.
        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 of ProductFeature.author attribute defined at extension sapmodel.
        Parameters:
        value - the author - author of attribute value
      • 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​(java.lang.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​(java.lang.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​(java.lang.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
      • setValue

        @Accessor(qualifier="value",
                  type=SETTER)
        public void setValue​(java.lang.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​(java.lang.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​(java.lang.Integer value)
        Generated method - Setter of ProductFeature.valuePosition attribute defined at extension catalog.
        Parameters:
        value - the valuePosition - position mark for multi value features