Class DocumentContentAndMetadata
java.lang.Object
org.projecthusky.communication.xd.xdm.DocumentContentAndMetadata
The Class DocumentAndMetadata represents a Document together with the
Document Metadata
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentContentAndMetadata
(org.openehealth.ipf.commons.ihe.xds.core.metadata.Document xdsDocument, org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry docEntry) Instantiates a new document and metadata. -
Method Summary
Modifier and TypeMethodDescriptionGets the Document Metadata as convenience object.org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry
Gets the doc entry as OHT document entry type.org.openehealth.ipf.commons.ihe.xds.core.metadata.Document
Gets the xds document.void
setDocEntry
(org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry docEntry) Sets the Document Metadata.void
setXdsDocument
(org.openehealth.ipf.commons.ihe.xds.core.metadata.Document xdsDocument) Sets the xds document.
-
Constructor Details
-
DocumentContentAndMetadata
public DocumentContentAndMetadata(org.openehealth.ipf.commons.ihe.xds.core.metadata.Document xdsDocument, org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry docEntry) Instantiates a new document and metadata.- Parameters:
xdsDocument
- the xds documentdocEntry
- the doc entry
-
-
Method Details
-
getDocEntry
Gets the Document Metadata as convenience object.- Returns:
- the doc entry
-
getDocEntryAsOhtDocumentEntryType
public org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry getDocEntryAsOhtDocumentEntryType()Gets the doc entry as OHT document entry type.- Returns:
- the doc entry as OHT document entry type
-
getXdsDocument
public org.openehealth.ipf.commons.ihe.xds.core.metadata.Document getXdsDocument()Gets the xds document.- Returns:
- the xds document
-
setDocEntry
public void setDocEntry(org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry docEntry) Sets the Document Metadata.- Parameters:
docEntry
- the new doc entry
-
setXdsDocument
public void setXdsDocument(org.openehealth.ipf.commons.ihe.xds.core.metadata.Document xdsDocument) Sets the xds document.- Parameters:
xdsDocument
- the new xds document
-