Tip: Manage your Java SetList as a Modeling Guru

Did you know it? GenMyModel allows you to generate code from your lovely designed model and it uses information from YOUR model to write dozen of code lines. So, you can influence the generated code by carefully selecting properties on your model elements.

What about Collections? In GenMyModel a [x..*] multiplicity on a Property element (Class Attribute or Association End) implies that a Collection will be generated. If you consider your element as “unique”, a Set will be generated. Else, a List will be generated.

Try by yourself and play with element properties. Of course, if you have any suggestions or questions, it will be my pleasure to answer them.

Love,

Vince

PS: Please, anyone, tell me that you understood the musical reference in the title, my colleagues didn’t catch it and are making fun of me.

Tweet about this on TwitterShare on FacebookShare on Google+Share on LinkedIn

About the author

vince Team

Music, cards and beer lover...

Also PhD in Computer Science specialized in software modeling, code generation and model driven development. Interest/work in code generation, reverse engineering techniques, interpretation and compilation.