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 int
bagCount
The number of bags producedjava.lang.String
bagWeights
The weight, comma separated, of each bagjava.util.Date
createDate
A timestamp for creation of the product requestJobLine
jobLine
The job line to which this request pertainsjava.lang.String
originalBagWeights
Tracker for original bag weights wrote to request tableContainer
pallet
Once fulfilled, the SG Terminal will inform which pallet this product was added to with this fieldint
printLabel
Boolean 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 int
getBagCount()
java.lang.String
getBagWeights()
java.util.Date
getCreateDate()
JobLine
getJobLine()
java.lang.String
getOriginalBagWeights()
Container
getPallet()
int
getPrintLabel()
void
setBagCount(int bagCount)
void
setBagWeights(java.lang.String bagWeights)
void
setCreateDate(java.util.Date createDate)
void
setJobLine(JobLine jobLine)
void
setOriginalBagWeights(java.lang.String originalBagWeights)
void
setPallet(Container pallet)
void
setPrintLabel(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)
-
-