Class XDSMetaClass
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.XDSMetaClass
- All Implemented Interfaces:
Serializable,ExtraMetadataHolder
- Direct Known Subclasses:
DocumentEntry,Folder,SubmissionSet
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSupportive method for a document source to provide a entryUuid in uuid format.voidIf 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.protected booleanbooleangetTitle()inthashCode()booleanvoidsetAvailabilityStatus(AvailabilityStatus availabilityStatus) voidsetComments(LocalizedString comments) voidsetEntryUuid(String entryUuid) voidsetExtraClassifications(List<EbXMLClassification> extraClassifications) voidsetExtraMetadata(Map<String, List<String>> extraMetadata) Sets the mapping of extra metadata slot names to their values.voidsetHomeCommunityId(String homeCommunityId) voidsetLimitedMetadata(boolean limitedMetadata) voidsetLogicalUuid(String logicalUuid) voidsetPatientId(Identifiable patientId) voidsetTitle(LocalizedString title) voidsetUniqueId(String uniqueId) voidsetVersion(Version version) toString()
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getAvailabilityStatus
-
setAvailabilityStatus
-
getComments
-
setComments
-
getEntryUuid
-
setEntryUuid
-
getPatientId
-
setPatientId
-
getTitle
-
setTitle
-
getUniqueId
-
setUniqueId
-
getHomeCommunityId
-
setHomeCommunityId
-
getLogicalUuid
-
setLogicalUuid
-
getVersion
-
setVersion
-
isLimitedMetadata
public boolean isLimitedMetadata() -
setLimitedMetadata
public void setLimitedMetadata(boolean limitedMetadata) -
getExtraMetadata
- Specified by:
getExtraMetadatain interfaceExtraMetadataHolder- Returns:
- mapping of extra metadata slot names to their values. A new instance will be created when necessary.
-
setExtraMetadata
Description copied from interface:ExtraMetadataHolderSets the mapping of extra metadata slot names to their values.- Specified by:
setExtraMetadatain interfaceExtraMetadataHolder- Parameters:
extraMetadata- mapping.
-
getExtraClassifications
-
setExtraClassifications
-