Class ArticleComponentModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
com.sap.retail.commercesuite.saparticlemodel.model.ArticleComponentModel
All Implemented Interfaces:
Serializable

public class ArticleComponentModel extends ItemModel
Generated model class for type ArticleComponent first defined at extension saparticlemodel.
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 ArticleComponents defining source attribute structuredArticle in extension saparticlemodel.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of ArticleComponent.component attribute defined at extension saparticlemodel.
    static final String
    Generated constant - Attribute key of ArticleComponent.quantity attribute defined at extension saparticlemodel.
    static final String
    Generated constant - Attribute key of ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
    static final String
    Generated constant - Attribute key of ArticleComponent.structuredArticlePOS attribute defined at extension saparticlemodel.
    static final String
    Generated constant - Attribute key of ArticleComponent.unit attribute defined at extension saparticlemodel.

    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.
    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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the ArticleComponent.component attribute defined at extension saparticlemodel.
    Generated method - Getter of the ArticleComponent.quantity attribute defined at extension saparticlemodel.
    Generated method - Getter of the ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
    Generated method - Getter of the ArticleComponent.unit attribute defined at extension saparticlemodel.
    void
    Generated method - Setter of ArticleComponent.component attribute defined at extension saparticlemodel.
    void
    Generated method - Setter of ArticleComponent.quantity attribute defined at extension saparticlemodel.
    void
    Generated method - Initial setter of ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
    void
    Generated method - Setter of ArticleComponent.unit attribute defined at extension saparticlemodel.

    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:
    • _ARTICLECOMPONENTS

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

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

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

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

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

      public static final String STRUCTUREDARTICLE
      Generated constant - Attribute key of ArticleComponent.structuredArticle attribute defined at extension saparticlemodel.
      See Also:
  • Constructor Details

    • 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 Details

    • 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 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(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