Java Generator

More productivity and agility
for your Java developments !

What is it ?

Java Generator translates UML models to Java applications. Purpose of this generator is to offer a bijection between model and code. Specially with new generation of languages like Java that not only offers a language yet offers also a platform. These platform offering a good level of abstraction that decreases the gap between model and code.

Java Generator is free and allows you to customize generation rules and add your own patterns.

How does it work ?

A mandatory features of these generator is of course Mia-Generation tools. After installation of Mia-Generation, Java Generator will be automatically installed, because it is embedded as a common solution for Mia-Generation.
A first step of an application will be to build a model following a development process (analysis, design, etc.), then choose a target platform for your application. So if you choose Java target, you may want to generate rapidly a large part of your code (structure, data, etc.), it is available with Java Generator through scenario "Java Generation". Of course some parameters may be initialized using scenario "Java Generation Parameters", for example to define collection strategy for n-ary associations in uml model.

Result of this configuration will be a property file, that can also be manually edited :

##########################
# Java Generation Parameters #
##########################

collection.generateSetValues = true
collection.unOrdered = HashSet
collection.map = HashMap
collection.generateSize = true
attribute.prefix =
collection.generateAdd = true
collection.generateClear = true
collection.generateGetValues = true
collection.generateGetElement = true
attribute.generateGetter = true
collection.ordered = ArrayList
constructor.generateDefault = true
attribute.generateSetter = true
collection.alwaysOrdered = true
collection.generateRemove = true