Hi there,


I need to make many-to-many association (between A and B classes) with some 
link parameters. As far as my tests went - AndroMDA is no supporting UML 
association classes. That's why I had to create 'connector' class.



A (1) ----- (0..*)IC(0..*) ----- (1)B



How can I force IC class to use FK from A and B as it's primary key?



And second question - not related with above example:



How (if it is possible) can I expose foreign keys of associated entities as 
attributes of entities to which they are associated to ?



A(classAId) -------------------> B(classBId)



I'd like to have classBId available in class A. In case I need to create 
ValueObject with FK - right now I have to use a.getB.getID which causes two DB 
queries...
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1369#1369
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