Package org.ametys.plugins.survey.answer
Class ProcessInputAction.SurveyInput
java.lang.Object
org.ametys.plugins.survey.data.SurveySession
org.ametys.plugins.survey.answer.ProcessInputAction.SurveyInput
- Enclosing class:
 - ProcessInputAction
 
Survey session with answers.
- 
Field Summary
FieldsFields inherited from class org.ametys.plugins.survey.data.SurveySession
_answers, _id, _ipAddress, _login, _population, _submittedAt, _surveyId - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGet the answers as a Map indexed by question ID.Get the answers.voidSet the answers.Methods inherited from class org.ametys.plugins.survey.data.SurveySession
getId, getIpAddress, getLogin, getPopulation, getSubmittedAt, getSurveyId, getUser, setAnswers, setId, setIpAddress, setLogin, setPopulation, setSubmittedAt, setSurveyId, setUser 
- 
Field Details
- 
_inputAnswers
Answers. 
 - 
 - 
Constructor Details
- 
SurveyInput
public SurveyInput() 
 - 
 - 
Method Details
- 
getAnswers
Description copied from class:SurveySessionGet the answers.- Overrides:
 getAnswersin classSurveySession- Returns:
 - the answers
 
 - 
getAnswerMap
Get the answers as a Map indexed by question ID.- Returns:
 - the answer Map.
 
 - 
setAnswerList
Set the answers.- Parameters:
 answers- the answers to set
 
 -