Class Response
java.lang.Object
fr.paris.lutece.plugins.form.business.Response
class Response
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntry()getField()get the field associate to the responsethe file name if the response value is a fileintreturn the string value responsebyte[]voidset the question associate to the responsevoidset the field associate to the responsevoidsetFileExtension(String fileExtension) set the file extension if the response value is a filevoidsetFileName(String fileName) the file name if the response value is a filevoidsetFormSubmit(FormSubmit formSubmit) the form submit of the responsevoidsetIdResponse(int idResponse) set the id of the responsevoidsetToStringValueResponse(String strValueResponse) set the string value responsevoidsetValueResponse(byte[] valueResponse) set the value of the response
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
getFormSubmit
- Returns:
- the form submit of the response
-
setFormSubmit
the form submit of the response- Parameters:
formSubmit- the form submit of the response
-
getEntry
- Returns:
- the question associate to the response
-
setEntry
set the question associate to the response- Parameters:
entry- the question associate to the response
-
getIdResponse
public int getIdResponse()- Returns:
- the id of the response
-
setIdResponse
public void setIdResponse(int idResponse) set the id of the response- Parameters:
idResponse- the id of the response
-
getValueResponse
public byte[] getValueResponse()- Returns:
- the value of the response
-
setValueResponse
public void setValueResponse(byte[] valueResponse) set the value of the response- Parameters:
valueResponse- the value of the response
-
getField
get the field associate to the response- Returns:
- the field associate to the response
-
setField
set the field associate to the response- Parameters:
field- field
-
getToStringValueResponse
return the string value response- Returns:
- the string value of the response
-
setToStringValueResponse
set the string value response- Parameters:
strValueResponse- the string value of the response
-
getFileExtension
- Returns:
- the file extension if the response value is a file
-
setFileExtension
set the file extension if the response value is a file- Parameters:
fileExtension- the file extension if the response value is a file
-
getFileName
the file name if the response value is a file- Returns:
- the file name if the response value is a file
-
setFileName
the file name if the response value is a file- Parameters:
fileName- the file name if the response value is a file
-