I've tried to do a UML2UML-Transformation in Java. The problem is, that whenever I have a 1-1 Association, I need to set the primary association end.
But how can I do this? I've tried to get the right Stereotype and apply it to an AssociationEnd, but AndroMDA complains that no primary association end is set.
I've used this code:
Iterator iter = association.getApplicableStereotypes().iterator();
Stereotype s = (Stereotype) iter.next();
Could you please help me?
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=26463#26463
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
Get latest updates about Open Source Projects, Conferences and News.