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:
java.io.Serializable
public class ArticleComponentModel extends ItemModel
Generated model class for type ArticleComponent first defined at extension saparticlemodel.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_ARTICLECOMPONENTSGenerated relation code constant for relationArticleComponentsdefining source attributestructuredArticlein extensionsaparticlemodel.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCOMPONENTGenerated constant - Attribute key ofArticleComponent.componentattribute defined at extensionsaparticlemodel.static java.lang.StringQUANTITYGenerated constant - Attribute key ofArticleComponent.quantityattribute defined at extensionsaparticlemodel.static java.lang.StringSTRUCTUREDARTICLEGenerated constant - Attribute key ofArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.static java.lang.StringSTRUCTUREDARTICLEPOSGenerated constant - Attribute key ofArticleComponent.structuredArticlePOSattribute defined at extensionsaparticlemodel.static java.lang.StringUNITGenerated constant - Attribute key ofArticleComponent.unitattribute defined at extensionsaparticlemodel.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
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 parametersArticleComponentModel(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 parametersArticleComponentModel(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 ProductModelgetComponent()Generated method - Getter of theArticleComponent.componentattribute defined at extensionsaparticlemodel.java.lang.IntegergetQuantity()Generated method - Getter of theArticleComponent.quantityattribute defined at extensionsaparticlemodel.ProductModelgetStructuredArticle()Generated method - Getter of theArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.UnitModelgetUnit()Generated method - Getter of theArticleComponent.unitattribute defined at extensionsaparticlemodel.voidsetComponent(ProductModel value)Generated method - Setter ofArticleComponent.componentattribute defined at extensionsaparticlemodel.voidsetQuantity(java.lang.Integer value)Generated method - Setter ofArticleComponent.quantityattribute defined at extensionsaparticlemodel.voidsetStructuredArticle(ProductModel value)Generated method - Initial setter ofArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.voidsetUnit(UnitModel value)Generated method - Setter ofArticleComponent.unitattribute defined at extensionsaparticlemodel.-
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
-
_ARTICLECOMPONENTS
public static final java.lang.String _ARTICLECOMPONENTS
Generated relation code constant for relationArticleComponentsdefining source attributestructuredArticlein extensionsaparticlemodel.- See Also:
- Constant Field Values
-
COMPONENT
public static final java.lang.String COMPONENT
Generated constant - Attribute key ofArticleComponent.componentattribute defined at extensionsaparticlemodel.- See Also:
- Constant Field Values
-
QUANTITY
public static final java.lang.String QUANTITY
Generated constant - Attribute key ofArticleComponent.quantityattribute defined at extensionsaparticlemodel.- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
Generated constant - Attribute key ofArticleComponent.unitattribute defined at extensionsaparticlemodel.- See Also:
- Constant Field Values
-
STRUCTUREDARTICLEPOS
public static final java.lang.String STRUCTUREDARTICLEPOS
Generated constant - Attribute key ofArticleComponent.structuredArticlePOSattribute defined at extensionsaparticlemodel.- See Also:
- Constant Field Values
-
STRUCTUREDARTICLE
public static final java.lang.String STRUCTUREDARTICLE
Generated constant - Attribute key ofArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_component- initial attribute declared by typeArticleComponentat extensionsaparticlemodel_structuredArticle- initial attribute declared by typeArticleComponentat extensionsaparticlemodel
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_component- initial attribute declared by typeArticleComponentat extensionsaparticlemodel_owner- initial attribute declared by typeItemat extensioncore_structuredArticle- initial attribute declared by typeArticleComponentat extensionsaparticlemodel
-
-
Method Detail
-
getComponent
@Accessor(qualifier="component", type=GETTER) public ProductModel getComponent()Generated method - Getter of theArticleComponent.componentattribute defined at extensionsaparticlemodel.- Returns:
- the component - Component Article
-
getQuantity
@Accessor(qualifier="quantity", type=GETTER) public java.lang.Integer getQuantity()Generated method - Getter of theArticleComponent.quantityattribute defined at extensionsaparticlemodel.- Returns:
- the quantity - Quantity
-
getStructuredArticle
@Accessor(qualifier="structuredArticle", type=GETTER) public ProductModel getStructuredArticle()Generated method - Getter of theArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.- Returns:
- the structuredArticle
-
getUnit
@Accessor(qualifier="unit", type=GETTER) public UnitModel getUnit()Generated method - Getter of theArticleComponent.unitattribute defined at extensionsaparticlemodel.- Returns:
- the unit - Unit of measure
-
setComponent
@Accessor(qualifier="component", type=SETTER) public void setComponent(ProductModel value)Generated method - Setter ofArticleComponent.componentattribute defined at extensionsaparticlemodel.- Parameters:
value- the component - Component Article
-
setQuantity
@Accessor(qualifier="quantity", type=SETTER) public void setQuantity(java.lang.Integer value)Generated method - Setter ofArticleComponent.quantityattribute defined at extensionsaparticlemodel.- Parameters:
value- the quantity - Quantity
-
setStructuredArticle
@Accessor(qualifier="structuredArticle", type=SETTER) public void setStructuredArticle(ProductModel value)Generated method - Initial setter ofArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel. 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 ofArticleComponent.unitattribute defined at extensionsaparticlemodel.- Parameters:
value- the unit - Unit of measure
-
-