java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.XDSMetaClass
All Implemented Interfaces:
Serializable, ExtraMetadataHolder
Direct Known Subclasses:
DocumentEntry, Folder, SubmissionSet

public abstract class XDSMetaClass extends Object implements Serializable, ExtraMetadataHolder
Common base class of all XDS meta data classes.

All members of this class are allowed to be null.

Author:
Jens Riemschneider
See Also:
  • Constructor Details

    • XDSMetaClass

      public XDSMetaClass()
  • Method Details

    • assignUniqueId

      public void assignUniqueId()
      If a Document Source do not have a uniqueId to assign, this supportive method can be used to generate one in OID format, based on a random UUID.
    • assignEntryUuid

      public void assignEntryUuid()
      Supportive method for a document source to provide a entryUuid in uuid format.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAvailabilityStatus

      public AvailabilityStatus getAvailabilityStatus()
    • setAvailabilityStatus

      public void setAvailabilityStatus(AvailabilityStatus availabilityStatus)
    • getComments

      public LocalizedString getComments()
    • setComments

      public void setComments(LocalizedString comments)
    • getEntryUuid

      public String getEntryUuid()
    • setEntryUuid

      public void setEntryUuid(String entryUuid)
    • getPatientId

      public Identifiable getPatientId()
    • setPatientId

      public void setPatientId(Identifiable patientId)
    • getTitle

      public LocalizedString getTitle()
    • setTitle

      public void setTitle(LocalizedString title)
    • getUniqueId

      public String getUniqueId()
    • setUniqueId

      public void setUniqueId(String uniqueId)
    • getHomeCommunityId

      public String getHomeCommunityId()
    • setHomeCommunityId

      public void setHomeCommunityId(String homeCommunityId)
    • getLogicalUuid

      public String getLogicalUuid()
    • setLogicalUuid

      public void setLogicalUuid(String logicalUuid)
    • getVersion

      public Version getVersion()
    • setVersion

      public void setVersion(Version version)
    • isLimitedMetadata

      public boolean isLimitedMetadata()
    • setLimitedMetadata

      public void setLimitedMetadata(boolean limitedMetadata)
    • getExtraMetadata

      public Map<String,List<String>> getExtraMetadata()
      Specified by:
      getExtraMetadata in interface ExtraMetadataHolder
      Returns:
      mapping of extra metadata slot names to their values. A new instance will be created when necessary.
    • setExtraMetadata

      public void setExtraMetadata(Map<String,List<String>> extraMetadata)
      Description copied from interface: ExtraMetadataHolder
      Sets the mapping of extra metadata slot names to their values.
      Specified by:
      setExtraMetadata in interface ExtraMetadataHolder
      Parameters:
      extraMetadata - mapping.
    • getExtraClassifications

      public List<EbXMLClassification> getExtraClassifications()
    • setExtraClassifications

      public void setExtraClassifications(List<EbXMLClassification> extraClassifications)