Class Response
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.Response
-
public class Response extends java.lang.Objectclass Response
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEntrygetEntry()FieldgetField()get the field associate to the responsejava.lang.StringgetFileExtension()java.lang.StringgetFileName()the file name if the response value is a fileFormSubmitgetFormSubmit()intgetIdResponse()java.lang.StringgetToStringValueResponse()return the string value responsebyte[]getValueResponse()voidsetEntry(IEntry entry)set the question associate to the responsevoidsetField(Field field)set the field associate to the responsevoidsetFileExtension(java.lang.String fileExtension)set the file extension if the response value is a filevoidsetFileName(java.lang.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(java.lang.String strValueResponse)set the string value responsevoidsetValueResponse(byte[] valueResponse)set the value of the response
-
-
-
Method Detail
-
getFormSubmit
public FormSubmit getFormSubmit()
- Returns:
- the form submit of the response
-
setFormSubmit
public void setFormSubmit(FormSubmit formSubmit)
the form submit of the response- Parameters:
formSubmit- the form submit of the response
-
getEntry
public IEntry getEntry()
- Returns:
- the question associate to the response
-
setEntry
public void setEntry(IEntry entry)
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
public Field getField()
get the field associate to the response- Returns:
- the field associate to the response
-
setField
public void setField(Field field)
set the field associate to the response- Parameters:
field- field
-
getToStringValueResponse
public java.lang.String getToStringValueResponse()
return the string value response- Returns:
- the string value of the response
-
setToStringValueResponse
public void setToStringValueResponse(java.lang.String strValueResponse)
set the string value response- Parameters:
strValueResponse- the string value of the response
-
getFileExtension
public java.lang.String getFileExtension()
- Returns:
- the file extension if the response value is a file
-
setFileExtension
public void setFileExtension(java.lang.String fileExtension)
set the file extension if the response value is a file- Parameters:
fileExtension- the file extension if the response value is a file
-
getFileName
public java.lang.String getFileName()
the file name if the response value is a file- Returns:
- the file name if the response value is a file
-
setFileName
public void setFileName(java.lang.String fileName)
the file name if the response value is a file- Parameters:
fileName- the file name if the response value is a file
-
-