Class ChecksLog


  • public class ChecksLog
    extends HibernateObject
    This class represents ChecksLog which interact with the SG System
    Author:
    SGSystems
    • 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.
    • Constructor Detail

      • ChecksLog

        public ChecksLog()
    • 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)
      • setDeviationDetails

        public void setDeviationDetails​(DeviationDetails deviationDetails)
      • getSeverity

        public int getSeverity()
      • setSeverity

        public void setSeverity​(int severity)
      • 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)
      • setChecksQuestion

        public void setChecksQuestion​(ChecksQuestion checksQuestion)