protected class ProcessInputAction.SurveyInputAnswer extends SurveyAnswer
| Modifier and Type | Field and Description |
|---|---|
protected SurveyQuestion |
_question
The question.
|
protected Map<String,Set<String>> |
_values
The answer values.
|
_questionId, _value| Constructor and Description |
|---|
SurveyInputAnswer()
Build a SurveyAnswer object.
|
SurveyInputAnswer(SurveyQuestion question,
Map<String,Set<String>> values)
Build a SurveyAnswer object.
|
| Modifier and Type | Method and Description |
|---|---|
SurveyQuestion |
getQuestion()
Get the question.
|
String |
getQuestionId()
Get the questionId.
|
String |
getValue()
Get the value.
|
Map<String,Set<String>> |
getValuesMap()
Get the values.
|
void |
setQuestion(SurveyQuestion question)
Set the question.
|
void |
setQuestionId(String questionId)
Set the questionId.
|
void |
setValue(String value)
Set the value.
|
void |
setValueMap(Map<String,Set<String>> values)
Set the values.
|
protected SurveyQuestion _question
public SurveyInputAnswer()
public SurveyInputAnswer(SurveyQuestion question, Map<String,Set<String>> values)
question - the question ID.values - the answer value.public SurveyQuestion getQuestion()
public void setQuestion(SurveyQuestion question)
question - the question to setpublic String getQuestionId()
SurveyAnswergetQuestionId in class SurveyAnswerpublic void setQuestionId(String questionId)
SurveyAnswersetQuestionId in class SurveyAnswerquestionId - the questionId to setpublic Map<String,Set<String>> getValuesMap()
public void setValueMap(Map<String,Set<String>> values)
values - the values to setpublic String getValue()
SurveyAnswergetValue in class SurveyAnswerpublic void setValue(String value)
SurveyAnswersetValue in class SurveyAnswervalue - the value to set