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.Integer
batchId
TheBatch
ID that this lot was remembered injava.lang.Integer
commodityId
TheCommodity
ID for the commodity used for this stepjava.lang.Integer
lotContainerId
TheLotContainer
ID which was usedjava.lang.Integer
stockId
TheStockLocation
ID for the lot to be rememberedjava.lang.Integer
terminalId
TheTerminal
ID 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.Integer
getBatchId()
java.lang.Integer
getCommodityId()
java.lang.Integer
getLotContainerId()
java.lang.Integer
getStockId()
java.lang.Integer
getTerminalId()
void
setBatchId(java.lang.Integer batchId)
void
setCommodityId(java.lang.Integer commodityId)
void
setLotContainerId(java.lang.Integer lotContainerId)
void
setStockId(java.lang.Integer stockId)
void
setTerminalId(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
TheStockLocation
ID for the lot to be remembered
-
terminalId
public java.lang.Integer terminalId
TheTerminal
ID for the terminal which used this lot
-
commodityId
public java.lang.Integer commodityId
TheCommodity
ID for the commodity used for this step
-
lotContainerId
public java.lang.Integer lotContainerId
TheLotContainer
ID which was used
-
batchId
public java.lang.Integer batchId
TheBatch
ID 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)
-
-