Package com.sgs.common.database
Class ContainerLink
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.ContainerLink
-
- All Implemented Interfaces:
java.lang.Comparable<ContainerLink>
public class ContainerLink extends HibernateObject implements java.lang.Comparable<ContainerLink>
This class represents the link betweenContainer
andStockLocation
This identifies how much of each lot number resides on each pallet/container- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description Batch
batch
The batch associated with this containerlinkContainer
container
The container/palletjava.lang.Double
quantity
The amount of the stock item that is contained within this pallet/containerjava.lang.Integer
serial
The serial number of this containerStockLocation
stock
The stock item which is contained within this pallet/containerWeightUnit
unit
The unit relating toquantity
-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description ContainerLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendAllergen(java.lang.String allergen)
int
compareTo(ContainerLink o)
java.lang.Double
getAdjustedQuantity()
java.lang.String
getAllergenList()
java.lang.Double
getBaseQuantity()
Batch
getBatch()
Batch
getCollatedIntoBatch()
Container
getContainer()
java.lang.Integer
getExported()
java.lang.String
getHoldList()
java.util.Date
getMovementDate()
java.lang.Integer
getPrinted()
java.lang.Double
getQuantity()
java.lang.Boolean
getScanned()
java.lang.Integer
getSerial()
StockLocation
getStock()
java.lang.Double
getTotalWaveRequirement()
WeightUnit
getUnit()
boolean
isSelected()
boolean
isSkipped()
boolean
isSortByExpiryThenQuantity()
boolean
isSortByMovementDate()
void
setAdjustedQuantity(java.lang.Double adjustedQuantity)
void
setAllergenList(java.lang.String allergenList)
void
setBaseQuantity(java.lang.Double baseQuantity)
void
setBatch(Batch batch)
void
setCollatedIntoBatch(Batch collatedIntoBatch)
void
setContainer(Container container)
void
setExported(java.lang.Integer exported)
void
setHoldList(java.lang.String holdList)
void
setMovementDate(java.util.Date movementDate)
void
setPrinted(java.lang.Integer printed)
void
setQuantity(java.lang.Double quantity)
void
setScanned(java.lang.Boolean scanned)
void
setSelected(boolean isSelected)
void
setSerial(java.lang.Integer serial)
void
setSkipped(boolean skipped)
void
setSortByExpiryThenQuantity(boolean sortByExpiryThenQuantity)
void
setSortByMovementDate(boolean sortByMovementDate)
void
setStock(StockLocation stock)
void
setTotalWaveRequirement(java.lang.Double totalWaveRequirement)
void
setUnit(WeightUnit unit)
-
Methods inherited from class com.sgs.common.database.HibernateObject
getID, isDontSave, isModified, setDontSave, setID, setModified
-
-
-
-
Field Detail
-
container
public Container container
The container/pallet
-
stock
public StockLocation stock
The stock item which is contained within this pallet/container
-
quantity
public java.lang.Double quantity
The amount of the stock item that is contained within this pallet/container
-
serial
public java.lang.Integer serial
The serial number of this container
-
batch
public Batch batch
The batch associated with this containerlink
-
unit
public WeightUnit unit
The unit relating toquantity
-
-
Method Detail
-
getContainer
public Container getContainer()
-
setContainer
public void setContainer(Container container)
-
getStock
public StockLocation getStock()
-
getQuantity
public java.lang.Double getQuantity()
-
getSerial
public java.lang.Integer getSerial()
-
setStock
public void setStock(StockLocation stock)
-
setQuantity
public void setQuantity(java.lang.Double quantity)
-
setSerial
public void setSerial(java.lang.Integer serial)
-
getBaseQuantity
public java.lang.Double getBaseQuantity()
-
setBaseQuantity
public void setBaseQuantity(java.lang.Double baseQuantity)
-
getBatch
public Batch getBatch()
-
setBatch
public void setBatch(Batch batch)
-
getUnit
public WeightUnit getUnit()
-
setUnit
public void setUnit(WeightUnit unit)
-
getScanned
public java.lang.Boolean getScanned()
-
setScanned
public void setScanned(java.lang.Boolean scanned)
-
getAdjustedQuantity
public java.lang.Double getAdjustedQuantity()
-
setAdjustedQuantity
public void setAdjustedQuantity(java.lang.Double adjustedQuantity)
-
getPrinted
public java.lang.Integer getPrinted()
-
setPrinted
public void setPrinted(java.lang.Integer printed)
-
getExported
public java.lang.Integer getExported()
- Overrides:
getExported
in classHibernateObject
-
setExported
public void setExported(java.lang.Integer exported)
- Overrides:
setExported
in classHibernateObject
-
getAllergenList
public java.lang.String getAllergenList()
-
setAllergenList
public void setAllergenList(java.lang.String allergenList)
-
appendAllergen
public void appendAllergen(java.lang.String allergen)
-
compareTo
public int compareTo(ContainerLink o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ContainerLink>
-
getMovementDate
public java.util.Date getMovementDate()
-
setMovementDate
public void setMovementDate(java.util.Date movementDate)
-
isSortByMovementDate
public boolean isSortByMovementDate()
-
setSortByMovementDate
public void setSortByMovementDate(boolean sortByMovementDate)
-
isSkipped
public boolean isSkipped()
-
setSkipped
public void setSkipped(boolean skipped)
-
isSelected
public boolean isSelected()
-
setSelected
public void setSelected(boolean isSelected)
-
getHoldList
public java.lang.String getHoldList()
-
setHoldList
public void setHoldList(java.lang.String holdList)
-
getCollatedIntoBatch
public Batch getCollatedIntoBatch()
-
setCollatedIntoBatch
public void setCollatedIntoBatch(Batch collatedIntoBatch)
-
getTotalWaveRequirement
public java.lang.Double getTotalWaveRequirement()
-
setTotalWaveRequirement
public void setTotalWaveRequirement(java.lang.Double totalWaveRequirement)
-
isSortByExpiryThenQuantity
public boolean isSortByExpiryThenQuantity()
-
setSortByExpiryThenQuantity
public void setSortByExpiryThenQuantity(boolean sortByExpiryThenQuantity)
-
-