You can specify that a transformation has the capability to create
mapping models. By creating mapping models, you can specify alternate names
for transformed artifacts. For example, you might create a mapping model that
follows a platform-specific naming convention.
Before you begin
You must have
a plug-in manifest file open in the manifest editor. The
plug-in must contain the following items:
- Instance of the com.ibm.xtools.transform.core.transformationProviders
extension point
- TransformationProvider element
- Transformation element
About this task
The transformation generates a mapping model by using the values
of the mapping properties in the transformation context. You specify values
for these properties when you populate the fields in the transformation configuration
editor, on the Mapping tab.
To enable the creation
of mapping models for a transformation:
Procedure
- In the plug-in manifest editor, click the plugin.xml tab.
- In a Transformation element, add the following code:
<Property name="usesMapping" id="usesMapping" readonly=true>
- Click .
Results
When you create a transformation configuration for this transformation,
the
Mapping tab is displayed in the transformation
configuration editor.