Class Questionnaire


  • public class Questionnaire
    extends Object
    Questionnaire.
    Since:
    8.1.0
    Version:
    $Revision: 18134 $ $Date: 2015-12-15 17:29:32 -0200 (Tue, 15 Dec 2015) $
    • Constructor Detail

      • Questionnaire

        public Questionnaire()
    • Method Detail

      • getId

        public String getId()
        Returns the identifier.
        Returns:
        the identifier.
        Since:
        8.1.0
      • setId

        public void setId​(String id)
        Sets the identifier.
        Parameters:
        id - the identifier.
        Since:
        8.1.0
      • getTitle

        public String getTitle()
        Returns the title.
        Returns:
        the title.
        Since:
        8.1.0
      • setTitle

        public void setTitle​(String title)
        Sets the title.
        Parameters:
        title - the title.
        Since:
        8.1.0
      • isAllowAnswerMoreThanOnce

        public boolean isAllowAnswerMoreThanOnce()
        Returns whether this questionnaire should allow users to answer more than once.
        Returns:
        whether this questionnaire should allow users to answer more than once.
        Since:
        8.1.0
      • setAllowAnswerMoreThanOnce

        public void setAllowAnswerMoreThanOnce​(boolean allowAnswerMoreThanOnce)
        Sets whether this questionnaire should allow users to answer more than once.
        Parameters:
        allowAnswerMoreThanOnce - whether this questionnaire should allow users to answer more than once.
        Since:
        8.1.0
      • isAnonymous

        public boolean isAnonymous()
        Returns whether this questionnaire is anonymous.
        Returns:
        whether this questionnaire is anonymous.
        Since:
        8.1.0
      • setAnonymous

        public void setAnonymous​(boolean anonymous)
      • setQuestions

        public void setQuestions​(List<Question> questions)
      • setAnswers

        public void setAnswers​(List<Answer> answers)
      • getMailingList

        public String getMailingList()
        Returns the mailing list.
        Returns:
        the mailingList.
        Since:
        8.2.0
      • setMailingList

        public void setMailingList​(String mailingList)
        Sets the mailing list.
        Parameters:
        mailingList - the mailing list.
        Since:
        8.2.0