Extension for Java transformations

This sample shows how to create a plug-in that extends the UML-to-Java and Java-to-UML transformations. The extension that you create in this sample generates default Java implementations for each interface in the UML model.
Time required: 1 hour
By default, the UML-to-Java transformation generates a Java interface for each UML interface in the model.

In this sample, for each interface in the source UML model, the UML-to-Java transformation generates an implementation named interface_nameImpl.java. When you run the Java-to-UML transformation, the transformation filters these implementations when it adds Java code to the target UML model.


Feedback