Class Response
java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.Response
- All Implemented Interfaces:
Serializable
class Response
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intActive status valuestatic final intAnonymized status valuestatic final StringThe resource type of responses -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntry()getField()get the field associate to the responsefr.paris.lutece.portal.business.file.FilegetFile()Get the file associated with this responseintbooleanGet the isImage of this responseintReturn the iteration number of the responseGet the response valueintintGet the status of this responsereturn the string value responsevoidset the question associate to the responsevoidset the field associate to the responsevoidsetFile(fr.paris.lutece.portal.business.file.File file) Set the file associated with this responsevoidsetIdResponse(int idResponse) set the id of the responsevoidsetIsImage(boolean bIsImage) Set the isImage of this responsevoidsetIterationNumber(int nIterationNumber) Set the iteration number of the responsevoidsetResponseValue(String strResponseValue) Set the response valuevoidsetSortOrder(int nSortOrder) voidsetStatus(int nStatus) Set the status of this responsevoidsetToStringValueResponse(String strValueResponse) set the string value response
-
Field Details
-
CONSTANT_STATUS_ACTIVE
public static final int CONSTANT_STATUS_ACTIVEActive status value- See Also:
-
CONSTANT_STATUS_ANONYMIZED
public static final int CONSTANT_STATUS_ANONYMIZEDAnonymized status value- See Also:
-
RESOURCE_TYPE
The resource type of responses- See Also:
-
-
Constructor Details
-
Response
public Response()Default constructor -
Response
Creates a response that is a copy of another response- Parameters:
response- The response to copy
-
-
Method Details
-
getEntry
- Returns:
- the question associate to the response
-
setEntry
set the question associate to the response- Parameters:
entry- the question associate to the response
-
getIterationNumber
public int getIterationNumber()Return the iteration number of the response- Returns:
- the nIterationNumber
-
setIterationNumber
public void setIterationNumber(int nIterationNumber) Set the iteration number of the response- Parameters:
nIterationNumber- the nIterationNumber to set
-
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
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
-
setResponseValue
Set the response value- Parameters:
strResponseValue- the response value
-
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
-
getIsImage
public boolean getIsImage()Get the isImage of this response- Returns:
- The bIsImage of this response
-
setIsImage
public void setIsImage(boolean bIsImage) Set the isImage of this response- Parameters:
bIsImage- of this response
-
getSortOrder
public int getSortOrder()- Returns:
- the nSortOrder
-
setSortOrder
public void setSortOrder(int nSortOrder) - Parameters:
nSortOrder- the nSortOrder to set
-