Package com.sgs.common.database
Class ChecksLog
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.ChecksLog
-
public class ChecksLog extends HibernateObject
This class represents ChecksLog which interact with the SG System- Author:
- SGSystems
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChecksLog.Status
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
additionalComments
Any additional comments that the User made when performing the Check.java.lang.String
answer
The answer that was selected / entered.Checks
checks
The Check that is associated with the log.ChecksAnswer
checksAnswer
The actual answer / response that was given.ChecksQuestion
checksQuestion
The actual check / question that was asked.DeviationDetails
deviationDetails
The deviation that was generated as a result of this Check.java.lang.String
generatedDeviation
If a deviation was generated as a result of the Check 'Y' or 'N'.User
performedByUser
The User that performed the Check.java.lang.String
question
The question / check that was asked.int
severity
The severity of the response that the User gave against the Check.Terminal
terminal
On which device the Check was performed.java.util.Date
timestamp
The Date when the operator responded to the check or did the Check.-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description ChecksLog()
-
Method Summary
-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
checks
public Checks checks
The Check that is associated with the log.
-
question
public java.lang.String question
The question / check that was asked.
-
answer
public java.lang.String answer
The answer that was selected / entered.
-
timestamp
public java.util.Date timestamp
The Date when the operator responded to the check or did the Check.
-
generatedDeviation
public java.lang.String generatedDeviation
If a deviation was generated as a result of the Check 'Y' or 'N'.
-
deviationDetails
public DeviationDetails deviationDetails
The deviation that was generated as a result of this Check.
-
performedByUser
public User performedByUser
The User that performed the Check.
-
severity
public int severity
The severity of the response that the User gave against the Check.
-
checksAnswer
public ChecksAnswer checksAnswer
The actual answer / response that was given.
-
terminal
public Terminal terminal
On which device the Check was performed.
-
additionalComments
public java.lang.String additionalComments
Any additional comments that the User made when performing the Check.
-
checksQuestion
public ChecksQuestion checksQuestion
The actual check / question that was asked.
-
-
Method Detail
-
getChecks
public Checks getChecks()
-
setChecks
public void setChecks(Checks checks)
-
getQuestion
public java.lang.String getQuestion()
-
setQuestion
public void setQuestion(java.lang.String question)
-
getAnswer
public java.lang.String getAnswer()
-
setAnswer
public void setAnswer(java.lang.String answer)
-
getTimestamp
public java.util.Date getTimestamp()
-
setTimestamp
public void setTimestamp(java.util.Date timestamp)
-
getGeneratedDeviation
public java.lang.String getGeneratedDeviation()
-
setGeneratedDeviation
public void setGeneratedDeviation(java.lang.String generatedDeviation)
-
getPerformedByUser
public User getPerformedByUser()
-
setPerformedByUser
public void setPerformedByUser(User performedByUser)
-
getDeviationDetails
public DeviationDetails getDeviationDetails()
-
setDeviationDetails
public void setDeviationDetails(DeviationDetails deviationDetails)
-
getSeverity
public int getSeverity()
-
setSeverity
public void setSeverity(int severity)
-
getSeverityEnum
public ChecksAnswer.Severity getSeverityEnum()
-
getChecksAnswer
public ChecksAnswer getChecksAnswer()
-
setChecksAnswer
public void setChecksAnswer(ChecksAnswer checksAnswer)
-
getTerminal
public Terminal getTerminal()
-
setTerminal
public void setTerminal(Terminal terminal)
-
getAdditionalComments
public java.lang.String getAdditionalComments()
-
setAdditionalComments
public void setAdditionalComments(java.lang.String additionalComments)
-
getChecksQuestion
public ChecksQuestion getChecksQuestion()
-
setChecksQuestion
public void setChecksQuestion(ChecksQuestion checksQuestion)
-
-