public class SPCRun extends HibernateObject
Modifier and Type | Class and Description |
---|---|
static class |
SPCRun.SPCRunResult
The result of the SPCRun
|
static class |
SPCRun.SPCRunStatus
The status of the SPC run
|
Modifier and Type | Field and Description |
---|---|
Batch |
batch
Pertains to a particular
Batch ID |
java.util.Date |
dateComplete
The date the run was completed
|
java.util.Date |
dateStarted
The date the run was started
|
JobLine |
jobLine
Pertains to a particular
JobLine ID |
int |
result
The result of the run, see
SPCRun.SPCRunResult |
java.lang.Long |
runTime
The runtime of the run in seconds
|
int |
samples
The number of samples to be performed on the run
|
StockLocation |
sourceStock
The active source stock lot for the SPC run
|
SPCCommodity |
spcCommodity
The SPCCommodity to execute during the run
|
java.lang.Double |
standardDeviation
The standard deviation of the run
|
int |
status
The status of the SPC Run.
|
User |
suspendedOperator
The operator who suspended the run
|
java.lang.Double |
totalQty
Unused
|
java.lang.String |
units
The units pertaining to the
SPCCommodity.target |
ID
Constructor and Description |
---|
SPCRun() |
Modifier and Type | Method and Description |
---|---|
Batch |
getBatch() |
java.util.Date |
getDateComplete() |
java.util.Date |
getDateStarted() |
JobLine |
getJobLine() |
int |
getResult() |
SPCRun.SPCRunResult |
getResultEnum() |
java.lang.String |
getResultStr() |
java.lang.Long |
getRunTime() |
int |
getSamples() |
StockLocation |
getSourceStock() |
SPCCommodity |
getSpcCommodity() |
java.lang.Double |
getStandardDeviation() |
int |
getStatus() |
SPCRun.SPCRunStatus |
getStatusEnum() |
java.lang.String |
getStatusStr() |
User |
getSuspendedOperator() |
java.lang.Double |
getTotalQty() |
java.lang.String |
getUnits() |
void |
setBatch(Batch batch) |
void |
setDateComplete(java.util.Date dateComplete) |
void |
setDateStarted(java.util.Date dateStarted) |
void |
setJobLine(JobLine jobLine) |
void |
setResult(int result) |
void |
setRunTime(java.lang.Long runTime) |
void |
setSamples(int samples) |
void |
setSourceStock(StockLocation sourceStock) |
void |
setSpcCommodity(SPCCommodity spcCommodity) |
void |
setStandardDeviation(java.lang.Double standardDeviation) |
void |
setStatus(int status) |
void |
setSuspendedOperator(User suspendedOperator) |
void |
setTotalQty(java.lang.Double totalQty) |
void |
setUnits(java.lang.String units) |
java.lang.String |
toString() |
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
public SPCCommodity spcCommodity
public java.util.Date dateStarted
public java.util.Date dateComplete
public int status
SPCRun.SPCRunStatus
public int samples
public java.lang.Long runTime
public int result
SPCRun.SPCRunResult
public User suspendedOperator
public java.lang.String units
SPCCommodity.target
public java.lang.Double standardDeviation
public java.lang.Double totalQty
public StockLocation sourceStock
public SPCRun.SPCRunStatus getStatusEnum()
public SPCRun.SPCRunResult getResultEnum()
public java.lang.String getStatusStr()
public java.lang.String getResultStr()
public java.util.Date getDateStarted()
public java.util.Date getDateComplete()
public int getStatus()
public int getSamples()
public void setDateStarted(java.util.Date dateStarted)
public void setDateComplete(java.util.Date dateComplete)
public void setStatus(int status)
public void setSamples(int samples)
public SPCCommodity getSpcCommodity()
public void setSpcCommodity(SPCCommodity spcCommodity)
public java.lang.Long getRunTime()
public void setRunTime(java.lang.Long runTime)
public java.lang.String toString()
toString
in class java.lang.Object
public int getResult()
public void setResult(int result)
public User getSuspendedOperator()
public void setSuspendedOperator(User suspendedOperator)
public java.lang.String getUnits()
public void setUnits(java.lang.String units)
public java.lang.Double getStandardDeviation()
public void setStandardDeviation(java.lang.Double standardDeviation)
public java.lang.Double getTotalQty()
public void setTotalQty(java.lang.Double totalQty)
public Batch getBatch()
public void setBatch(Batch batch)
public StockLocation getSourceStock()
public void setSourceStock(StockLocation sourceStock)
public JobLine getJobLine()
public void setJobLine(JobLine jobLine)