Class ContentResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContentResponse
    extends java.lang.Object
    implements java.io.Serializable

    Class that represents the response from the services related to the content of a document.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 10/11/2014.
    See Also:
    Serialized Form
    • Constructor Detail

      • ContentResponse

        public ContentResponse()
        Constructor method for the class ContentResponse.java.
    • Method Detail

      • isState

        public final boolean isState()
        Gets the value of the attribute state.
        Returns:
        the value of the attribute state.
      • setState

        public final void setState​(boolean stateParam)
        Sets the value of the attribute state.
        Parameters:
        stateParam - The value for the attribute state.
      • getDescription

        public final java.lang.String getDescription()
        Gets the value of the attribute description.
        Returns:
        the value of the attribute description.
      • setDescription

        public final void setDescription​(java.lang.String descriptionParam)
        Sets the value of the attribute description.
        Parameters:
        descriptionParam - The value for the attribute description.
      • getContent

        public final byte[] getContent()
        Gets the value of the attribute content.
        Returns:
        the value of the attribute content.
      • setContent

        public final void setContent​(byte[] contentParam)
        Sets the value of the attribute content.
        Parameters:
        contentParam - The value for the attribute content.
      • getError

        public final ErrorResponse getError()
        Gets the value of the attribute error.
        Returns:
        the value of the attribute error.
      • setError

        public final void setError​(ErrorResponse errorParam)
        Sets the value of the attribute error.
        Parameters:
        errorParam - The value for the attribute error.