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
ConstructorsConstructorDescriptionEbXMLExtrinsicObject30(ExtrinsicObjectType extrinsic, EbXMLObjectLibrary objectLibrary) Constructs an extrinsic object by wrapping an ebXML 3.0 object. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.activation.DataHandlervoidsetDataHandler(jakarta.activation.DataHandler dataHandler) voidsetExtraMetadata(Map<String, List<String>> map) Sets the mapping of extra metadata slot names to their values.voidsetMimeType(String mimeType) voidsetStatus(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, 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
-
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:
getMimeTypein interfaceEbXMLExtrinsicObject- Returns:
- the mime type of this object.
-
setMimeType
- Specified by:
setMimeTypein interfaceEbXMLExtrinsicObject- Parameters:
mimeType- the mime type of this object.
-
getStatus
- Specified by:
getStatusin interfaceEbXMLExtrinsicObject- Returns:
- the status of this entry.
-
setStatus
- Specified by:
setStatusin interfaceEbXMLExtrinsicObject- Parameters:
status- the status of this entry.
-
getDataHandler
public jakarta.activation.DataHandler getDataHandler()- Specified by:
getDataHandlerin interfaceEbXMLExtrinsicObject- Returns:
- document returned in an ITI-63 response.
-
setDataHandler
public void setDataHandler(jakarta.activation.DataHandler dataHandler) - Specified by:
setDataHandlerin interfaceEbXMLExtrinsicObject- Parameters:
dataHandler- document to be returned in an ITI-63 response.
-
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.
-