attribute inheritance in ClassifierFacade.getProperties(boolean) ----------------------------------------------------------------
Key: UMLMETA-47 URL: http://jira.andromda.org/browse/UMLMETA-47 Project: UML Metafacades Type: Improvement Versions: 3.1RC1 Environment: linux, sun jdk 1.4.2 Reporter: Brent Verner Assigned to: Wouter Zoons Attachments: entity-specialization-2.diff As part of my ongoing battle with attribute inheritance, I've found that getProperties(boolean) allowed overridden attributes from generalizations to be returned. The attached patch modifies handleGetProperties(boolean) to do the right thing with inherited attributes and (I hope!) association ends and modifies handleGetRequiredProperties(boolean, boolean) to use the new getProperties(boolean). w/o This patch, we still end up with duplicate attributes from getProperties(boolean). The patch also filters the properties' association ends of duplicates from generalizations, but I'm not sure this is correct...comments? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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-devel mailing list Andromda-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-devel