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
ConstructorsConstructorDescriptionEbXMLAssociation30(AssociationType1 association, EbXMLObjectLibrary objectLibrary) Constructs an association by wrapping the given ebXML 3.0 object. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAssociationPropagation(Boolean value) voidsetAssociationType(AssociationType associationType) voidsetExtraMetadata(Map<String, List<String>> map) Sets the mapping of extra metadata slot names to their values.voidsetNewStatus(AvailabilityStatus status) voidsetOriginalStatus(AvailabilityStatus status) voidsetPreviousVersion(String version) voidvoidsetStatus(AvailabilityStatus availabilityStatus) voidMethods 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, setVersionInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, setVersionInfoMethods 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:
getSourcein interfaceEbXMLAssociation- Returns:
- the id of the source object of this association.
-
getTarget
- Specified by:
getTargetin interfaceEbXMLAssociation- Returns:
- the id of the target object of this association.
-
setSource
- Specified by:
setSourcein interfaceEbXMLAssociation- Parameters:
source- the id of the source object of this association.
-
setTarget
- Specified by:
setTargetin interfaceEbXMLAssociation- Parameters:
target- the id of the target object of this association.
-
getAssociationType
- Specified by:
getAssociationTypein interfaceEbXMLAssociation- Returns:
- the type of this association.
-
setAssociationType
- Specified by:
setAssociationTypein interfaceEbXMLAssociation- Parameters:
associationType- the type of this association.
-
getStatus
- Specified by:
getStatusin interfaceEbXMLAssociation
-
setStatus
- Specified by:
setStatusin interfaceEbXMLAssociation
-
getOriginalStatus
- Specified by:
getOriginalStatusin interfaceEbXMLAssociation
-
setOriginalStatus
- Specified by:
setOriginalStatusin interfaceEbXMLAssociation
-
getNewStatus
- Specified by:
getNewStatusin interfaceEbXMLAssociation
-
setNewStatus
- Specified by:
setNewStatusin interfaceEbXMLAssociation
-
getPreviousVersion
- Specified by:
getPreviousVersionin interfaceEbXMLAssociation
-
setPreviousVersion
- Specified by:
setPreviousVersionin interfaceEbXMLAssociation
-
getAssociationPropagation
- Specified by:
getAssociationPropagationin interfaceEbXMLAssociation
-
setAssociationPropagation
- Specified by:
setAssociationPropagationin interfaceEbXMLAssociation
-
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:
map- mapping.
-