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

java.lang.Object
  extended by fr.paris.lutece.plugins.genericattributes.business.Response
All Implemented Interfaces:
Serializable

public class Response
extends Object
implements Serializable

class Response

See Also:
Serialized Form

Field Summary
static int CONSTANT_STATUS_ACTIVE
          Active status value
static int CONSTANT_STATUS_ANONYMIZED
          Anonymized status value
 
Constructor Summary
Response()
          Default constructor
Response(Response response)
          Creates a response that is a copy of another response
 
Method Summary
 Entry getEntry()
           
 Field getField()
          get the field associate to the response
 fr.paris.lutece.portal.business.file.File getFile()
          Get the file associated with this response
 int getIdResponse()
           
 String getResponseValue()
          Get the response value
 int getStatus()
          Get the status of this response
 String getToStringValueResponse()
          return the string value response
 void setEntry(Entry entry)
          set the question associate to the response
 void setField(Field field)
          set the field associate to the response
 void setFile(fr.paris.lutece.portal.business.file.File file)
          Set the file associated with this response
 void setIdResponse(int idResponse)
          set the id of the response
 void setResponseValue(String strResponseValue)
          Set the response value
 void setStatus(int nStatus)
          Set the status of this response
 void setToStringValueResponse(String strValueResponse)
          set the string value response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTANT_STATUS_ACTIVE

public static final int CONSTANT_STATUS_ACTIVE
Active status value

See Also:
Constant Field Values

CONSTANT_STATUS_ANONYMIZED

public static final int CONSTANT_STATUS_ANONYMIZED
Anonymized status value

See Also:
Constant Field Values
Constructor Detail

Response

public Response()
Default constructor


Response

public Response(Response response)
Creates a response that is a copy of another response

Parameters:
response - The response to copy
Method Detail

getEntry

public Entry getEntry()
Returns:
the question associate to the response

setEntry

public void setEntry(Entry 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 String getToStringValueResponse()
return the string value response

Returns:
the string value of the response

setToStringValueResponse

public void setToStringValueResponse(String strValueResponse)
set the string value response

Parameters:
strValueResponse - the string value of the response

setResponseValue

public void setResponseValue(String strResponseValue)
Set the response value

Parameters:
strResponseValue - the response value

getResponseValue

public String getResponseValue()
Get the response value

Returns:
the response value

getStatus

public int getStatus()
Get the status of this response

Returns:
The status of this response

setStatus

public void setStatus(int nStatus)
Set the status of this response

Parameters:
nStatus - The status of this response

getFile

public fr.paris.lutece.portal.business.file.File getFile()
Get the file associated with this response

Returns:
the file The file associated with this response

setFile

public void setFile(fr.paris.lutece.portal.business.file.File file)
Set the file associated with this response

Parameters:
file - The file associated with this response


Copyright © 2014 Mairie de Paris. All Rights Reserved.