This tutorial demonstrates how to use the UML-to-Java transformation and visual development features to enable concurrent and iterative development of a UML model and Java™ code.
Transformations and visual development features enable architects and developers to design and develop a model concurrently. Architects can create conceptual model elements while developers create code elements or modify the code elements that a transformation generated. Visual development features enable architects to update the UML model with new code elements. To generate code for new model elements, architects can rerun the transformation.
This tutorial shows you how to configure and run a UML-to-Java transformation that applies the Replace UML elements option. When a transformation applies the Replace UML elements option, the source code that the transformation generates becomes the primary engineering artifact, and the elements in the model become visual representations of the code. The tutorial demonstrates how to rerun the UML-to-Java transformation to transform new UML model elements into Java code. The tutorial also shows how to configure and run the Java-to-UML transformation to create a UML model from an existing Java project.
Specifically, this tutorial shows you how to perform the following tasks: