Class Questionnaire


  • public class Questionnaire
    extends java.lang.Object
    Questionnaire.
    Since:
    8.1.0
    Version:
    $Revision$ $Date$
    • Constructor Summary

      Constructors 
      Constructor Description
      Questionnaire()  
    • Constructor Detail

      • Questionnaire

        public Questionnaire()
    • Method Detail

      • getId

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

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

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

        public void setTitle​(java.lang.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)
      • getQuestions

        public java.util.List<Question> getQuestions()
      • setQuestions

        public void setQuestions​(java.util.List<Question> questions)
      • getAnswers

        public java.util.List<Answer> getAnswers()
      • setAnswers

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

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

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