Class RetrievedDocument
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.responses.RetrievedDocument
- All Implemented Interfaces:
Serializable
A single document retrieved from the repository.
All members of this class are allowed to be null
.
- Author:
- Jens Riemschneider
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs the retrieved document.RetrievedDocument
(javax.activation.DataHandler dataHandler, DocumentReference requestData, String newRepositoryUniqueId, String newDocumentUniqueId, String mimeType) Constructs the retrieved document. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.activation.DataHandler
int
hashCode()
void
setDataHandler
(javax.activation.DataHandler dataHandler) void
setMimeType
(String mimeType) void
setNewDocumentUniqueId
(String newDocumentUniqueId) void
setNewRepositoryUniqueId
(String newRepositoryUniqueId) void
setRequestData
(DocumentReference requestData) toString()
-
Constructor Details
-
RetrievedDocument
public RetrievedDocument()Constructs the retrieved document. -
RetrievedDocument
public RetrievedDocument(javax.activation.DataHandler dataHandler, DocumentReference requestData, String newRepositoryUniqueId, String newDocumentUniqueId, String mimeType) Constructs the retrieved document.- Parameters:
dataHandler
- the data handler allowing access to the content of the document.requestData
- the data specified in the request.newRepositoryUniqueId
- ID of the Document Repository that will support retrieval of the document created as a result of retrieval of the On-Demand Document (required when the On-Demand Document Source supports the Persistence of Retrieved Documents Option).newDocumentUniqueId
- ID of the document created as a result of retrieval of the On-Demand Document.mimeType
- MIME type of the document.
-
-
Method Details
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getDataHandler
public javax.activation.DataHandler getDataHandler() -
setDataHandler
public void setDataHandler(javax.activation.DataHandler dataHandler) -
getRequestData
-
setRequestData
-
getMimeType
-
setMimeType
-
getNewRepositoryUniqueId
-
setNewRepositoryUniqueId
-
getNewDocumentUniqueId
-
setNewDocumentUniqueId
-