public class Response extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
CONSTANT_STATUS_ACTIVE
Active status value
|
static int |
CONSTANT_STATUS_ANONYMIZED
Anonymized status value
|
static String |
RESOURCE_TYPE
The resource type of responses
|
Constructor and Description |
---|
Response()
Default constructor
|
Response(Response response)
Creates a response that is a copy of another response
|
Modifier and Type | Method and Description |
---|---|
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() |
boolean |
getIsImage()
Get the isImage of this response
|
int |
getIterationNumber()
Return the iteration number of the response
|
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 |
setIsImage(boolean bIsImage)
Set the isImage of this response
|
void |
setIterationNumber(int nIterationNumber)
Set the iteration number 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
|
public static final int CONSTANT_STATUS_ACTIVE
public static final int CONSTANT_STATUS_ANONYMIZED
public static final String RESOURCE_TYPE
public Response()
public Response(Response response)
response
- The response to copypublic Entry getEntry()
public void setEntry(Entry entry)
entry
- the question associate to the responsepublic int getIterationNumber()
public void setIterationNumber(int nIterationNumber)
nIterationNumber
- the nIterationNumber to setpublic int getIdResponse()
public void setIdResponse(int idResponse)
idResponse
- the id of the responsepublic Field getField()
public void setField(Field field)
field
- fieldpublic String getToStringValueResponse()
public void setToStringValueResponse(String strValueResponse)
strValueResponse
- the string value of the responsepublic void setResponseValue(String strResponseValue)
strResponseValue
- the response valuepublic String getResponseValue()
public int getStatus()
public void setStatus(int nStatus)
nStatus
- The status of this responsepublic fr.paris.lutece.portal.business.file.File getFile()
public void setFile(fr.paris.lutece.portal.business.file.File file)
file
- The file associated with this responsepublic boolean getIsImage()
public void setIsImage(boolean bIsImage)
bIsImage
- of this responseCopyright © 2020 City of Paris. All rights reserved.