Package es.gob.afirma.integraFacade.pojo
Class ContentResponse
- java.lang.Object
-
- es.gob.afirma.integraFacade.pojo.ContentResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class ContentResponse extends java.lang.Object implements java.io.SerializableClass 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 Summary
Constructors Constructor Description ContentResponse()Constructor method for the class ContentResponse.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()Gets the value of the attributecontent.java.lang.StringgetDescription()Gets the value of the attributedescription.ErrorResponsegetError()Gets the value of the attributeerror.booleanisState()Gets the value of the attributestate.voidsetContent(byte[] contentParam)Sets the value of the attributecontent.voidsetDescription(java.lang.String descriptionParam)Sets the value of the attributedescription.voidsetError(ErrorResponse errorParam)Sets the value of the attributeerror.voidsetState(boolean stateParam)Sets the value of the attributestate.
-
-
-
Method Detail
-
isState
public final boolean isState()
Gets the value of the attributestate.- Returns:
- the value of the attribute
state.
-
setState
public final void setState(boolean stateParam)
Sets the value of the attributestate.- Parameters:
stateParam- The value for the attributestate.
-
getDescription
public final java.lang.String getDescription()
Gets the value of the attributedescription.- Returns:
- the value of the attribute
description.
-
setDescription
public final void setDescription(java.lang.String descriptionParam)
Sets the value of the attributedescription.- Parameters:
descriptionParam- The value for the attributedescription.
-
getContent
public final byte[] getContent()
Gets the value of the attributecontent.- Returns:
- the value of the attribute
content.
-
setContent
public final void setContent(byte[] contentParam)
Sets the value of the attributecontent.- Parameters:
contentParam- The value for the attributecontent.
-
getError
public final ErrorResponse getError()
Gets the value of the attributeerror.- Returns:
- the value of the attribute
error.
-
setError
public final void setError(ErrorResponse errorParam)
Sets the value of the attributeerror.- Parameters:
errorParam- The value for the attributeerror.
-
-