Class FolderTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.XDSMetaClassTransformer<EbXMLRegistryPackage,Folder>
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.FolderTransformer
Transforms between a
Folder
and its ebXML 2.1 representation.- Author:
- Jens Riemschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttributes
(Folder metaData, EbXMLRegistryPackage ebXML, EbXMLObjectLibrary objectLibrary) Called by the base class to add attributes to the ebXML instance.protected void
addAttributesFromEbXML
(Folder metaData, EbXMLRegistryPackage ebXML) Called by the base class to add attributes to the meta data.protected void
addClassifications
(Folder folder, EbXMLRegistryPackage regPackage, EbXMLObjectLibrary objectLibrary) Called by the base class to add classifications to the ebXML instance.protected void
addClassificationsFromEbXML
(Folder folder, EbXMLRegistryPackage regPackage) Called by the base class to add classifications to the meta data.protected void
addSlots
(Folder folder, EbXMLRegistryPackage regPackage, EbXMLObjectLibrary objectLibrary) Called by the base class to add slots to the ebXML instance.protected void
addSlotsFromEbXML
(Folder folder, EbXMLRegistryPackage regPackage) 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 Folder
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
addExternalIdentifiers, addExternalIdentifiersFromEbXML, fromEbXML, toEbXML
-
Constructor Details
-
FolderTransformer
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,
Folder> - 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,
Folder> - Returns:
- a new instance of the meta data type.
-
addAttributes
protected void addAttributes(Folder 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,
Folder> - 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,
Folder> - Parameters:
metaData
- the meta data instance receiving the attributes.ebXML
- the ebXML instance containing the attributes.
-
addSlotsFromEbXML
Description copied from class:XDSMetaClassTransformer
Called by the base class to add slots to the meta data.- Overrides:
addSlotsFromEbXML
in classXDSMetaClassTransformer<EbXMLRegistryPackage,
Folder> - Parameters:
folder
- the meta data instance receiving the slots.regPackage
- the ebXML instance containing the slots.
-
addSlots
protected void addSlots(Folder folder, EbXMLRegistryPackage regPackage, EbXMLObjectLibrary objectLibrary) Description copied from class:XDSMetaClassTransformer
Called by the base class to add slots to the ebXML instance.- Overrides:
addSlots
in classXDSMetaClassTransformer<EbXMLRegistryPackage,
Folder> - Parameters:
folder
- the meta data instance containing the slots.regPackage
- the ebXML instance receiving the slots.objectLibrary
- the object library.
-
addClassificationsFromEbXML
Description copied from class:XDSMetaClassTransformer
Called by the base class to add classifications to the meta data.- Overrides:
addClassificationsFromEbXML
in classXDSMetaClassTransformer<EbXMLRegistryPackage,
Folder> - Parameters:
folder
- the meta data instance receiving the classifications.regPackage
- the ebXML instance containing the classifications.
-
addClassifications
protected void addClassifications(Folder folder, 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,
Folder> - Parameters:
folder
- the meta data instance containing the classifications.regPackage
- the ebXML instance receiving the classifications.objectLibrary
- the object library.
-