Class FormQuestionResponse
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.FormQuestionResponse
-
public class FormQuestionResponse extends java.lang.ObjectThis is the business class for the object FormQuestionResponse
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTANT_ID_NEW_RESPONSE
-
Constructor Summary
Constructors Constructor Description 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.GenericAttributeErrorgetError()Gives the errorintgetId()intgetIdFormResponse()intgetIdStep()QuestiongetQuestion()Gives the question associated to this question responsebooleanhasError()Tests if the instance has an errorvoidsetEntryResponse(java.util.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 Detail
-
CONSTANT_ID_NEW_RESPONSE
public static final int CONSTANT_ID_NEW_RESPONSE
- See Also:
- Constant Field Values
-
-
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:
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
-
-