Class Question


  • public class Question
    extends HibernateObject
    This class represents a question which can be asked through a QALink Questions can also be links or image capture events
    Author:
    SGSystems
    • Field Detail

      • question

        public java.lang.String question
        The question to be asked
      • allowCustom

        public int allowCustom
        Boolean indicating whether a custom response can be provided (typed and not selected)
      • qaGroup

        public java.lang.String qaGroup
        The group of questions that this belongs to
      • textColor

        public java.lang.String textColor
        Overrides the color of the text
    • Constructor Detail

      • Question

        public Question​(java.lang.String message)
      • Question

        public Question()
    • Method Detail

      • getQuestion

        public java.lang.String getQuestion()
      • setQuestion

        public void setQuestion​(java.lang.String question)
      • getAllowCustom

        public int getAllowCustom()
      • setAllowCustom

        public void setAllowCustom​(int allowCustom)
      • getDeleted

        public java.util.Date getDeleted()
      • setDeleted

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • getQaGroup

        public java.lang.String getQaGroup()
      • setQaGroup

        public void setQaGroup​(java.lang.String qaGroup)
      • getTextColor

        public java.lang.String getTextColor()
      • setTextColor

        public void setTextColor​(java.lang.String textColor)
      • getActualTextColor

        public java.awt.Color getActualTextColor()
      • setActualTextColor

        public void setActualTextColor​(java.awt.Color color)