Class EbXMLAssociation30
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLRegistryObject30<AssociationType1>
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLAssociation30
- All Implemented Interfaces:
EbXMLAssociation
,EbXMLRegistryObject
,EbXMLSlotList
,ExtraMetadataHolder
public class EbXMLAssociation30
extends EbXMLRegistryObject30<AssociationType1>
implements EbXMLAssociation
Encapsulation of
AssociationType1
.- Author:
- Jens Riemschneider
-
Constructor Summary
ConstructorDescriptionEbXMLAssociation30
(AssociationType1 association, EbXMLObjectLibrary objectLibrary) Constructs an association by wrapping the given ebXML 3.0 object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAssociationPropagation
(Boolean value) void
setAssociationType
(AssociationType associationType) void
setExtraMetadata
(Map<String, List<String>> map) Sets the mapping of extra metadata slot names to their values.void
setNewStatus
(AvailabilityStatus status) void
setOriginalStatus
(AvailabilityStatus status) void
setPreviousVersion
(String version) void
void
setStatus
(AvailabilityStatus availabilityStatus) void
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLRegistryObject30
addClassification, addExternalIdentifier, addSlot, getClassifications, getClassifications, getDescription, getExternalIdentifiers, getExternalIdentifierValue, getHome, getId, getInternal, getLid, getName, getObjectLibrary, getObjectType, getSingleClassification, getSingleSlotValue, getSlots, getSlots, getSlotValues, getVersionInfo, setDescription, setHome, setId, setLid, setName, setObjectType, setVersionInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLRegistryObject
addClassification, addExternalIdentifier, getClassifications, getClassifications, getDescription, getExternalIdentifiers, getExternalIdentifierValue, getHome, getId, getInternal, getLid, getName, getObjectType, getSingleClassification, getVersionInfo, setDescription, setHome, setId, setLid, setName, setObjectType, setVersionInfo
Methods inherited from interface org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLSlotList
addSlot, getSingleSlotValue, getSlots, getSlots, getSlotValues
-
Constructor Details
-
EbXMLAssociation30
Constructs an association by wrapping the given ebXML 3.0 object.- Parameters:
association
- the object to wrap.objectLibrary
- the object library to use.
-
-
Method Details
-
getSource
- Specified by:
getSource
in interfaceEbXMLAssociation
- Returns:
- the id of the source object of this association.
-
getTarget
- Specified by:
getTarget
in interfaceEbXMLAssociation
- Returns:
- the id of the target object of this association.
-
setSource
- Specified by:
setSource
in interfaceEbXMLAssociation
- Parameters:
source
- the id of the source object of this association.
-
setTarget
- Specified by:
setTarget
in interfaceEbXMLAssociation
- Parameters:
target
- the id of the target object of this association.
-
getAssociationType
- Specified by:
getAssociationType
in interfaceEbXMLAssociation
- Returns:
- the type of this association.
-
setAssociationType
- Specified by:
setAssociationType
in interfaceEbXMLAssociation
- Parameters:
associationType
- the type of this association.
-
getStatus
- Specified by:
getStatus
in interfaceEbXMLAssociation
-
setStatus
- Specified by:
setStatus
in interfaceEbXMLAssociation
-
getOriginalStatus
- Specified by:
getOriginalStatus
in interfaceEbXMLAssociation
-
setOriginalStatus
- Specified by:
setOriginalStatus
in interfaceEbXMLAssociation
-
getNewStatus
- Specified by:
getNewStatus
in interfaceEbXMLAssociation
-
setNewStatus
- Specified by:
setNewStatus
in interfaceEbXMLAssociation
-
getPreviousVersion
- Specified by:
getPreviousVersion
in interfaceEbXMLAssociation
-
setPreviousVersion
- Specified by:
setPreviousVersion
in interfaceEbXMLAssociation
-
getAssociationPropagation
- Specified by:
getAssociationPropagation
in interfaceEbXMLAssociation
-
setAssociationPropagation
- Specified by:
setAssociationPropagation
in interfaceEbXMLAssociation
-
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:
map
- mapping.
-