Class ChecksAnswer


  • public class ChecksAnswer
    extends HibernateObject
    This class represents a possible Answer to a Question
    Author:
    SGSystems
    • Field Detail

      • answer

        public java.lang.String answer
        *Primary Key* The Possible Answer
      • severity

        public int severity
        *Primary Key* The question that this answer is applicable to
      • pictureRequired

        public int pictureRequired
        Set to take a picture if this answer is selected
      • requireAdditionalComments

        public int requireAdditionalComments
        When ticked, the User will be ask to provide more info
      • notifiesGroup

        public UserGroup notifiesGroup
        The UserGroup that is notified when the answer has been selected.
      • checksQuestion

        public ChecksQuestion checksQuestion
        The check that is associated with the answer. It's the question that is asked.
      • deleted

        public java.util.Date deleted
        The Date that the answer was deleted.
    • Constructor Detail

      • ChecksAnswer

        public ChecksAnswer()
    • Method Detail

      • getPictureRequired

        public int getPictureRequired()
      • setPictureRequired

        public void setPictureRequired​(int pictureRequired)
      • getRequireAdditionalComments

        public int getRequireAdditionalComments()
      • setRequireAdditionalComments

        public void setRequireAdditionalComments​(int requireAdditionalComments)
      • getSeverity

        public int getSeverity()
      • setSeverity

        public void setSeverity​(int severity)
      • getNotifiesGroup

        public UserGroup getNotifiesGroup()
      • setNotifiesGroup

        public void setNotifiesGroup​(UserGroup notifiesGroup)
      • getAnswer

        public java.lang.String getAnswer()
      • setAnswer

        public void setAnswer​(java.lang.String answer)
      • setChecksQuestion

        public void setChecksQuestion​(ChecksQuestion checksQuestion)
      • getDeleted

        public java.util.Date getDeleted()
      • setDeleted

        public void setDeleted​(java.util.Date deleted)