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
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationArticleComponentsdefining source attributestructuredArticlein extensionsaparticlemodel.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofArticleComponent.componentattribute defined at extensionsaparticlemodel.static final StringGenerated constant - Attribute key ofArticleComponent.quantityattribute defined at extensionsaparticlemodel.static final StringGenerated constant - Attribute key ofArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.static final StringGenerated constant - Attribute key ofArticleComponent.structuredArticlePOSattribute defined at extensionsaparticlemodel.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theArticleComponent.componentattribute defined at extensionsaparticlemodel.Generated method - Getter of theArticleComponent.quantityattribute defined at extensionsaparticlemodel.Generated method - Getter of theArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.getUnit()Generated method - Getter of theArticleComponent.unitattribute defined at extensionsaparticlemodel.voidsetComponent(ProductModel value) Generated method - Setter ofArticleComponent.componentattribute defined at extensionsaparticlemodel.voidsetQuantity(Integer value) Generated method - Setter ofArticleComponent.quantityattribute defined at extensionsaparticlemodel.voidsetStructuredArticle(ProductModel value) Generated method - Initial setter ofArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.voidGenerated 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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_ARTICLECOMPONENTS
Generated relation code constant for relationArticleComponentsdefining source attributestructuredArticlein extensionsaparticlemodel.- See Also:
-
COMPONENT
Generated constant - Attribute key ofArticleComponent.componentattribute defined at extensionsaparticlemodel.- See Also:
-
QUANTITY
Generated constant - Attribute key ofArticleComponent.quantityattribute defined at extensionsaparticlemodel.- See Also:
-
UNIT
Generated constant - Attribute key ofArticleComponent.unitattribute defined at extensionsaparticlemodel.- See Also:
-
STRUCTUREDARTICLEPOS
Generated constant - Attribute key ofArticleComponent.structuredArticlePOSattribute defined at extensionsaparticlemodel.- See Also:
-
STRUCTUREDARTICLE
Generated constant - Attribute key ofArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.- 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 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 Details
-
getComponent
Generated method - Getter of theArticleComponent.componentattribute defined at extensionsaparticlemodel.- Returns:
- the component - Component Article
-
getQuantity
Generated method - Getter of theArticleComponent.quantityattribute defined at extensionsaparticlemodel.- Returns:
- the quantity - Quantity
-
getStructuredArticle
Generated method - Getter of theArticleComponent.structuredArticleattribute defined at extensionsaparticlemodel.- Returns:
- the structuredArticle
-
getUnit
Generated method - Getter of theArticleComponent.unitattribute defined at extensionsaparticlemodel.- Returns:
- the unit - Unit of measure
-
setComponent
Generated method - Setter ofArticleComponent.componentattribute defined at extensionsaparticlemodel.- Parameters:
value- the component - Component Article
-
setQuantity
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
Generated method - Setter ofArticleComponent.unitattribute defined at extensionsaparticlemodel.- Parameters:
value- the unit - Unit of measure
-