If I define an attribute in a specialization, it appears twice in the 
Collection of attributes 

from ClassifierFacadeLogicImpl.handleGetAttributes(true).  Surely this is 
incorrect,

and the Collection should only include the overriding attribute--instead of 
adding all

attributes from the generalization, only those not already in the Collection 
should be

added.  



Also, it looks like we can only get attributes from two generations at the 
moment.

ISTM, that we could simply change superClass.getAttributes() to 

superClass.getAttributes(true) and pick up the superClass' generalization 
attributes as 

well.



In case anyone is wondering, I'm referring to the handleGetAttributes(true) 
method in 

metafacades/uml/uml14/src/java/org/andromda/metafacades/uml14/ClassifierFacadeLogicImpl.java



thoughts?

  b
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2952#2952
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