Package lumis.service.questionnaire
Class Questionnaire
- java.lang.Object
-
- lumis.service.questionnaire.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 Summary
Constructors Constructor Description Questionnaire()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Answer>
getAnswers()
String
getId()
Returns the identifier.String
getMailingList()
Returns the mailing list.List<Question>
getQuestions()
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(List<Answer> answers)
void
setId(String id)
Sets the identifier.void
setMailingList(String mailingList)
Sets the mailing list.void
setQuestions(List<Question> questions)
void
setTitle(String title)
Sets the title.
-
-
-
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)
-
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
-
-