public class Questionnaire extends Object
Constructor and Description |
---|
Questionnaire() |
Modifier and Type | Method and 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.
|
public String getId()
public void setId(String id)
id
- the identifier.public String getTitle()
public void setTitle(String title)
title
- the title.public boolean isAllowAnswerMoreThanOnce()
public void setAllowAnswerMoreThanOnce(boolean allowAnswerMoreThanOnce)
allowAnswerMoreThanOnce
- whether this questionnaire should allow users to answer more than once.public boolean isAnonymous()
public void setAnonymous(boolean anonymous)
public String getMailingList()
public void setMailingList(String mailingList)
mailingList
- the mailing list.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.