Facts:
-My UML uses enumeration for some classe's attributes.
-All the model enumerations are prefixed with PrimaEnum and are String values.
- there is a lot of enumerations in the model.
The generated code for these attributes declaration looks like this:
private xx.yy.PrimaEnumBuildingType buildingType;
but I would like to have:
private String buildingType;
Questions:
-Is there a way to use wildcards in the xml mapping file, something like this?
Because i have lots of enumerations and don't want to map them explicitly
<mapping>
<from>*::PrimaEnum*</from>
<to>String</to>
</mapping>
-Is there a way to generate enumerations classes as well with static final
class members for the values?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3396#3396
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user