pr0t3us / model2roo

Automatically exported from code.google.com/p/model2roo
0 stars 0 forks source link

Cannot generate --permitReservedWords for entity command #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have the entity in my model called User and roo complains that I use reserved 
keyword. A solution is to add --permitReservedWords to the entity command, but 
I cannot achieve this with model2roo.

However, the functionality is available for other commands by using UML 
stereotypes, eg. RooFieldString stereotype has permitReservedWords property.

So, I think that the permitReservedWords property should be added to RooEntity 
stereotype and possibly other stereotypes where it makes sense.

Original issue reported on code.google.com by MacJar...@gmail.com on 16 Jul 2012 at 4:11