Code Generator Print this Topic Previous Page Up One Level Next page

Home > 

Code Generator

UModel includes a built-in code generator which can automatically generate Java, C#, Visual Basic, or XML Schema files from UML models.


Note on alias usage:

When reverse engineering code which contains namespace or class aliases, you can now choose if the alias is to be resolved. (Check box "Resolve aliases" in Import Source Project/Directory dialog box).


When updating code, i.e. model to code, alias definitions are retained in the code as is. The scope of the alias definitions are the files in which they appear.



using Q = System.Collections.Generic.Queue<String>;

Q myQueue;


Any potentially conflicting aliases are added to the "Unknown Externals" if their use is unclear.



The Resolve alias settings can be changed at any time in the Project Settings dialog box.

© 2019 Altova GmbH