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@.
| Constructor and Description |
|---|
ContentResponse()
Constructor method for the class ContentResponse.java.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Gets the value of the attribute
content. |
java.lang.String |
getDescription()
Gets the value of the attribute
description. |
ErrorResponse |
getError()
Gets the value of the attribute
error. |
boolean |
isState()
Gets the value of the attribute
state. |
void |
setContent(byte[] contentParam)
Sets the value of the attribute
content. |
void |
setDescription(java.lang.String descriptionParam)
Sets the value of the attribute
description. |
void |
setError(ErrorResponse errorParam)
Sets the value of the attribute
error. |
void |
setState(boolean stateParam)
Sets the value of the attribute
state. |
public ContentResponse()
public final boolean isState()
state.state.public final void setState(boolean stateParam)
state.stateParam - The value for the attribute state.public final java.lang.String getDescription()
description.description.public final void setDescription(java.lang.String descriptionParam)
description.descriptionParam - The value for the attribute description.public final byte[] getContent()
content.content.public final void setContent(byte[] contentParam)
content.contentParam - The value for the attribute content.public final ErrorResponse getError()
error.error.public final void setError(ErrorResponse errorParam)
error.errorParam - The value for the attribute error.