Class Association
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.Association
- All Implemented Interfaces:
Serializable
,ExtraMetadataHolder
Represents an XDS association.
All members of this class are allowed to be null
.
- Author:
- Jens Riemschneider
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs an association.Association
(AssociationType associationType, String entryUuid, String sourceUuid, String targetUuid) Constructs an association. -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean
boolean
getLabel()
int
hashCode()
void
setAssociationPropagation
(Boolean associationPropagation) void
setAssociationType
(AssociationType associationType) void
setAvailabilityStatus
(AvailabilityStatus availabilityStatus) void
setDocCode
(Code docCode) void
setEntryUuid
(String entryUuid) void
setExtraMetadata
(Map<String, List<String>> extraMetadata) Sets the mapping of extra metadata slot names to their values.void
setLabel
(AssociationLabel label) void
setNewStatus
(AvailabilityStatus newStatus) void
setOriginalStatus
(AvailabilityStatus originalStatus) void
setPreviousVersion
(String previousVersion) void
setSourceUuid
(String sourceUuid) void
setTargetUuid
(String targetUuid) toString()
-
Constructor Details
-
Association
public Association()Constructs an association. -
Association
public Association(AssociationType associationType, String entryUuid, String sourceUuid, String targetUuid) Constructs an association.- Parameters:
associationType
- the type of the association.entryUuid
- UUID of the association entry.sourceUuid
- the UUID of the source object.targetUuid
- the UUID of the target object.
-
-
Method Details
-
assignEntryUuid
public void assignEntryUuid() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getTargetUuid
-
setTargetUuid
-
getSourceUuid
-
setSourceUuid
-
getAssociationType
-
setAssociationType
-
getLabel
-
setLabel
-
getEntryUuid
-
setEntryUuid
-
getDocCode
-
setDocCode
-
getPreviousVersion
-
setPreviousVersion
-
getOriginalStatus
- Returns:
- original status slot value
-
setOriginalStatus
- Parameters:
originalStatus
- value of originalStatus in update availabilityStatus
-
getNewStatus
- Returns:
- new status slot value
-
setNewStatus
- Parameters:
newStatus
- value of newStatus in update availabilityStatus
-
getAssociationPropagation
-
setAssociationPropagation
-
getAvailabilityStatus
- Returns:
- availabilityStatus value in XDS metadata update association
-
setAvailabilityStatus
- Parameters:
availabilityStatus
- value of availabilityStatus in XDS metadata update association
-
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.
-