I have two classes in my model: Order and OrderItem. Each class has an 
attribute called id which is the unique identity of the class. When I try to 
generate this model, I get the following error:



ERROR [AndroMDA] Model Validation Failed - 2 VALIDATION ERRORS

ERROR [AndroMDA] 1) [Data::test::Order]:The name of each attribute on a class 
must be unique.

ERROR [AndroMDA] 2) [Data::test::OrderItem]:The name of each attribute on a 
class must be unique.



Why does AndroMDA impose this restriction? The two attributes are in different 
scopes and have nothing to do with each other. In a more complex model it may 
be impossible to name each attribute uniquely.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2805#2805
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
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to