Package lumis.service.questionnaire
Class Answer
- java.lang.Object
-
- lumis.service.questionnaire.Answer
-
public class Answer extends Object
Answer.- Since:
- 8.1.0
- Version:
- $Revision: 17592 $ $Date: 2015-07-17 11:19:32 -0300 (Fri, 17 Jul 2015) $
-
-
Constructor Summary
Constructors Constructor Description Answer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnswerValues()
Get json string with all answer valuesDate
getDate()
Get answer creation dateString
getId()
Returns the identifier.Questionnaire
getQuestionnaire()
Get this answer questionnaireString
getUserId()
Get user identifiervoid
setAnswerValues(String answerValues)
Sets the json string with all answer valuesvoid
setDate(Date date)
Set date of answer creationvoid
setId(String id)
Sets the identifier.void
setQuestionnaire(Questionnaire questionnaire)
Set this answer questionnairevoid
setUserId(String userId)
Set user identifier
-
-
-
Method Detail
-
getId
public String getId()
Returns the identifier.- Returns:
- the identifier.
- Since:
- 8.1.0
-
setId
public void setId(String id)
Sets the identifier.- Parameters:
id
- the identifier.- Since:
- 8.1.0
-
getDate
public Date getDate()
Get answer creation date- Returns:
- a date
- Since:
- 8.1.0
-
setDate
public void setDate(Date date)
Set date of answer creation- Parameters:
date
-- Since:
- 8.1.0
-
getAnswerValues
public String getAnswerValues()
Get json string with all answer values- Returns:
- string with all answer values
- Since:
- 8.1.0
-
setAnswerValues
public void setAnswerValues(String answerValues)
Sets the json string with all answer values- Since:
- 8.1.0
-
getQuestionnaire
public Questionnaire getQuestionnaire()
Get this answer questionnaire- Returns:
- Since:
- 8.1.0
-
setQuestionnaire
public void setQuestionnaire(Questionnaire questionnaire)
Set this answer questionnaire- Parameters:
questionnaire
-- Since:
- 8.1.0
-
getUserId
public String getUserId()
Get user identifier- Returns:
- Since:
- 8.1.0
-
setUserId
public void setUserId(String userId)
Set user identifier- Parameters:
userId
-- Since:
- 8.1.0
-
-