Java code generation functions
Generating
several classes within a single source file
Java source files can contain several
classes. To generate
several classes in the same source file, the file's main class is linked to the
other files by an element import link stereotyped as
<<JavaFileGroup>>.
A Java source file containing several classes is generated in the model in the following way:

Figure 71. The "ArcTest" applet model
The file's main class is linked to the other files by an element import link stereotyped <<JavaFileGroup>>.
This modeling is clear and replaces the use of the {JavaNonPublic} tagged value although the tagged value will still be taken into account.
Java generation commands
Objecteering
Java Developer generation offers several features related to generation.

Figure 72. Commands available from an element