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:
Serializable
Generated model class for type StockLevelHistoryEntry first defined at extension basecommerce.
- 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 relationStockLevelStockLevelHistoryEntryRelationdefining source attributestockLevelin extensionbasecommerce.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofStockLevelHistoryEntry.stockLevelattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofStockLevelHistoryEntry.stockLevelPOSattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.static final StringGenerated 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, 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.StockLevelHistoryEntryModel(int _actual, int _reserved, StockLevelModel _stockLevel, 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, 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(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionintGenerated method - Getter of theStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.Generated method - Getter of theStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.intGenerated method - Getter of theStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.Generated method - Getter of theStockLevelHistoryEntry.stockLevelattribute defined at extensionbasecommerce.Generated method - Getter of theStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.Generated method - Getter of theStockLevelHistoryEntry.updateTypeattribute defined at extensionbasecommerce.voidsetActual(int value) Generated method - Setter ofStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.voidsetComment(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(Date value) Generated method - Setter ofStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.voidGenerated 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, 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:
-
_STOCKLEVELSTOCKLEVELHISTORYENTRYRELATION
Generated relation code constant for relationStockLevelStockLevelHistoryEntryRelationdefining source attributestockLevelin extensionbasecommerce.- See Also:
-
UPDATEDATE
Generated constant - Attribute key ofStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.- See Also:
-
ACTUAL
Generated constant - Attribute key ofStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.- See Also:
-
RESERVED
Generated constant - Attribute key ofStockLevelHistoryEntry.reservedattribute defined at extensionbasecommerce.- See Also:
-
UPDATETYPE
Generated constant - Attribute key ofStockLevelHistoryEntry.updateTypeattribute defined at extensionbasecommerce.- See Also:
-
COMMENT
Generated constant - Attribute key ofStockLevelHistoryEntry.commentattribute defined at extensionbasecommerce.- See Also:
-
STOCKLEVELPOS
Generated constant - Attribute key ofStockLevelHistoryEntry.stockLevelPOSattribute defined at extensionbasecommerce.- See Also:
-
STOCKLEVEL
Generated constant - Attribute key ofStockLevelHistoryEntry.stockLevelattribute defined at extensionbasecommerce.- See Also:
-
-
Constructor Details
-
StockLevelHistoryEntryModel
public StockLevelHistoryEntryModel()Generated constructor - Default constructor for generic creation. -
StockLevelHistoryEntryModel
public StockLevelHistoryEntryModel(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
-
StockLevelHistoryEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public StockLevelHistoryEntryModel(int _actual, int _reserved, StockLevelModel _stockLevel, 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, 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 Details
-
getActual
@Accessor(qualifier="actual", type=GETTER) public int getActual()Generated method - Getter of theStockLevelHistoryEntry.actualattribute defined at extensionbasecommerce.- Returns:
- the actual
-
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
Generated method - Getter of theStockLevelHistoryEntry.stockLevelattribute defined at extensionbasecommerce.- Returns:
- the stockLevel
-
getUpdateDate
Generated method - Getter of theStockLevelHistoryEntry.updateDateattribute defined at extensionbasecommerce.- Returns:
- the updateDate
-
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
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
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
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
-