Modelio Java Designer main features¶
Generating Java files¶
Java code generation consists of producing Java files for a model’s classes, using the correspondence between Java notions and modeling notions.
Modelio Java Designer has a default strategy for generating parameter and attribute declarations. It converts UML types into Java 5 types, ensuring modern code generation, based on the Java collections framework. Other translations can be implemented easily, using the Modelio Java Designer customization file.
Java documentation generation uses the JDK javadoc tool to produce HTML files from the generated java files. This operation is therefore related to the generated java files. Special notes, inserted during the modeling phase and taken into account during code generation, are then used.
Compiling generated files¶
The compilation of generated files consists of producing the class files from generated Java files. For this, Modelio Java Designer proposes the generation and execution of ANT files.
The reverse engineering operation consists of incorporating classes of existing libraries, especially the JDK, into a model. During the modeling phase, this allows you to:
specialize these classes
create associations towards them
create attributes that have one of these classes as their type
create methods parameters that have one of these classes as their type
The reverse feature also allows you to reverse your developed code into a Modelio model.