Class SurveyContext


  • public class SurveyContext
    extends Object
    • Constructor Detail

      • SurveyContext

        public SurveyContext()
    • Method Detail

      • setAllQuestions

        public void setAllQuestions​(List<Question> allQuestions)
      • getSelectedQuestions

        public List<Question> getSelectedQuestions()
      • setSelectedQuestions

        public void setSelectedQuestions​(List<Question> selectedQuestions)
      • updateQuestion

        public boolean updateQuestion​(Question inQuestion)
        update values of question in internal list.
        Parameters:
        number -
        inQuestion -
        Returns:
        false if question not found.