Class EbXMLRegistryPackage30
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLRegistryObject30<RegistryPackageType>
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLRegistryPackage30
- All Implemented Interfaces:
EbXMLRegistryObject
,EbXMLRegistryPackage
,EbXMLSlotList
,ExtraMetadataHolder
public class EbXMLRegistryPackage30
extends EbXMLRegistryObject30<RegistryPackageType>
implements EbXMLRegistryPackage, ExtraMetadataHolder
Encapsulation for
RegistryPackageType
.- Author:
- Jens Riemschneider
-
Field Summary
Fields inherited from interface org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLRegistryPackage
REGISTRY_PACKAGE_OBJECT_TYPE
-
Constructor Summary
ConstructorDescriptionEbXMLRegistryPackage30
(RegistryPackageType registryPackage, EbXMLObjectLibrary objectLibrary) Constructs a registry package by wrapping the given ebXML 3.0 object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setExtraMetadata
(Map<String, List<String>> map) Sets the mapping of extra metadata slot names to their values.void
setStatus
(AvailabilityStatus status) 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
-
EbXMLRegistryPackage30
public EbXMLRegistryPackage30(RegistryPackageType registryPackage, EbXMLObjectLibrary objectLibrary) Constructs a registry package by wrapping the given ebXML 3.0 object.- Parameters:
registryPackage
- the object to wrap.objectLibrary
- the object library to use.
-
-
Method Details
-
getStatus
- Specified by:
getStatus
in interfaceEbXMLRegistryPackage
- Returns:
- the status of this entry.
-
setStatus
- Specified by:
setStatus
in interfaceEbXMLRegistryPackage
- Parameters:
status
- the status of this entry.
-
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.
-