Class 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
    • 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, 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
      int compareTo​(ResponseRecapDTO o)  
      boolean equals​(java.lang.Object o)  
      fr.paris.lutece.plugins.genericattributes.business.Entry getEntry()
      fr.paris.lutece.plugins.genericattributes.business.Field getField()
      fr.paris.lutece.portal.business.file.File getFile()
      int getIdResponse()
      java.lang.String getRecapValue()
      Get the recap value of this response
      java.lang.String getResponseValue()
      int getStatus()
      java.lang.String getToStringValueResponse()
      int hashCode()  
      void setRecapValue​(java.lang.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 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 response
        strRecapValue - 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:
        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 java.lang.String getToStringValueResponse()
        Overrides:
        getToStringValueResponse in class fr.paris.lutece.plugins.genericattributes.business.Response
      • getResponseValue

        public java.lang.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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object