Class DocumentContentAndMetadata

java.lang.Object
org.projecthusky.communication.xd.xdm.DocumentContentAndMetadata

public class DocumentContentAndMetadata extends Object
The Class DocumentAndMetadata represents a Document together with the Document Metadata
  • Constructor Summary

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 document
      docEntry - the doc entry
  • Method Details

    • getDocEntry

      public DocumentMetadata 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