Class ResponseRecapDTO
- java.lang.Object
-
- fr.paris.lutece.plugins.genericattributes.business.Response
-
- fr.paris.lutece.plugins.appointment.web.dto.ResponseRecapDTO
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResponseRecapDTO>
public final class ResponseRecapDTO extends fr.paris.lutece.plugins.genericattributes.business.Response implements java.lang.Comparable<ResponseRecapDTO>
DTO that represent a response to display a recap- Author:
- Laurent Payen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseRecapDTO(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, java.lang.String strRecapValue)Creates a new response DTO for recap from a response
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ResponseRecapDTO o)booleanequals(java.lang.Object o)fr.paris.lutece.plugins.genericattributes.business.EntrygetEntry()fr.paris.lutece.plugins.genericattributes.business.FieldgetField()fr.paris.lutece.portal.business.file.FilegetFile()intgetIdResponse()java.lang.StringgetRecapValue()Get the recap value of this responsejava.lang.StringgetResponseValue()intgetStatus()java.lang.StringgetToStringValueResponse()inthashCode()voidsetRecapValue(java.lang.String strRecapValue)Set the recap value of this response
-
-
-
Constructor Detail
-
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, java.lang.String strRecapValue)Creates a new response DTO for recap from a response- Parameters:
response- The responsestrRecapValue- The recap value
-
-
Method Detail
-
getRecapValue
public java.lang.String getRecapValue()
Get the recap value of this response- Returns:
- The recap value of this response
-
setRecapValue
public void setRecapValue(java.lang.String strRecapValue)
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
public java.lang.String getToStringValueResponse()
- Overrides:
getToStringValueResponsein classfr.paris.lutece.plugins.genericattributes.business.Response
-
getResponseValue
public java.lang.String 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
public int compareTo(ResponseRecapDTO o)
- Specified by:
compareToin interfacejava.lang.Comparable<ResponseRecapDTO>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-