Class ResponseRecapDTO
java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.Response
fr.paris.lutece.plugins.appointment.web.dto.ResponseRecapDTO
- All Implemented Interfaces:
Serializable,Comparable<ResponseRecapDTO>
public final class ResponseRecapDTO
extends fr.paris.lutece.plugins.genericattributes.business.Response
implements Comparable<ResponseRecapDTO>
DTO that represent a response to display a recap
- Author:
- Laurent Payen
- See Also:
-
Field Summary
Fields inherited from class fr.paris.lutece.plugins.genericattributes.business.Response
CONSTANT_STATUS_ACTIVE, CONSTANT_STATUS_ANONYMIZED, RESOURCE_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionResponseRecapDTO(fr.paris.lutece.plugins.genericattributes.business.Response response) Creates a new response DTO for recap from a responseResponseRecapDTO(fr.paris.lutece.plugins.genericattributes.business.Response response, String strRecapValue) Creates a new response DTO for recap from a response -
Method Summary
Modifier and TypeMethodDescriptionintbooleanfr.paris.lutece.plugins.genericattributes.business.EntrygetEntry()fr.paris.lutece.plugins.genericattributes.business.FieldgetField()fr.paris.lutece.portal.business.file.FilegetFile()intGet the recap value of this responseintinthashCode()voidsetRecapValue(String strRecapValue) Set the recap value of this responseMethods inherited from class fr.paris.lutece.plugins.genericattributes.business.Response
getIsImage, getIterationNumber, getSortOrder, setEntry, setField, setFile, setIdResponse, setIsImage, setIterationNumber, setResponseValue, setSortOrder, setStatus, setToStringValueResponse
-
Constructor Details
-
ResponseRecapDTO
public ResponseRecapDTO(fr.paris.lutece.plugins.genericattributes.business.Response response) Creates a new response DTO for recap from a response- Parameters:
response- The response
-
ResponseRecapDTO
public ResponseRecapDTO(fr.paris.lutece.plugins.genericattributes.business.Response response, String strRecapValue) Creates a new response DTO for recap from a response- Parameters:
response- The responsestrRecapValue- The recap value
-
-
Method Details
-
getRecapValue
Get the recap value of this response- Returns:
- The recap value of this response
-
setRecapValue
Set the recap value of this response- Parameters:
strRecapValue- The recap value of this response
-
getEntry
public fr.paris.lutece.plugins.genericattributes.business.Entry getEntry()- Overrides:
getEntryin classfr.paris.lutece.plugins.genericattributes.business.Response
-
getIdResponse
public int getIdResponse()- Overrides:
getIdResponsein classfr.paris.lutece.plugins.genericattributes.business.Response
-
getField
public fr.paris.lutece.plugins.genericattributes.business.Field getField()- Overrides:
getFieldin classfr.paris.lutece.plugins.genericattributes.business.Response
-
getToStringValueResponse
- Overrides:
getToStringValueResponsein classfr.paris.lutece.plugins.genericattributes.business.Response
-
getResponseValue
- Overrides:
getResponseValuein classfr.paris.lutece.plugins.genericattributes.business.Response
-
getStatus
public int getStatus()- Overrides:
getStatusin classfr.paris.lutece.plugins.genericattributes.business.Response
-
getFile
public fr.paris.lutece.portal.business.file.File getFile()- Overrides:
getFilein classfr.paris.lutece.plugins.genericattributes.business.Response
-
compareTo
- Specified by:
compareToin interfaceComparable<ResponseRecapDTO>
-
equals
-
hashCode
public int hashCode()
-