java.lang.Object
ch.tocco.nice2.optional.evaluation.impl.widgets.Question

public class Question extends Object
  • Constructor Details

    • Question

      public Question()
  • Method Details

    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getQuestion

      public String getQuestion()
    • setQuestion

      public void setQuestion(String question)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getRequired

      public Boolean getRequired()
    • setRequired

      public void setRequired(Boolean required)
    • getWritable

      public Boolean getWritable()
    • setWritable

      public void setWritable(Boolean writable)
    • isShareable

      public boolean isShareable()
    • setShareable

      public void setShareable(boolean shareable)
    • getCommentField

      public Boolean getCommentField()
    • setCommentField

      public void setCommentField(Boolean commentField)
    • getSelectedValues

      public List<String> getSelectedValues()
    • addSelectedValues

      public void addSelectedValues(List<String> values)
    • getTextAnswer

      public String getTextAnswer()
    • setTextAnswer

      public void setTextAnswer(String textAnswer)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • getAnswers

      public List<Answer> getAnswers()
    • setAnswers

      public void setAnswers(List<Answer> answers)
    • getParallelQuestions

      public List<Question> getParallelQuestions()
    • addParallelQuestions

      public void addParallelQuestions(List<Question> questions)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object