Class EbXMLExtrinsicObject30
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLRegistryObject30<ExtrinsicObjectType>
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLExtrinsicObject30
- All Implemented Interfaces:
EbXMLExtrinsicObject
,EbXMLRegistryObject
,EbXMLSlotList
,ExtraMetadataHolder
public class EbXMLExtrinsicObject30
extends EbXMLRegistryObject30<ExtrinsicObjectType>
implements EbXMLExtrinsicObject, ExtraMetadataHolder
Encapsulation of
ExtrinsicObjectType
.- Author:
- Jens Riemschneider
-
Constructor Summary
ConstructorDescriptionEbXMLExtrinsicObject30
(ExtrinsicObjectType extrinsic, EbXMLObjectLibrary objectLibrary) Constructs an extrinsic object by wrapping an ebXML 3.0 object. -
Method Summary
Modifier and TypeMethodDescriptionjavax.activation.DataHandler
void
setDataHandler
(javax.activation.DataHandler dataHandler) void
setExtraMetadata
(Map<String, List<String>> map) Sets the mapping of extra metadata slot names to their values.void
setMimeType
(String mimeType) 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
-
EbXMLExtrinsicObject30
Constructs an extrinsic object by wrapping an ebXML 3.0 object.- Parameters:
extrinsic
- the object to wrap.objectLibrary
- the object library to use.
-
-
Method Details
-
getMimeType
- Specified by:
getMimeType
in interfaceEbXMLExtrinsicObject
- Returns:
- the mime type of this object.
-
setMimeType
- Specified by:
setMimeType
in interfaceEbXMLExtrinsicObject
- Parameters:
mimeType
- the mime type of this object.
-
getStatus
- Specified by:
getStatus
in interfaceEbXMLExtrinsicObject
- Returns:
- the status of this entry.
-
setStatus
- Specified by:
setStatus
in interfaceEbXMLExtrinsicObject
- Parameters:
status
- the status of this entry.
-
getDataHandler
public javax.activation.DataHandler getDataHandler()- Specified by:
getDataHandler
in interfaceEbXMLExtrinsicObject
- Returns:
- document returned in an ITI-63 response.
-
setDataHandler
public void setDataHandler(javax.activation.DataHandler dataHandler) - Specified by:
setDataHandler
in interfaceEbXMLExtrinsicObject
- Parameters:
dataHandler
- document to be returned in an ITI-63 response.
-
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.
-