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()
SurveyAnswer
getQuestionId
in class SurveyAnswer
public void setQuestionId(String questionId)
SurveyAnswer
setQuestionId
in class SurveyAnswer
questionId
- the questionId to setpublic Map<String,Set<String>> getValuesMap()
public void setValueMap(Map<String,Set<String>> values)
values
- the values to setpublic String getValue()
SurveyAnswer
getValue
in class SurveyAnswer
public void setValue(String value)
SurveyAnswer
setValue
in class SurveyAnswer
value
- the value to set