Overview of this quick tour
Introduction
Objecteering MDA Modeler can be used to create new code generators. This quick tour presents an example, which illustrates the creation of a new Java code generator.
To avoid complicating this quick tour, the code generator we are going to create will be fairly simple. It will be used to generate:
· from a package or a class
· one file per class
· operations without parameters. It will be possible to define certain operations as being “synchronized”, through the addition of a tagged value. Operation code is entered through notes.
· attributes
Procedure
There are three distinct stages to this quick tour project:
· a preparatory stage
· a modeling stage
· an MDA component production stage
The preparatory stage consists of preparing your development environment. This involves creating a dedicated project and deploying MDA Modeler in it (please see “Getting started”).
The modeling stage is dedicated to the creation of your MDA component, and the creation, development and implementation of your UML extensions, which will later be packaged in the new MDA component. For more information, please see “Creating an MDA component” and “Defining UML extensions”.
During the MDA component production stage, the MDA component created during the modeling stage is completed (for example, through the addition of parameter instances and commands), before being tested, compiled and packaged, ready for deployment. For more information on the MDA component production stage, please see “Creating a command”.