Package lumis.service.formbuilder
Class Answer
- java.lang.Object
-
- lumis.service.formbuilder.Answer
-
-
Constructor Summary
Constructors Constructor Description Answer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getAnswerDate()
String
getAnswerValues()
Returns the JSON String with the values of allFormFields
answered by the user in theForm
.String
getFormId()
String
getId()
Returns thisAnswer's
identifier.AnswerStatus
getStatus()
String
getUserId()
void
setAnswerDate(Date answerDate)
void
setAnswerValues(String values)
Sets the JSON String with the values of allFormFields
answered by the user in theForm
void
setFormId(String formId)
void
setId(String id)
Sets theAnswer
identifier.void
setStatus(AnswerStatus status)
void
setUserId(String userId)
-
-
-
Method Detail
-
setId
public void setId(String id)
Sets theAnswer
identifier.- Parameters:
id
- the identifier value to set.- Since:
- 8.2.0
-
setAnswerDate
public void setAnswerDate(Date answerDate)
- Parameters:
answerDate
- theDate
value to set.- Since:
- 8.2.0
-
getStatus
public AnswerStatus getStatus()
- Returns:
- the
status
- Since:
- 8.2.0
-
setStatus
public void setStatus(AnswerStatus status)
- Parameters:
status
- thestatus
value to set.- Since:
- 8.2.0
-
getUserId
public String getUserId()
- Returns:
- the user identifier
- Since:
- 8.2.0
-
setUserId
public void setUserId(String userId)
- Parameters:
userId
- the user identifier value to set.- Since:
- 8.2.0
-
getAnswerValues
public String getAnswerValues()
Returns the JSON String with the values of allFormFields
answered by the user in theForm
.- Returns:
- the JSON string of the answers
- Since:
- 8.2.0
-
setAnswerValues
public void setAnswerValues(String values)
Sets the JSON String with the values of allFormFields
answered by the user in theForm
- Parameters:
values
- the JSON String to set as value.- Since:
- 8.2.0
-
-