Package com.sgs.common.database
Class LastUsed
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.LastUsed
-
public class LastUsed extends HibernateObject
This class is used to store information on the last stock used for a job This allows the system to pre-assign stock to jobs or remember them to reduce operator input- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.IntegerbatchIdTheBatchID that this lot was remembered injava.lang.IntegercommodityIdTheCommodityID for the commodity used for this stepjava.lang.IntegerlotContainerIdTheLotContainerID which was usedjava.lang.IntegerstockIdTheStockLocationID for the lot to be rememberedjava.lang.IntegerterminalIdTheTerminalID for the terminal which used this lot-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description LastUsed()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetBatchId()java.lang.IntegergetCommodityId()java.lang.IntegergetLotContainerId()java.lang.IntegergetStockId()java.lang.IntegergetTerminalId()voidsetBatchId(java.lang.Integer batchId)voidsetCommodityId(java.lang.Integer commodityId)voidsetLotContainerId(java.lang.Integer lotContainerId)voidsetStockId(java.lang.Integer stockId)voidsetTerminalId(java.lang.Integer terminalId)-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
stockId
public java.lang.Integer stockId
TheStockLocationID for the lot to be remembered
-
terminalId
public java.lang.Integer terminalId
TheTerminalID for the terminal which used this lot
-
commodityId
public java.lang.Integer commodityId
TheCommodityID for the commodity used for this step
-
lotContainerId
public java.lang.Integer lotContainerId
TheLotContainerID which was used
-
batchId
public java.lang.Integer batchId
TheBatchID that this lot was remembered in
-
-
Method Detail
-
getStockId
public java.lang.Integer getStockId()
-
getTerminalId
public java.lang.Integer getTerminalId()
-
setStockId
public void setStockId(java.lang.Integer stockId)
-
setTerminalId
public void setTerminalId(java.lang.Integer terminalId)
-
getCommodityId
public java.lang.Integer getCommodityId()
-
setCommodityId
public void setCommodityId(java.lang.Integer commodityId)
-
getLotContainerId
public java.lang.Integer getLotContainerId()
-
setLotContainerId
public void setLotContainerId(java.lang.Integer lotContainerId)
-
getBatchId
public java.lang.Integer getBatchId()
-
setBatchId
public void setBatchId(java.lang.Integer batchId)
-
-