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
Fields inherited from class org.ametys.plugins.survey.data.SurveySession
_answers, _id, _ipAddress, _login, _population, _submittedAt, _surveyId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the answers as a Map indexed by question ID.Get the answers.void
Set 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:SurveySession
Get the answers.- Overrides:
getAnswers
in 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
-