Class OrderFormEntryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.savedorderforms.model.OrderFormEntryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class OrderFormEntryModel extends ItemModel
Generated model class for type OrderFormEntry first defined at extension savedorderforms.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringQUANTITYGenerated constant - Attribute key ofOrderFormEntry.quantityattribute defined at extensionsavedorderforms.static java.lang.StringSKUGenerated constant - Attribute key ofOrderFormEntry.skuattribute defined at extensionsavedorderforms.-
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 OrderFormEntryModel()Generated constructor - Default constructor for generic creation.OrderFormEntryModel(ItemModel _owner, java.lang.String _sku)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersOrderFormEntryModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextOrderFormEntryModel(java.lang.String _sku)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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetQuantity()Generated method - Getter of theOrderFormEntry.quantityattribute defined at extensionsavedorderforms.java.lang.StringgetSku()Generated method - Getter of theOrderFormEntry.skuattribute defined at extensionsavedorderforms.voidsetQuantity(java.lang.Integer value)Generated method - Setter ofOrderFormEntry.quantityattribute defined at extensionsavedorderforms.voidsetSku(java.lang.String value)Generated method - Setter ofOrderFormEntry.skuattribute defined at extensionsavedorderforms.-
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
-
SKU
public static final java.lang.String SKU
Generated constant - Attribute key ofOrderFormEntry.skuattribute defined at extensionsavedorderforms.- See Also:
- Constant Field Values
-
QUANTITY
public static final java.lang.String QUANTITY
Generated constant - Attribute key ofOrderFormEntry.quantityattribute defined at extensionsavedorderforms.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OrderFormEntryModel
public OrderFormEntryModel()
Generated constructor - Default constructor for generic creation.
-
OrderFormEntryModel
public OrderFormEntryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
OrderFormEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderFormEntryModel(java.lang.String _sku)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:
_sku- initial attribute declared by typeOrderFormEntryat extensionsavedorderforms
-
OrderFormEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OrderFormEntryModel(ItemModel _owner, java.lang.String _sku)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:
_owner- initial attribute declared by typeItemat extensioncore_sku- initial attribute declared by typeOrderFormEntryat extensionsavedorderforms
-
-
Method Detail
-
getQuantity
@Accessor(qualifier="quantity", type=GETTER) public java.lang.Integer getQuantity()
Generated method - Getter of theOrderFormEntry.quantityattribute defined at extensionsavedorderforms.- Returns:
- the quantity
-
getSku
@Accessor(qualifier="sku", type=GETTER) public java.lang.String getSku()
Generated method - Getter of theOrderFormEntry.skuattribute defined at extensionsavedorderforms.- Returns:
- the sku
-
setQuantity
@Accessor(qualifier="quantity", type=SETTER) public void setQuantity(java.lang.Integer value)
Generated method - Setter ofOrderFormEntry.quantityattribute defined at extensionsavedorderforms.- Parameters:
value- the quantity
-
-