Class FormQuestionResponse

java.lang.Object
fr.paris.lutece.plugins.forms.business.FormQuestionResponse

public class FormQuestionResponse extends Object
This is the business class for the object FormQuestionResponse
  • Field Details

    • CONSTANT_ID_NEW_RESPONSE

      public static final int CONSTANT_ID_NEW_RESPONSE
      See Also:
  • Constructor Details

    • FormQuestionResponse

      public FormQuestionResponse()
  • Method Details

    • getId

      public int getId()
      Returns:
      the _nId
    • setId

      public void setId(int nId)
      Parameters:
      nId - the nId to set
    • getIdFormResponse

      public int getIdFormResponse()
      Returns:
      the _nIdFormResponse
    • setIdFormResponse

      public void setIdFormResponse(int nIdFormResponse)
      Parameters:
      nIdFormResponse - the nIdFormResponse to set
    • getQuestion

      public Question getQuestion()
      Gives the question associated to this question response
      Returns:
      the question
    • setQuestion

      public void setQuestion(Question question)
      Sets the question associated to this question response
      Parameters:
      question - the question
    • getIdStep

      public int getIdStep()
      Returns:
      the _nIdStep
    • setIdStep

      public void setIdStep(int nIdStep)
      Parameters:
      nIdStep - the nIdStep to set
    • getEntryResponse

      public List<fr.paris.lutece.plugins.genericattributes.business.Response> getEntryResponse()
      Returns:
      the _entryResponse
    • setEntryResponse

      public void setEntryResponse(List<fr.paris.lutece.plugins.genericattributes.business.Response> entryResponse)
      Parameters:
      entryResponse - the entryResponse to set
    • hasError

      public boolean hasError()
      Tests if the instance has an error
      Returns:
      true if the instance has an error, false otherwise
    • getError

      public fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError getError()
      Gives the error
      Returns:
      the error
    • setError

      public void setError(fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError error)
      Sets an error
      Parameters:
      error - the error to set