Package com.sgs.common.database
Class Checks
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.Checks
-
public class Checks extends HibernateObject
This class represents Checks which interact with the SG System- Author:
- SGSystems
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Checks.Status
-
Field Summary
Fields Modifier and Type Field Description ChecksTemplates
checksTemplates
The ChecksTemplates that the check is assocaited with.java.util.Date
deleted
The Date that the Check was deleted.java.util.Date
due
The Date that the Check is due.FormulaStep
formulaStep
The FormulaStep that the Check is associated with.JobLine
jobLine
The JobLine that the Check is associated with.int
ncrCount
The number of deviations that have generated as a result of a Check.java.lang.String
reference
An auto generated reference for the Checks.int
status
The Status of the Check.-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description Checks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChecksTemplates
getChecksTemplates()
java.util.Date
getDeleted()
java.util.Date
getDue()
FormulaStep
getFormulaStep()
JobLine
getJobLine()
int
getNcrCount()
java.lang.String
getReference()
int
getStatus()
void
setChecksTemplates(ChecksTemplates checksTemplates)
void
setDeleted(java.util.Date deleted)
void
setDue(java.util.Date due)
void
setFormulaStep(FormulaStep formulaStep)
void
setJobLine(JobLine jobLine)
void
setNcrCount(int ncrCount)
void
setReference(java.lang.String reference)
void
setStatus(int status)
-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
checksTemplates
public ChecksTemplates checksTemplates
The ChecksTemplates that the check is assocaited with.
-
reference
public java.lang.String reference
An auto generated reference for the Checks.
-
due
public java.util.Date due
The Date that the Check is due.
-
deleted
public java.util.Date deleted
The Date that the Check was deleted.
-
ncrCount
public int ncrCount
The number of deviations that have generated as a result of a Check.
-
status
public int status
The Status of the Check.
-
jobLine
public JobLine jobLine
The JobLine that the Check is associated with. The Job that triggered the Check.
-
formulaStep
public FormulaStep formulaStep
The FormulaStep that the Check is associated with. The FormulaStep that triggered the Check.
-
-
Method Detail
-
getDeleted
public java.util.Date getDeleted()
-
setDeleted
public void setDeleted(java.util.Date deleted)
-
getDue
public java.util.Date getDue()
-
setDue
public void setDue(java.util.Date due)
-
getStatus
public int getStatus()
-
setStatus
public void setStatus(int status)
-
getChecksTemplates
public ChecksTemplates getChecksTemplates()
-
setChecksTemplates
public void setChecksTemplates(ChecksTemplates checksTemplates)
-
getReference
public java.lang.String getReference()
-
setReference
public void setReference(java.lang.String reference)
-
getNcrCount
public int getNcrCount()
-
setNcrCount
public void setNcrCount(int ncrCount)
-
getJobLine
public JobLine getJobLine()
-
setJobLine
public void setJobLine(JobLine jobLine)
-
getFormulaStep
public FormulaStep getFormulaStep()
-
setFormulaStep
public void setFormulaStep(FormulaStep formulaStep)
-
-