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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttributes
(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Called by the base class to add attributes to the ebXML instance.protected void
addAttributesFromEbXML
(SubmissionSet metaData, EbXMLRegistryPackage ebXML) Called by the base class to add attributes to the meta data.protected void
addClassifications
(SubmissionSet set, EbXMLRegistryPackage regPackage, EbXMLObjectLibrary objectLibrary) Called by the base class to add classifications to the ebXML instance.protected void
addClassificationsFromEbXML
(SubmissionSet set, EbXMLRegistryPackage regPackage) Called by the base class to add classifications to the meta data.protected void
addExternalIdentifiers
(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Called by the base class to add external identifiers to the ebXML instance.protected void
addExternalIdentifiersFromEbXML
(SubmissionSet metaData, EbXMLRegistryPackage ebXML) Called by the base class to add external identifiers to the meta data.protected void
addSlots
(SubmissionSet metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Called by the base class to add slots to the ebXML instance.protected void
addSlotsFromEbXML
(SubmissionSet metaData, EbXMLRegistryPackage ebXML) Called by the base class to add slots to the meta data.protected EbXMLRegistryPackage
createEbXMLInstance
(String id, EbXMLObjectLibrary objectLibrary) Called by the base class to create a new instance of the ebXML type.protected SubmissionSet
Called 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:XDSMetaClassTransformer
Called by the base class to create a new instance of the ebXML type.- Specified by:
createEbXMLInstance
in 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:XDSMetaClassTransformer
Called by the base class to create a new instance of theXDSMetaClass
.- Specified by:
createMetaClassInstance
in 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:XDSMetaClassTransformer
Called by the base class to add attributes to the ebXML instance.- Overrides:
addAttributes
in 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:XDSMetaClassTransformer
Called by the base class to add attributes to the meta data.- Overrides:
addAttributesFromEbXML
in 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:XDSMetaClassTransformer
Called by the base class to add slots to the ebXML instance.- Overrides:
addSlots
in 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:XDSMetaClassTransformer
Called by the base class to add slots to the meta data.- Overrides:
addSlotsFromEbXML
in classXDSMetaClassTransformer<EbXMLRegistryPackage,
SubmissionSet> - Parameters:
metaData
- the meta data instance receiving the slots.ebXML
- the ebXML instance containing the slots.
-
addClassificationsFromEbXML
Description copied from class:XDSMetaClassTransformer
Called by the base class to add classifications to the meta data.- Overrides:
addClassificationsFromEbXML
in 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:XDSMetaClassTransformer
Called by the base class to add classifications to the ebXML instance.- Overrides:
addClassifications
in 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:XDSMetaClassTransformer
Called by the base class to add external identifiers to the ebXML instance.- Overrides:
addExternalIdentifiers
in 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:XDSMetaClassTransformer
Called by the base class to add external identifiers to the meta data.- Overrides:
addExternalIdentifiersFromEbXML
in classXDSMetaClassTransformer<EbXMLRegistryPackage,
SubmissionSet> - Parameters:
metaData
- the meta data instance receiving the external identifiers.ebXML
- the ebXML instance containing the external identifiers.
-