To see a list of potential problems that can occur in the Java™ code
that the transformation generates, apply the
UML-to-Java 1.4 transformation profile
or the
UML-to-Java 5.0 transformation profile
to the source UML model.
After
you apply the profile, you can run the model validation feature, or run the
transformation. See the Problems view for warnings about
invalid model elements.
You must
be in the Modeling perspective.
You
should not apply more than one UML-to-Java transformation profile to your
source model.
To apply a UML-to-Java transformation profile to a source
model:
- From the Deployed
Profile list, select the appropriate profile.
- In the Properties view,
click the Profiles tab.
- On the Profiles page,
click Add Profile.
- In the Select Profile window,
click Deployed Profile.
- From the Deployed Profile list, select either UML-to-Java 1.4 transformation or UML-to-Java 5.0 transformation.
- Click OK.
- Click .
The next time that you run the model validation feature, or run the
UML-to-Java transformation, the Problems view displays
warnings about invalid model elements.