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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Supportive method for a document source to provide a entryUuid in uuid format.void
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.protected boolean
boolean
getTitle()
int
hashCode()
boolean
void
setAvailabilityStatus
(AvailabilityStatus availabilityStatus) void
setComments
(LocalizedString comments) void
setEntryUuid
(String entryUuid) void
setExtraClassifications
(List<EbXMLClassification> extraClassifications) void
setExtraMetadata
(Map<String, List<String>> extraMetadata) Sets the mapping of extra metadata slot names to their values.void
setHomeCommunityId
(String homeCommunityId) void
setLimitedMetadata
(boolean limitedMetadata) void
setLogicalUuid
(String logicalUuid) void
setPatientId
(Identifiable patientId) void
setTitle
(LocalizedString title) void
setUniqueId
(String uniqueId) void
setVersion
(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:
getExtraMetadata
in interfaceExtraMetadataHolder
- Returns:
- mapping of extra metadata slot names to their values. A new instance will be created when necessary.
-
setExtraMetadata
Description copied from interface:ExtraMetadataHolder
Sets the mapping of extra metadata slot names to their values.- Specified by:
setExtraMetadata
in interfaceExtraMetadataHolder
- Parameters:
extraMetadata
- mapping.
-
getExtraClassifications
-
setExtraClassifications
-