This is a simple tool to generate code from an UML diagram created with Umlet.
To test this app you can find the uxf samples in the uxfForTest folder
This tool generate java class files according to the source UML :
- All attibutes (with their types) of each class (including attributes generated from relations)
- Getters & setters
- Constructs
-
Clone this repo
-
In the Main.java file replace the file by your uxf file (you have some sample in the uxfForTest folder):
public static void main(String[] args) { //... new UxfParser("pathTo/yourFile.uxf"); }
-
Compile the app :
mvn compile
-
Run the app :
mvn -q exec:java