Class FormQuestionResponse
java.lang.Object
fr.paris.lutece.plugins.forms.business.FormQuestionResponse
- All Implemented Interfaces:
Serializable
This is the business class for the object FormQuestionResponse
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<fr.paris.lutece.plugins.genericattributes.business.Response>fr.paris.lutece.plugins.genericattributes.business.GenericAttributeErrorgetError()Gives the errorintgetId()intintGives the question associated to this question responsebooleanhasError()Tests if the instance has an errorvoidsetEntryResponse(List<fr.paris.lutece.plugins.genericattributes.business.Response> entryResponse) voidsetError(fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError error) Sets an errorvoidsetId(int nId) voidsetIdFormResponse(int nIdFormResponse) voidsetIdStep(int nIdStep) voidsetQuestion(Question question) Sets the question associated to this question response
-
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
Gives the question associated to this question response- Returns:
- the question
-
setQuestion
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
- 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:
trueif the instance has an error,falseotherwise
-
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
-