Hi,
I've got the following piece of code in andromda-metafacades.xml:
<metafacade
class="org.andromda.cartridges.stmdsoc.metafacades.RoleModelAssociationEndFacadeLogicImpl">
<mapping class="org.omg.uml.foundation.core.AssociationEnd$Impl">
<property name="partOfRoleModelAssociation"/>
</mapping>
</metafacade>
<metafacade
class="org.andromda.cartridges.stmdsoc.metafacades.ViewAssociationEndFacadeLogicImpl">
<mapping class="org.omg.uml.foundation.core.AssociationEnd$Impl">
<property name="partOfViewAssociation"/>
</mapping>
</metafacade>
In other words, some AssociationEnds are mapped to RoleModelAssociationEnd, and
some to ViewAssociationEnd, depending on which of the two properties evaluates
to true.
However, this doesn't seem to work: If I put the RoleModelAssociationEnd
mapping first, the RoleModelAssociationEnds will be mapped corretly, but the
ViewAssociationEnds will just be plain AssociationEnds.
If I reverse the order, the ViewAssociationEnds will be mapped correctly, but
then the RoleModelAssociationEnds will just be plain AssociationEnds.
I checked, and it seems the property methods are called each time. It's just
that the evaluation of the one which is listed second, is ignored and given the
default mapping...
This is andromda 3.0 final.
Any suggestion?
Thanks,
Hans
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2928#2928
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