[ http://jira.andromda.org/browse/UMLMETA-46?page=history ]
Brent Verner updated UMLMETA-46: -------------------------------- Attachment: entity-specialization.diff Patch implementing updated getAttributes(boolean follow) and new getProperties(boolean) and getProperties(boolean, boolean). This does cause a test failure, apparently, due to the new methods not being in some test file source... Testsuite: org.andromda.cartridges.testsuite.CartridgeTest Tests run: 220, Failures: 7, Errors: 0, Time elapsed: 0.483 sec Testcase: testEquals(org.andromda.cartridges.testsuite.FileComparator): FAILED junit.framework.ComparisonFailure: actual file </home/brent/workspace/andromda-src/cartridges/andromda-meta/target/cartridge-test/actual/org/andromda/metafacades/uml/ClassifierFacade.java> does not match, expected:<......> but was:<... */ public java.util.Collection getProperties(boolean follow); /** * ...> > Add support for inherited attributes in specializations > ------------------------------------------------------- > > Key: UMLMETA-46 > URL: http://jira.andromda.org/browse/UMLMETA-46 > Project: UML Metafacades > Type: Improvement > Versions: 3.1RC1 > Environment: linux, sun jdk 1.4.2 > Reporter: Brent Verner > Assignee: Wouter Zoons > Attachments: UMLMetafacadeModel.xml.zip, entity-specialization.diff > > In order to support overriding of inital value of attributes > inherited from a generalization, getAttributes() needs to return > only the overridden attribute (as opposed to duplicating the > attribute in the returned Collection). More discussion in the > forum [topic: specialization/inheritance implementation question] > http://galaxy.andromda.org/forum/viewtopic.php?t=497 -- 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