Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Optimal way of getting superclass hierarchy of a given uml Class
Optimal way of getting superclass hierarchy of a given uml Class [message #624097] Fri, 27 July 2007 09:33
Francis Gavino is currently offline Francis GavinoFriend
Messages: 57
Registered: July 2009
Member
Hi,

Given a UML Class hierarchy:
GrandParentFoo > ParentFoo > ChildFoo
If I have ChildFoo, what is the most optimal way of getting the list of
super classes [ParentFoo, GrandParentFoo] (in no particular order)? Note:
I don't declare multiple super classes in the same level. What I do now is
I call getSuperClasses() and get the first one recursively.

Thanks,
Francis
Previous Topic:Re: Problem with redefining enum property
Next Topic:Register a profile as built-in
Goto Forum:
  


Current Time: Fri Sep 22 11:52:08 GMT 2017

Powered by FUDForum. Page generated in 0.05999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software