Package lumis.service.questionnaire
Class Questionnaire
- java.lang.Object
-
- lumis.service.questionnaire.Questionnaire
-
public class Questionnaire extends java.lang.Object
Questionnaire.- Since:
- 8.1.0
- Version:
- $Revision: 18134 $ $Date: 2015-12-15 17:29:32 -0200 (Tue, 15 Dec 2015) $
-
-
Constructor Summary
Constructors Constructor Description Questionnaire()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Answer>
getAnswers()
java.lang.String
getId()
Returns the identifier.java.lang.String
getMailingList()
Returns the mailing list.java.util.List<Question>
getQuestions()
java.lang.String
getTitle()
Returns the title.boolean
isAllowAnswerMoreThanOnce()
Returns whether this questionnaire should allow users to answer more than once.boolean
isAnonymous()
Returns whether this questionnaire is anonymous.void
setAllowAnswerMoreThanOnce(boolean allowAnswerMoreThanOnce)
Sets whether this questionnaire should allow users to answer more than once.void
setAnonymous(boolean anonymous)
void
setAnswers(java.util.List<Answer> answers)
void
setId(java.lang.String id)
Sets the identifier.void
setMailingList(java.lang.String mailingList)
Sets the mailing list.void
setQuestions(java.util.List<Question> questions)
void
setTitle(java.lang.String title)
Sets the title.
-
-
-
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
-
-