Package lumis.service.questionnaire
Class Answer
- java.lang.Object
-
- lumis.service.questionnaire.Answer
-
public class Answer extends java.lang.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 java.lang.String
getAnswerValues()
Get json string with all answer valuesjava.util.Date
getDate()
Get answer creation datejava.lang.String
getId()
Returns the identifier.Questionnaire
getQuestionnaire()
Get this answer questionnairejava.lang.String
getUserId()
Get user identifiervoid
setAnswerValues(java.lang.String answerValues)
Sets the json string with all answer valuesvoid
setDate(java.util.Date date)
Set date of answer creationvoid
setId(java.lang.String id)
Sets the identifier.void
setQuestionnaire(Questionnaire questionnaire)
Set this answer questionnairevoid
setUserId(java.lang.String userId)
Set user identifier
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the identifier.- Returns:
- the identifier.
- Since:
- 8.1.0
-
setId
public void setId(java.lang.String id)
Sets the identifier.- Parameters:
id
- the identifier.- Since:
- 8.1.0
-
getDate
public java.util.Date getDate()
Get answer creation date- Returns:
- a date
- Since:
- 8.1.0
-
setDate
public void setDate(java.util.Date date)
Set date of answer creation- Parameters:
date
-- Since:
- 8.1.0
-
getAnswerValues
public java.lang.String getAnswerValues()
Get json string with all answer values- Returns:
- string with all answer values
- Since:
- 8.1.0
-
setAnswerValues
public void setAnswerValues(java.lang.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 java.lang.String getUserId()
Get user identifier- Returns:
- Since:
- 8.1.0
-
setUserId
public void setUserId(java.lang.String userId)
Set user identifier- Parameters:
userId
-- Since:
- 8.1.0
-
-