Package org.ametys.plugins.forms.data
Class Answer
java.lang.Object
org.ametys.plugins.forms.data.Answer
Object representing an answer with common attribute for each forms
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the creation dateGet the form idGet the form labelgetId()
Get the id in the table SQLGet the workflow id.Get the workflow name
-
Constructor Details
-
Answer
public Answer(String id, String formId, String formLabel, Timestamp creationDate, String workflowName, Integer workflowId) The constructor- Parameters:
id
- the id of the answer in SQLformId
- the form idformLabel
- the form labelcreationDate
- the creation dateworkflowName
- the workflow nameworkflowId
- the workflow id
-
-
Method Details
-
getId
Get the id in the table SQL- Returns:
- the id in the table SQL
-
getFormId
Get the form id- Returns:
- the form id
-
getFormLabel
Get the form label- Returns:
- the form label
-
getCreationDate
Get the creation date- Returns:
- the creation date
-
getWorkflowName
Get the workflow name- Returns:
- the workflow workflow
-
getWorkflowId
Get the workflow id. Can be null.- Returns:
- the workflow id. Can be null.
-