Class DocumentEntryTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.XDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry>
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.DocumentEntryTransformer
public class DocumentEntryTransformer
extends XDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry>
Transforms between a
DocumentEntry and its ebXML representation.- Author:
- Jens Riemschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAttributes(DocumentEntry metaData, EbXMLExtrinsicObject ebXML, EbXMLObjectLibrary objectLibrary) Called by the base class to add attributes to the ebXML instance.protected voidaddAttributesFromEbXML(DocumentEntry docEntry, EbXMLExtrinsicObject extrinsic) Called by the base class to add attributes to the meta data.protected voidaddClassifications(DocumentEntry docEntry, EbXMLExtrinsicObject extrinsic, EbXMLObjectLibrary objectLibrary) Called by the base class to add classifications to the ebXML instance.protected voidaddClassificationsFromEbXML(DocumentEntry docEntry, EbXMLExtrinsicObject extrinsic) Called by the base class to add classifications to the meta data.protected voidaddSlots(DocumentEntry docEntry, EbXMLExtrinsicObject extrinsic, EbXMLObjectLibrary objectLibrary) Called by the base class to add slots to the ebXML instance.protected voidaddSlotsFromEbXML(DocumentEntry docEntry, EbXMLExtrinsicObject extrinsic) Called by the base class to add slots to the meta data.protected EbXMLExtrinsicObjectcreateEbXMLInstance(String id, EbXMLObjectLibrary objectLibrary) Called by the base class to create a new instance of the ebXML type.protected DocumentEntryCalled by the base class to create a new instance of theXDSMetaClass.Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.XDSMetaClassTransformer
addExternalIdentifiers, addExternalIdentifiersFromEbXML, fromEbXML, toEbXML
-
Constructor Details
-
DocumentEntryTransformer
Constructs the transformer- Parameters:
factory- factory for version independent ebXML objects.
-
-
Method Details
-
createEbXMLInstance
Description copied from class:XDSMetaClassTransformerCalled by the base class to create a new instance of the ebXML type.- Specified by:
createEbXMLInstancein classXDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry> - Parameters:
id- the id of the object to create.objectLibrary- the object library.- Returns:
- a new instance of the ebXML type.
-
createMetaClassInstance
Description copied from class:XDSMetaClassTransformerCalled by the base class to create a new instance of theXDSMetaClass.- Specified by:
createMetaClassInstancein classXDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry> - Returns:
- a new instance of the meta data type.
-
addAttributesFromEbXML
Description copied from class:XDSMetaClassTransformerCalled by the base class to add attributes to the meta data.- Overrides:
addAttributesFromEbXMLin classXDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry> - Parameters:
docEntry- the meta data instance receiving the attributes.extrinsic- the ebXML instance containing the attributes.
-
addAttributes
protected void addAttributes(DocumentEntry metaData, EbXMLExtrinsicObject ebXML, EbXMLObjectLibrary objectLibrary) Description copied from class:XDSMetaClassTransformerCalled by the base class to add attributes to the ebXML instance.- Overrides:
addAttributesin classXDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry> - Parameters:
metaData- the meta data instance containing the attributes.ebXML- the ebXML instance receiving the attributes.objectLibrary- the object library.
-
addSlotsFromEbXML
Description copied from class:XDSMetaClassTransformerCalled by the base class to add slots to the meta data.- Overrides:
addSlotsFromEbXMLin classXDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry> - Parameters:
docEntry- the meta data instance receiving the slots.extrinsic- the ebXML instance containing the slots.
-
addSlots
protected void addSlots(DocumentEntry docEntry, EbXMLExtrinsicObject extrinsic, EbXMLObjectLibrary objectLibrary) Description copied from class:XDSMetaClassTransformerCalled by the base class to add slots to the ebXML instance.- Overrides:
addSlotsin classXDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry> - Parameters:
docEntry- the meta data instance containing the slots.extrinsic- the ebXML instance receiving the slots.objectLibrary- the object library.
-
addClassificationsFromEbXML
Description copied from class:XDSMetaClassTransformerCalled by the base class to add classifications to the meta data.- Overrides:
addClassificationsFromEbXMLin classXDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry> - Parameters:
docEntry- the meta data instance receiving the classifications.extrinsic- the ebXML instance containing the classifications.
-
addClassifications
protected void addClassifications(DocumentEntry docEntry, EbXMLExtrinsicObject extrinsic, EbXMLObjectLibrary objectLibrary) Description copied from class:XDSMetaClassTransformerCalled by the base class to add classifications to the ebXML instance.- Overrides:
addClassificationsin classXDSMetaClassTransformer<EbXMLExtrinsicObject,DocumentEntry> - Parameters:
docEntry- the meta data instance containing the classifications.extrinsic- the ebXML instance receiving the classifications.objectLibrary- the object library.
-