Creating derived relationships between UML source model elements
and UML-to-Java transformation output
Creating derived relationships enables you
to use visual development tools to understand the relationships between source
model elements and transformation output. This function is useful in large
projects that might contain multiple models and transformation configurations.
The transformation does not alter the source model.
To create a derived relationship between model
elements and source code:
In the Project Explorer view, right-click a transformation configuration
file; then click Open.
Click the Common tab.
On the Common page, click Create
source to target relationships.
Click File > Save.
The options are applied
the next time that you run the transformation.
Note: If
you create a new transformation configuration, you can specify this information
on the Common page of the New Transformation Configuration
wizard.