Discover the Obeo modules

Uml to Java Generator

Version 3.0

This generator allows you to produce Java source code from a UML model. This module uses the standard UML2 metamodel provided by Eclipse Foundation and as such is compatible with any UML tools using this standard like UML Designer. It is based on the award winning code generation project, Acceleo.

Created by the members of the Acceleo development team, this generator is part of the Eclipse UML Generators project. It is highly integrated in Eclipse with a dedicated launch configuration to keep track and your generations. This generator also includes a builder that can be activated to monitor your project and generate your code if your UML model is modified, keeping your code synchronized with your model. This module also contains an integrated documentation.

This generator is also customizable thanks to properties accessible in its launch configuration and, being based on Acceleo, you can also contribute dynamically to this generator to modify the generated code. This generator can also be used programmatically out of Eclipse from any Java application. This generator is not only free but open source and its source code is available on GitHub.

Change Log


Released on March 04, 2015
  • Migration of the module to Eclipse UML Generators project


Released on April 25, 2013
  • The generator does not take into account the default values from the model.
  • 1 Bug fix


Released on April 18, 2013
  • The generator should not prevent the generation of sub-packages for "packages to ignore during import"
  • 1 Bug fix


Released on April 11, 2013
  • Support the generation of the components
  • Support for the generation of nested classifiers
  • Inherited operations from abstract classes and interfaces can be generated twice.
  • 1 Bug fix


Released on March 25, 2013
  • Improve the generation for Topcased datatypes
  • Improve the generation of the documentation
  • Operation without any return type do not have a protected area
  • Inherited operations from abstract classes and interfaces can be generated twice.


Released on March 06, 2013
  • Improve the generation of the documentation


Released on July 18, 2012
  • Improve the generation of accessors for collections.


Released on March 07, 2012
  • Fix an issue with the generation of the imports declaration
  • 1 Bug fix


Released on December 04, 2011
  • Initial contribution
  • Support for models from UML Designer