ElixirGenXML

Intro

ElixirGenXML is a simple tool that generates Elixir entity definitions from UML class diagrams. ElixirGenXML reads XMI files and outputs a python file with Elixir declarations of Entities, their fields and relationships. XMI files can be generated by most CASE tools such as ArgoUML, Poseidon, Enterprise Architect and others.

Using ElixirGenXML

Download ElixirGenXML.

Create your model in a UML Class diagram tool that can export it to XMI files. Most of them can export XMI files, but I only tested ElixirGenXML with ArgoUML.

Then, run "./ElixirGenXML model.xmi model.py". This command will read your model.xmi file and output model.py. All you need to do now is to setup your database in model.py and you are done.

Dependencies

Author

Leandro Lameiro ( lameiro at gmail dot com )

Feedback

Feedback is appreciated. Send e-mail to lameiro at gmail dot com if you have any suggestion, opinion or contribution to this project.

Changelog

TODO list

License

GNU GPL

Acknowledgments

This code is largely based on the great XMIParser from ArchGenXML. This tool would not exist if XMIParser wasn't as good as it is.

Old versions

If you need an old version of ElixirGenXML, you can download here.