Package com.sgs.common.database
Class LotContainer
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.LotContainer
-
public class LotContainer extends HibernateObject
This class defines a sub-division of a StockLocation The best example of this would be if inventory is received as LOT 123 but it is received in 5 different bottles, all with different weights, we would use LotContainers to track these stock sub-divisions This differs fromContainerin that containers may have multiple different lots contained within them, whereas LotContainers pertain to only one lot- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description BatchbatchdoubleconvertedQtyThe unit converted quantity from the PO line rather than the stocking itemintnumA numeric sequence of the LotContainer for a given stock lotdoublequantityThe quantity in this LotContainerbooleanselectedStockLocationstockThe stock that this LotContainer pertains todoubletareWeightThe tare weight of the LotContainerdoubleweightReceivedThe weight received for this LotContainer-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description LotContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchgetBatch()doublegetConvertedQty()intgetNum()doublegetQuantity()StockLocationgetStock()doublegetTareWeight()doublegetWeightReceived()booleanisSelected()voidsetBatch(Batch batch)voidsetConvertedQty(double convertedQty)voidsetNum(int num)voidsetQuantity(double quantity)voidsetSelected(boolean selected)voidsetStock(StockLocation stock)voidsetTareWeight(double tareWeight)voidsetWeightReceived(double weightReceived)-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
num
public int num
A numeric sequence of the LotContainer for a given stock lot
-
stock
public StockLocation stock
The stock that this LotContainer pertains to
-
quantity
public double quantity
The quantity in this LotContainer
-
weightReceived
public double weightReceived
The weight received for this LotContainer
-
tareWeight
public double tareWeight
The tare weight of the LotContainer
-
convertedQty
public double convertedQty
The unit converted quantity from the PO line rather than the stocking item
-
selected
public boolean selected
-
batch
public Batch batch
-
-
Method Detail
-
getNum
public int getNum()
-
getStock
public StockLocation getStock()
-
getQuantity
public double getQuantity()
-
setNum
public void setNum(int num)
-
setStock
public void setStock(StockLocation stock)
-
setQuantity
public void setQuantity(double quantity)
-
getWeightReceived
public double getWeightReceived()
-
setWeightReceived
public void setWeightReceived(double weightReceived)
-
getTareWeight
public double getTareWeight()
-
setTareWeight
public void setTareWeight(double tareWeight)
-
getConvertedQty
public double getConvertedQty()
-
setConvertedQty
public void setConvertedQty(double convertedQty)
-
isSelected
public boolean isSelected()
-
setSelected
public void setSelected(boolean selected)
-
getBatch
public Batch getBatch()
-
setBatch
public void setBatch(Batch batch)
-
-