Class Answer

java.lang.Object
org.ametys.plugins.forms.data.Answer

public class Answer extends Object
Object representing an answer with common attribute for each forms
  • 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 SQL
      formId - the form id
      formLabel - the form label
      creationDate - the creation date
      workflowName - the workflow name
      workflowId - the workflow id
  • Method Details

    • getId

      public String getId()
      Get the id in the table SQL
      Returns:
      the id in the table SQL
    • getFormId

      public String getFormId()
      Get the form id
      Returns:
      the form id
    • getFormLabel

      public String 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.