Class ArticleComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ArticleComponentModel
    extends ItemModel
    Generated model class for type ArticleComponent first defined at extension saparticlemodel.
    See Also:
    Serialized Form
    • 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 java.lang.String _ARTICLECOMPONENTS
      Generated relation code constant for relation ArticleComponents defining source attribute structuredArticle in extension saparticlemodel.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String COMPONENT
      Generated constant - Attribute key of ArticleComponent.component attribute defined at extension saparticlemodel.
      static java.lang.String QUANTITY
      Generated constant - Attribute key of ArticleComponent.quantity attribute defined at extension saparticlemodel.
      static java.lang.String STRUCTUREDARTICLE
      Generated constant - Attribute key of ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
      static java.lang.String STRUCTUREDARTICLEPOS
      Generated constant - Attribute key of ArticleComponent.structuredArticlePOS attribute defined at extension saparticlemodel.
      static java.lang.String UNIT
      Generated constant - Attribute key of ArticleComponent.unit attribute defined at extension saparticlemodel.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      ArticleComponentModel()
      Generated constructor - Default constructor for generic creation.
      ArticleComponentModel​(ProductModel _component, ItemModel _owner, ProductModel _structuredArticle)
      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
      ArticleComponentModel​(ProductModel _component, ProductModel _structuredArticle)
      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
      ArticleComponentModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ProductModel getComponent()
      Generated method - Getter of the ArticleComponent.component attribute defined at extension saparticlemodel.
      java.lang.Integer getQuantity()
      Generated method - Getter of the ArticleComponent.quantity attribute defined at extension saparticlemodel.
      ProductModel getStructuredArticle()
      Generated method - Getter of the ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
      UnitModel getUnit()
      Generated method - Getter of the ArticleComponent.unit attribute defined at extension saparticlemodel.
      void setComponent​(ProductModel value)
      Generated method - Setter of ArticleComponent.component attribute defined at extension saparticlemodel.
      void setQuantity​(java.lang.Integer value)
      Generated method - Setter of ArticleComponent.quantity attribute defined at extension saparticlemodel.
      void setStructuredArticle​(ProductModel value)
      Generated method - Initial setter of ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
      void setUnit​(UnitModel value)
      Generated method - Setter of ArticleComponent.unit attribute defined at extension saparticlemodel.
      • 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 Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _ARTICLECOMPONENTS

        public static final java.lang.String _ARTICLECOMPONENTS
        Generated relation code constant for relation ArticleComponents defining source attribute structuredArticle in extension saparticlemodel.
        See Also:
        Constant Field Values
      • COMPONENT

        public static final java.lang.String COMPONENT
        Generated constant - Attribute key of ArticleComponent.component attribute defined at extension saparticlemodel.
        See Also:
        Constant Field Values
      • QUANTITY

        public static final java.lang.String QUANTITY
        Generated constant - Attribute key of ArticleComponent.quantity attribute defined at extension saparticlemodel.
        See Also:
        Constant Field Values
      • UNIT

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

        public static final java.lang.String STRUCTUREDARTICLEPOS
        Generated constant - Attribute key of ArticleComponent.structuredArticlePOS attribute defined at extension saparticlemodel.
        See Also:
        Constant Field Values
      • STRUCTUREDARTICLE

        public static final java.lang.String STRUCTUREDARTICLE
        Generated constant - Attribute key of ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ArticleComponentModel

        public ArticleComponentModel()
        Generated constructor - Default constructor for generic creation.
      • ArticleComponentModel

        public ArticleComponentModel​(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
      • ArticleComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ArticleComponentModel​(ProductModel _component,
                                     ProductModel _structuredArticle)
        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:
        _component - initial attribute declared by type ArticleComponent at extension saparticlemodel
        _structuredArticle - initial attribute declared by type ArticleComponent at extension saparticlemodel
      • ArticleComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ArticleComponentModel​(ProductModel _component,
                                     ItemModel _owner,
                                     ProductModel _structuredArticle)
        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:
        _component - initial attribute declared by type ArticleComponent at extension saparticlemodel
        _owner - initial attribute declared by type Item at extension core
        _structuredArticle - initial attribute declared by type ArticleComponent at extension saparticlemodel
    • Method Detail

      • getComponent

        @Accessor(qualifier="component",
                  type=GETTER)
        public ProductModel getComponent()
        Generated method - Getter of the ArticleComponent.component attribute defined at extension saparticlemodel.
        Returns:
        the component - Component Article
      • getQuantity

        @Accessor(qualifier="quantity",
                  type=GETTER)
        public java.lang.Integer getQuantity()
        Generated method - Getter of the ArticleComponent.quantity attribute defined at extension saparticlemodel.
        Returns:
        the quantity - Quantity
      • getStructuredArticle

        @Accessor(qualifier="structuredArticle",
                  type=GETTER)
        public ProductModel getStructuredArticle()
        Generated method - Getter of the ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
        Returns:
        the structuredArticle
      • getUnit

        @Accessor(qualifier="unit",
                  type=GETTER)
        public UnitModel getUnit()
        Generated method - Getter of the ArticleComponent.unit attribute defined at extension saparticlemodel.
        Returns:
        the unit - Unit of measure
      • setComponent

        @Accessor(qualifier="component",
                  type=SETTER)
        public void setComponent​(ProductModel value)
        Generated method - Setter of ArticleComponent.component attribute defined at extension saparticlemodel.
        Parameters:
        value - the component - Component Article
      • setQuantity

        @Accessor(qualifier="quantity",
                  type=SETTER)
        public void setQuantity​(java.lang.Integer value)
        Generated method - Setter of ArticleComponent.quantity attribute defined at extension saparticlemodel.
        Parameters:
        value - the quantity - Quantity
      • setStructuredArticle

        @Accessor(qualifier="structuredArticle",
                  type=SETTER)
        public void setStructuredArticle​(ProductModel value)
        Generated method - Initial setter of ArticleComponent.structuredArticle attribute defined at extension saparticlemodel. Can only be used at creation of model - before first save.
        Parameters:
        value - the structuredArticle
      • setUnit

        @Accessor(qualifier="unit",
                  type=SETTER)
        public void setUnit​(UnitModel value)
        Generated method - Setter of ArticleComponent.unit attribute defined at extension saparticlemodel.
        Parameters:
        value - the unit - Unit of measure