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:

  1. In the Project Explorer view, right-click a transformation configuration file; then click Open.
  2. Click the Common tab.
  3. On the Common page, click Create source to target relationships.
  4. 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.
Related concepts
Relationships between UML model elements and UML-to-Java transformation output
Related tasks
Preventing UML-to-Java transformations from creating relationships between UML model elements and transformation output
Replacing source model elements with shortcuts to UML-to-Java transformation output
Related information
Tutorials for transformations

Feedback