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_STOCKLEVELSTOCKLEVELHISTORYENTRYRELATIONGenerated relation code constant for relationStockLevelStockLevelHistoryEntryRelationdefining source attributestockLevelin extensionbasecommerce.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTUALGenerated constant - Attribute key ofStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.static java.lang.StringCOMMENTGenerated constant - Attribute key ofStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.static java.lang.StringRESERVEDGenerated constant - Attribute key ofStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.static java.lang.StringSTOCKLEVELGenerated constant - Attribute key ofStockLevelHistoryEntry.stockLevelattribute defined at extensionbasecommerce.static java.lang.StringSTOCKLEVELPOSGenerated constant - Attribute key ofStockLevelHistoryEntry.stockLevelPOSattribute defined at extensionbasecommerce.static java.lang.StringUPDATEDATEGenerated constant - Attribute key ofStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.static java.lang.StringUPDATETYPEGenerated constant - Attribute key ofStockLevelHistoryEntry.updateTypeattribute 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 intgetActual()Generated method - Getter of theStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.java.lang.StringgetComment()Generated method - Getter of theStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.intgetReserved()Generated method - Getter of theStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.StockLevelModelgetStockLevel()Generated method - Getter of theStockLevelHistoryEntry.stockLevelattribute defined at extensionbasecommerce.java.util.DategetUpdateDate()Generated method - Getter of theStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.StockLevelUpdateTypegetUpdateType()Generated method - Getter of theStockLevelHistoryEntry.updateTypeattribute defined at extensionbasecommerce.voidsetActual(int value)Generated method - Setter ofStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.voidsetComment(java.lang.String value)Generated method - Setter ofStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.voidsetReserved(int value)Generated method - Setter ofStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.voidsetStockLevel(StockLevelModel value)Generated method - Initial setter ofStockLevelHistoryEntry.stockLevelattribute defined at extensionbasecommerce.voidsetUpdateDate(java.util.Date value)Generated method - Setter ofStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.voidsetUpdateType(StockLevelUpdateType value)Generated method - Setter ofStockLevelHistoryEntry.updateTypeattribute 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 relationStockLevelStockLevelHistoryEntryRelationdefining source attributestockLevelin extensionbasecommerce.- See Also:
- Constant Field Values
-
UPDATEDATE
public static final java.lang.String UPDATEDATE
Generated constant - Attribute key ofStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
ACTUAL
public static final java.lang.String ACTUAL
Generated constant - Attribute key ofStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
RESERVED
public static final java.lang.String RESERVED
Generated constant - Attribute key ofStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
UPDATETYPE
public static final java.lang.String UPDATETYPE
Generated constant - Attribute key ofStockLevelHistoryEntry.updateTypeattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Generated constant - Attribute key ofStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
STOCKLEVELPOS
public static final java.lang.String STOCKLEVELPOS
Generated constant - Attribute key ofStockLevelHistoryEntry.stockLevelPOSattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
STOCKLEVEL
public static final java.lang.String STOCKLEVEL
Generated constant - Attribute key ofStockLevelHistoryEntry.stockLevelattribute 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 typeStockLevelHistoryEntryat extensionbasecommerce_reserved- initial attribute declared by typeStockLevelHistoryEntryat extensionbasecommerce_stockLevel- initial attribute declared by typeStockLevelHistoryEntryat extensionbasecommerce_updateDate- initial attribute declared by typeStockLevelHistoryEntryat 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 typeStockLevelHistoryEntryat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore_reserved- initial attribute declared by typeStockLevelHistoryEntryat extensionbasecommerce_stockLevel- initial attribute declared by typeStockLevelHistoryEntryat extensionbasecommerce_updateDate- initial attribute declared by typeStockLevelHistoryEntryat extensionbasecommerce
-
-
Method Detail
-
getActual
@Accessor(qualifier="actual", type=GETTER) public int getActual()
Generated method - Getter of theStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.- Returns:
- the actual
-
getComment
@Accessor(qualifier="comment", type=GETTER) public java.lang.String getComment()
Generated method - Getter of theStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.- Returns:
- the comment
-
getReserved
@Accessor(qualifier="reserved", type=GETTER) public int getReserved()
Generated method - Getter of theStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.- Returns:
- the reserved
-
getStockLevel
@Accessor(qualifier="stockLevel", type=GETTER) public StockLevelModel getStockLevel()
Generated method - Getter of theStockLevelHistoryEntry.stockLevelattribute defined at extensionbasecommerce.- Returns:
- the stockLevel
-
getUpdateDate
@Accessor(qualifier="updateDate", type=GETTER) public java.util.Date getUpdateDate()
Generated method - Getter of theStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.- Returns:
- the updateDate
-
getUpdateType
@Accessor(qualifier="updateType", type=GETTER) public StockLevelUpdateType getUpdateType()
Generated method - Getter of theStockLevelHistoryEntry.updateTypeattribute defined at extensionbasecommerce.- Returns:
- the updateType
-
setActual
@Accessor(qualifier="actual", type=SETTER) public void setActual(int value)
Generated method - Setter ofStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.- Parameters:
value- the actual
-
setComment
@Accessor(qualifier="comment", type=SETTER) public void setComment(java.lang.String value)
Generated method - Setter ofStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.- Parameters:
value- the comment
-
setReserved
@Accessor(qualifier="reserved", type=SETTER) public void setReserved(int value)
Generated method - Setter ofStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.- Parameters:
value- the reserved
-
setStockLevel
@Accessor(qualifier="stockLevel", type=SETTER) public void setStockLevel(StockLevelModel value)
Generated method - Initial setter ofStockLevelHistoryEntry.stockLevelattribute 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.updateDateattribute defined at extensionbasecommerce.- Parameters:
value- the updateDate
-
setUpdateType
@Accessor(qualifier="updateType", type=SETTER) public void setUpdateType(StockLevelUpdateType value)
Generated method - Setter ofStockLevelHistoryEntry.updateTypeattribute defined at extensionbasecommerce.- Parameters:
value- the updateType
-
-