fr.paris.lutece.plugins.form.business
Class Response

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.Response

public class Response
extends java.lang.Object

class Response


Constructor Summary
Response()
           
 
Method Summary
 IEntry getEntry()
           
 Field getField()
          get the field associate to the response
 File getFile()
          Get file
 java.lang.String getFileExtension()
          Deprecated. the file is now stored in class File
 java.lang.String getFileName()
          Deprecated. the file name is now stored in class File
 FormSubmit getFormSubmit()
           
 int getIdResponse()
           
 java.lang.String getResponseValue()
          Get the response value
 java.lang.String getToStringValueResponse()
          return the string value response
 byte[] getValueResponse()
          Deprecated. The response is now in String and not in byte
 void setEntry(IEntry entry)
          set the question associate to the response
 void setField(Field field)
          set the field associate to the response
 void setFile(File file)
          Set file
 void setFileExtension(java.lang.String fileExtension)
          Deprecated. the file is now stored in class File
 void setFileName(java.lang.String fileName)
          Deprecated. the file name is now stored in class File
 void setFormSubmit(FormSubmit formSubmit)
          the form submit of the response
 void setIdResponse(int idResponse)
          set the id of the response
 void setResponseValue(java.lang.String strResponseValue)
          Set the response value
 void setToStringValueResponse(java.lang.String strValueResponse)
          set the string value response
 void setValueResponse(byte[] valueResponse)
          Deprecated. The response is now in String and not in byte
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Response

public 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

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

setFile

public void setFile(File file)
Set file

Parameters:
file - the file

getFile

public File getFile()
Get file

Returns:
the file

setResponseValue

public void setResponseValue(java.lang.String strResponseValue)
Set the response value

Parameters:
strResponseValue - the response value

getResponseValue

public java.lang.String getResponseValue()
Get the response value

Returns:
the response value

getValueResponse

public byte[] getValueResponse()
Deprecated. The response is now in String and not in byte

Returns:
the value of the response
Since:
2.4.8
See Also:
File}

setValueResponse

public void setValueResponse(byte[] valueResponse)
Deprecated. The response is now in String and not in byte

set the value of the response

Parameters:
valueResponse - the value of the response
Since:
2.4.8
See Also:
File}

setFileName

public void setFileName(java.lang.String fileName)
Deprecated. the file name is now stored in class File

the file name if the response value is a file

Parameters:
fileName - the file name if the response value is a file
Since:
2.4.8
See Also:
File}

getFileExtension

public java.lang.String getFileExtension()
Deprecated. the file is now stored in class File

Returns:
the file extension if the response value is a file
Since:
2.4.8
See Also:
File}

setFileExtension

public void setFileExtension(java.lang.String fileExtension)
Deprecated. the file is now stored in class File

set the file extension if the response value is a file

Parameters:
fileExtension - the file extension if the response value is a file
Since:
2.4.8
See Also:
File}

getFileName

public java.lang.String getFileName()
Deprecated. the file name is now stored in class File

the file name if the response value is a file

Returns:
the file name if the response value is a file
Since:
2.4.8
See Also:
File}


Copyright © 2012 Mairie de Paris. All Rights Reserved.