Package com.sgs.common.database
Class ProductRequest
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.ProductRequest
-
public class ProductRequest extends HibernateObject
This class logs production requests by informing the SG V5 product terminal of production that has occurred outside of the system- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description intbagCountThe number of bags producedjava.lang.StringbagWeightsThe weight, comma separated, of each bagjava.util.DatecreateDateA timestamp for creation of the product requestJobLinejobLineThe job line to which this request pertainsjava.lang.StringoriginalBagWeightsTracker for original bag weights wrote to request tableContainerpalletOnce fulfilled, the SG Terminal will inform which pallet this product was added to with this fieldintprintLabelBoolean value to indicate whether or not to print a label-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description ProductRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBagCount()java.lang.StringgetBagWeights()java.util.DategetCreateDate()JobLinegetJobLine()java.lang.StringgetOriginalBagWeights()ContainergetPallet()intgetPrintLabel()voidsetBagCount(int bagCount)voidsetBagWeights(java.lang.String bagWeights)voidsetCreateDate(java.util.Date createDate)voidsetJobLine(JobLine jobLine)voidsetOriginalBagWeights(java.lang.String originalBagWeights)voidsetPallet(Container pallet)voidsetPrintLabel(int printLabel)-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
jobLine
public JobLine jobLine
The job line to which this request pertains
-
bagCount
public int bagCount
The number of bags produced
-
bagWeights
public java.lang.String bagWeights
The weight, comma separated, of each bag
-
printLabel
public int printLabel
Boolean value to indicate whether or not to print a label
-
pallet
public Container pallet
Once fulfilled, the SG Terminal will inform which pallet this product was added to with this field
-
createDate
public java.util.Date createDate
A timestamp for creation of the product request
-
originalBagWeights
public java.lang.String originalBagWeights
Tracker for original bag weights wrote to request table
-
-
Method Detail
-
getJobLine
public JobLine getJobLine()
-
setJobLine
public void setJobLine(JobLine jobLine)
-
getBagCount
public int getBagCount()
-
setBagCount
public void setBagCount(int bagCount)
-
getBagWeights
public java.lang.String getBagWeights()
-
setBagWeights
public void setBagWeights(java.lang.String bagWeights)
-
getPrintLabel
public int getPrintLabel()
-
setPrintLabel
public void setPrintLabel(int printLabel)
-
getPallet
public Container getPallet()
-
setPallet
public void setPallet(Container pallet)
-
getCreateDate
public java.util.Date getCreateDate()
-
setCreateDate
public void setCreateDate(java.util.Date createDate)
-
getOriginalBagWeights
public java.lang.String getOriginalBagWeights()
-
setOriginalBagWeights
public void setOriginalBagWeights(java.lang.String originalBagWeights)
-
-