You can specify that a mapping declaration inherits the mapping
rules in another mapping declaration. Inheriting mapping declarations encourages
the reuse of mapping rules in other mapping declarations. A mapping declaration
cannot inherit more than one inherited mapping declaration.
You must have
a mapping model open. A
mapping model has .mapping as a file name extension. The
mapping model must contain at least one mapping declaration. The mapping declaration
must specify an input object and an output object.
To specify that a mapping declaration inherits another mapping
declaration:
- In the mapping editor area, in a mapping declaration, drag the
connector of the input object to the name of the output object. A
mapping rule is created between the input and output objects.
- Change the type of mapping rule to an inherited maps mapping rule:
On the shape that is displayed on the connector between the input and output
objects, click the down arrow and click Inherited Maps.
- Right-click the Inherited Maps element;
then click Show in Properties.
- In the Properties view, on the Super
Type tab, complete the following steps:
- In the File field, specify the mapping
model that contains the mapping declaration to inherit.
- In the Map field, specify the mapping
declaration to inherit.
- Click .
You can override the mapping rules of the inherited mapping declaration,
and create additional rules in the inheriting mapping declaration.