Class FormQuestionResponse


  • public class FormQuestionResponse
    extends java.lang.Object
    This is the business class for the object FormQuestionResponse
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<fr.paris.lutece.plugins.genericattributes.business.Response> getEntryResponse()  
      fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError getError()
      Gives the error
      int getId()  
      int getIdFormResponse()  
      int getIdStep()  
      Question getQuestion()
      Gives the question associated to this question response
      boolean hasError()
      Tests if the instance has an error
      void setEntryResponse​(java.util.List<fr.paris.lutece.plugins.genericattributes.business.Response> entryResponse)  
      void setError​(fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError error)
      Sets an error
      void setId​(int nId)  
      void setIdFormResponse​(int nIdFormResponse)  
      void setIdStep​(int nIdStep)  
      void setQuestion​(Question question)
      Sets the question associated to this question response
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CONSTANT_ID_NEW_RESPONSE

        public static final int CONSTANT_ID_NEW_RESPONSE
        See Also:
        Constant Field Values
    • Constructor Detail

      • FormQuestionResponse

        public FormQuestionResponse()
    • Method Detail

      • 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 java.util.List<fr.paris.lutece.plugins.genericattributes.business.Response> getEntryResponse()
        Returns:
        the _entryResponse
      • setEntryResponse

        public void setEntryResponse​(java.util.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