Class SubmissionSetTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.XDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet>
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.SubmissionSetTransformer
public class SubmissionSetTransformer
extends XDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet>
Transforms between a
SubmissionSet and its ebXML representation.- Author:
- Jens Riemschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAttributes(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Called by the base class to add attributes to the ebXML instance.protected voidaddAttributesFromEbXML(SubmissionSet metaData, EbXMLRegistryPackage ebXML) Called by the base class to add attributes to the meta data.protected voidaddClassifications(SubmissionSet set, EbXMLRegistryPackage regPackage, EbXMLObjectLibrary objectLibrary) Called by the base class to add classifications to the ebXML instance.protected voidaddClassificationsFromEbXML(SubmissionSet set, EbXMLRegistryPackage regPackage) Called by the base class to add classifications to the meta data.protected voidaddExternalIdentifiers(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Called by the base class to add external identifiers to the ebXML instance.protected voidaddExternalIdentifiersFromEbXML(SubmissionSet metaData, EbXMLRegistryPackage ebXML) Called by the base class to add external identifiers to the meta data.protected voidaddSlots(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Called by the base class to add slots to the ebXML instance.protected voidaddSlotsFromEbXML(SubmissionSet metaData, EbXMLRegistryPackage ebXML) Called by the base class to add slots to the meta data.protected EbXMLRegistryPackagecreateEbXMLInstance(String id, EbXMLObjectLibrary objectLibrary) Called by the base class to create a new instance of the ebXML type.protected SubmissionSetCalled 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
fromEbXML, toEbXML
-
Constructor Details
-
SubmissionSetTransformer
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<EbXMLRegistryPackage,SubmissionSet> - 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<EbXMLRegistryPackage,SubmissionSet> - Returns:
- a new instance of the meta data type.
-
addAttributes
protected void addAttributes(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Description copied from class:XDSMetaClassTransformerCalled by the base class to add attributes to the ebXML instance.- Overrides:
addAttributesin classXDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet> - Parameters:
metaData- the meta data instance containing the attributes.ebXML- the ebXML instance receiving the attributes.objectLibrary- the object library.
-
addAttributesFromEbXML
Description copied from class:XDSMetaClassTransformerCalled by the base class to add attributes to the meta data.- Overrides:
addAttributesFromEbXMLin classXDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet> - Parameters:
metaData- the meta data instance receiving the attributes.ebXML- the ebXML instance containing the attributes.
-
addSlots
protected void addSlots(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Description copied from class:XDSMetaClassTransformerCalled by the base class to add slots to the ebXML instance.- Overrides:
addSlotsin classXDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet> - Parameters:
metaData- the meta data instance containing the slots.ebXML- the ebXML instance receiving the slots.objectLibrary- the object library.
-
addSlotsFromEbXML
Description copied from class:XDSMetaClassTransformerCalled by the base class to add slots to the meta data.- Overrides:
addSlotsFromEbXMLin classXDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet> - Parameters:
metaData- the meta data instance receiving the slots.ebXML- the ebXML instance containing the slots.
-
addClassificationsFromEbXML
Description copied from class:XDSMetaClassTransformerCalled by the base class to add classifications to the meta data.- Overrides:
addClassificationsFromEbXMLin classXDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet> - Parameters:
set- the meta data instance receiving the classifications.regPackage- the ebXML instance containing the classifications.
-
addClassifications
protected void addClassifications(SubmissionSet set, EbXMLRegistryPackage regPackage, EbXMLObjectLibrary objectLibrary) Description copied from class:XDSMetaClassTransformerCalled by the base class to add classifications to the ebXML instance.- Overrides:
addClassificationsin classXDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet> - Parameters:
set- the meta data instance containing the classifications.regPackage- the ebXML instance receiving the classifications.objectLibrary- the object library.
-
addExternalIdentifiers
protected void addExternalIdentifiers(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Description copied from class:XDSMetaClassTransformerCalled by the base class to add external identifiers to the ebXML instance.- Overrides:
addExternalIdentifiersin classXDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet> - Parameters:
metaData- the meta data instance containing the external identifiers.ebXML- the ebXML instance receiving the external identifiers.objectLibrary- the object library.
-
addExternalIdentifiersFromEbXML
Description copied from class:XDSMetaClassTransformerCalled by the base class to add external identifiers to the meta data.- Overrides:
addExternalIdentifiersFromEbXMLin classXDSMetaClassTransformer<EbXMLRegistryPackage,SubmissionSet> - Parameters:
metaData- the meta data instance receiving the external identifiers.ebXML- the ebXML instance containing the external identifiers.
-