Package de.hybris.platform.stock.model
Class StockLevelHistoryEntryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.stock.model.StockLevelHistoryEntryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class StockLevelHistoryEntryModel extends ItemModel
Generated model class for type StockLevelHistoryEntry first defined at extension basecommerce.- 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
_STOCKLEVELSTOCKLEVELHISTORYENTRYRELATION
Generated relation code constant for relationStockLevelStockLevelHistoryEntryRelation
defining source attributestockLevel
in extensionbasecommerce
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ACTUAL
Generated constant - Attribute key ofStockLevelHistoryEntry.actual
attribute defined at extensionbasecommerce
.static java.lang.String
COMMENT
Generated constant - Attribute key ofStockLevelHistoryEntry.comment
attribute defined at extensionbasecommerce
.static java.lang.String
RESERVED
Generated constant - Attribute key ofStockLevelHistoryEntry.reserved
attribute defined at extensionbasecommerce
.static java.lang.String
STOCKLEVEL
Generated constant - Attribute key ofStockLevelHistoryEntry.stockLevel
attribute defined at extensionbasecommerce
.static java.lang.String
STOCKLEVELPOS
Generated constant - Attribute key ofStockLevelHistoryEntry.stockLevelPOS
attribute defined at extensionbasecommerce
.static java.lang.String
UPDATEDATE
Generated constant - Attribute key ofStockLevelHistoryEntry.updateDate
attribute defined at extensionbasecommerce
.static java.lang.String
UPDATETYPE
Generated constant - Attribute key ofStockLevelHistoryEntry.updateType
attribute defined at extensionbasecommerce
.-
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 StockLevelHistoryEntryModel()
Generated constructor - Default constructor for generic creation.StockLevelHistoryEntryModel(int _actual, int _reserved, StockLevelModel _stockLevel, java.util.Date _updateDate)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersStockLevelHistoryEntryModel(int _actual, ItemModel _owner, int _reserved, StockLevelModel _stockLevel, java.util.Date _updateDate)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersStockLevelHistoryEntryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActual()
Generated method - Getter of theStockLevelHistoryEntry.actual
attribute defined at extensionbasecommerce
.java.lang.String
getComment()
Generated method - Getter of theStockLevelHistoryEntry.comment
attribute defined at extensionbasecommerce
.int
getReserved()
Generated method - Getter of theStockLevelHistoryEntry.reserved
attribute defined at extensionbasecommerce
.StockLevelModel
getStockLevel()
Generated method - Getter of theStockLevelHistoryEntry.stockLevel
attribute defined at extensionbasecommerce
.java.util.Date
getUpdateDate()
Generated method - Getter of theStockLevelHistoryEntry.updateDate
attribute defined at extensionbasecommerce
.StockLevelUpdateType
getUpdateType()
Generated method - Getter of theStockLevelHistoryEntry.updateType
attribute defined at extensionbasecommerce
.void
setActual(int value)
Generated method - Setter ofStockLevelHistoryEntry.actual
attribute defined at extensionbasecommerce
.void
setComment(java.lang.String value)
Generated method - Setter ofStockLevelHistoryEntry.comment
attribute defined at extensionbasecommerce
.void
setReserved(int value)
Generated method - Setter ofStockLevelHistoryEntry.reserved
attribute defined at extensionbasecommerce
.void
setStockLevel(StockLevelModel value)
Generated method - Initial setter ofStockLevelHistoryEntry.stockLevel
attribute defined at extensionbasecommerce
.void
setUpdateDate(java.util.Date value)
Generated method - Setter ofStockLevelHistoryEntry.updateDate
attribute defined at extensionbasecommerce
.void
setUpdateType(StockLevelUpdateType value)
Generated method - Setter ofStockLevelHistoryEntry.updateType
attribute defined at extensionbasecommerce
.-
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
-
_STOCKLEVELSTOCKLEVELHISTORYENTRYRELATION
public static final java.lang.String _STOCKLEVELSTOCKLEVELHISTORYENTRYRELATION
Generated relation code constant for relationStockLevelStockLevelHistoryEntryRelation
defining source attributestockLevel
in extensionbasecommerce
.- See Also:
- Constant Field Values
-
UPDATEDATE
public static final java.lang.String UPDATEDATE
Generated constant - Attribute key ofStockLevelHistoryEntry.updateDate
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
ACTUAL
public static final java.lang.String ACTUAL
Generated constant - Attribute key ofStockLevelHistoryEntry.actual
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
RESERVED
public static final java.lang.String RESERVED
Generated constant - Attribute key ofStockLevelHistoryEntry.reserved
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
UPDATETYPE
public static final java.lang.String UPDATETYPE
Generated constant - Attribute key ofStockLevelHistoryEntry.updateType
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Generated constant - Attribute key ofStockLevelHistoryEntry.comment
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
STOCKLEVELPOS
public static final java.lang.String STOCKLEVELPOS
Generated constant - Attribute key ofStockLevelHistoryEntry.stockLevelPOS
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
STOCKLEVEL
public static final java.lang.String STOCKLEVEL
Generated constant - Attribute key ofStockLevelHistoryEntry.stockLevel
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StockLevelHistoryEntryModel
public StockLevelHistoryEntryModel()
Generated constructor - Default constructor for generic creation.
-
StockLevelHistoryEntryModel
public StockLevelHistoryEntryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
StockLevelHistoryEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public StockLevelHistoryEntryModel(int _actual, int _reserved, StockLevelModel _stockLevel, java.util.Date _updateDate)
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:
_actual
- initial attribute declared by typeStockLevelHistoryEntry
at extensionbasecommerce
_reserved
- initial attribute declared by typeStockLevelHistoryEntry
at extensionbasecommerce
_stockLevel
- initial attribute declared by typeStockLevelHistoryEntry
at extensionbasecommerce
_updateDate
- initial attribute declared by typeStockLevelHistoryEntry
at extensionbasecommerce
-
StockLevelHistoryEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public StockLevelHistoryEntryModel(int _actual, ItemModel _owner, int _reserved, StockLevelModel _stockLevel, java.util.Date _updateDate)
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:
_actual
- initial attribute declared by typeStockLevelHistoryEntry
at extensionbasecommerce
_owner
- initial attribute declared by typeItem
at extensioncore
_reserved
- initial attribute declared by typeStockLevelHistoryEntry
at extensionbasecommerce
_stockLevel
- initial attribute declared by typeStockLevelHistoryEntry
at extensionbasecommerce
_updateDate
- initial attribute declared by typeStockLevelHistoryEntry
at extensionbasecommerce
-
-
Method Detail
-
getActual
@Accessor(qualifier="actual", type=GETTER) public int getActual()
Generated method - Getter of theStockLevelHistoryEntry.actual
attribute defined at extensionbasecommerce
.- Returns:
- the actual
-
getComment
@Accessor(qualifier="comment", type=GETTER) public java.lang.String getComment()
Generated method - Getter of theStockLevelHistoryEntry.comment
attribute defined at extensionbasecommerce
.- Returns:
- the comment
-
getReserved
@Accessor(qualifier="reserved", type=GETTER) public int getReserved()
Generated method - Getter of theStockLevelHistoryEntry.reserved
attribute defined at extensionbasecommerce
.- Returns:
- the reserved
-
getStockLevel
@Accessor(qualifier="stockLevel", type=GETTER) public StockLevelModel getStockLevel()
Generated method - Getter of theStockLevelHistoryEntry.stockLevel
attribute defined at extensionbasecommerce
.- Returns:
- the stockLevel
-
getUpdateDate
@Accessor(qualifier="updateDate", type=GETTER) public java.util.Date getUpdateDate()
Generated method - Getter of theStockLevelHistoryEntry.updateDate
attribute defined at extensionbasecommerce
.- Returns:
- the updateDate
-
getUpdateType
@Accessor(qualifier="updateType", type=GETTER) public StockLevelUpdateType getUpdateType()
Generated method - Getter of theStockLevelHistoryEntry.updateType
attribute defined at extensionbasecommerce
.- Returns:
- the updateType
-
setActual
@Accessor(qualifier="actual", type=SETTER) public void setActual(int value)
Generated method - Setter ofStockLevelHistoryEntry.actual
attribute defined at extensionbasecommerce
.- Parameters:
value
- the actual
-
setComment
@Accessor(qualifier="comment", type=SETTER) public void setComment(java.lang.String value)
Generated method - Setter ofStockLevelHistoryEntry.comment
attribute defined at extensionbasecommerce
.- Parameters:
value
- the comment
-
setReserved
@Accessor(qualifier="reserved", type=SETTER) public void setReserved(int value)
Generated method - Setter ofStockLevelHistoryEntry.reserved
attribute defined at extensionbasecommerce
.- Parameters:
value
- the reserved
-
setStockLevel
@Accessor(qualifier="stockLevel", type=SETTER) public void setStockLevel(StockLevelModel value)
Generated method - Initial setter ofStockLevelHistoryEntry.stockLevel
attribute defined at extensionbasecommerce
. Can only be used at creation of model - before first save.- Parameters:
value
- the stockLevel
-
setUpdateDate
@Accessor(qualifier="updateDate", type=SETTER) public void setUpdateDate(java.util.Date value)
Generated method - Setter ofStockLevelHistoryEntry.updateDate
attribute defined at extensionbasecommerce
.- Parameters:
value
- the updateDate
-
setUpdateType
@Accessor(qualifier="updateType", type=SETTER) public void setUpdateType(StockLevelUpdateType value)
Generated method - Setter ofStockLevelHistoryEntry.updateType
attribute defined at extensionbasecommerce
.- Parameters:
value
- the updateType
-
-