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

    Constructors
    Constructor
    Description
    ResponseRecapDTO(fr.paris.lutece.plugins.genericattributes.business.Response response)
    Creates a new response DTO for recap from a response
    ResponseRecapDTO(fr.paris.lutece.plugins.genericattributes.business.Response response, String strRecapValue)
    Creates a new response DTO for recap from a response
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    boolean
     
    fr.paris.lutece.plugins.genericattributes.business.Entry
    fr.paris.lutece.plugins.genericattributes.business.Field
    fr.paris.lutece.portal.business.file.File
    int
    Get the recap value of this response
    int
    int
     
    void
    setRecapValue(String strRecapValue)
    Set the recap value of this response

    Methods inherited from class fr.paris.lutece.plugins.genericattributes.business.Response

    getIsImage, getIterationNumber, getSortOrder, setEntry, setField, setFile, setIdResponse, setIsImage, setIterationNumber, setResponseValue, setSortOrder, setStatus, setToStringValueResponse

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • 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 response
      strRecapValue - The recap value
  • Method Details

    • getRecapValue

      public String getRecapValue()
      Get the recap value of this response
      Returns:
      The recap value of this response
    • setRecapValue

      public void setRecapValue(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:
      getEntry in class fr.paris.lutece.plugins.genericattributes.business.Response
    • getIdResponse

      public int getIdResponse()
      Overrides:
      getIdResponse in class fr.paris.lutece.plugins.genericattributes.business.Response
    • getField

      public fr.paris.lutece.plugins.genericattributes.business.Field getField()
      Overrides:
      getField in class fr.paris.lutece.plugins.genericattributes.business.Response
    • getToStringValueResponse

      public String getToStringValueResponse()
      Overrides:
      getToStringValueResponse in class fr.paris.lutece.plugins.genericattributes.business.Response
    • getResponseValue

      public String getResponseValue()
      Overrides:
      getResponseValue in class fr.paris.lutece.plugins.genericattributes.business.Response
    • getStatus

      public int getStatus()
      Overrides:
      getStatus in class fr.paris.lutece.plugins.genericattributes.business.Response
    • getFile

      public fr.paris.lutece.portal.business.file.File getFile()
      Overrides:
      getFile in class fr.paris.lutece.plugins.genericattributes.business.Response
    • compareTo

      public int compareTo(ResponseRecapDTO o)
      Specified by:
      compareTo in interface Comparable<ResponseRecapDTO>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object