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
ConstructorsConstructorDescriptionConstructs the retrieved document.RetrievedDocument(jakarta.activation.DataHandler dataHandler, DocumentReference requestData, String newRepositoryUniqueId, String newDocumentUniqueId, String mimeType) Constructs the retrieved document. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjakarta.activation.DataHandlerinthashCode()voidsetDataHandler(jakarta.activation.DataHandler dataHandler) voidsetMimeType(String mimeType) voidsetNewDocumentUniqueId(String newDocumentUniqueId) voidsetNewRepositoryUniqueId(String newRepositoryUniqueId) voidsetRequestData(DocumentReference requestData) toString()
-
Constructor Details
-
RetrievedDocument
public RetrievedDocument()Constructs the retrieved document. -
RetrievedDocument
public RetrievedDocument(jakarta.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 jakarta.activation.DataHandler getDataHandler() -
setDataHandler
public void setDataHandler(jakarta.activation.DataHandler dataHandler) -
getRequestData
-
setRequestData
-
getMimeType
-
setMimeType
-
getNewRepositoryUniqueId
-
setNewRepositoryUniqueId
-
getNewDocumentUniqueId
-
setNewDocumentUniqueId
-