Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Resolving unqualified names
Resolving unqualified names [message #626362] Tue, 08 April 2008 08:12
Felix Dorner is currently offline Felix DornerFriend
Messages: 676
Registered: July 2009
Senior Member
Hey,

Suppose I have the following Namespace/Package structure:

|-p
|-School
|-q
|-Teacher
|-talk()

Inside the talk() Operation, according to the specs, I can refer to School unqualified,
since School is in an enclosing Namespace of Teacher. I tried to resolve the School element by
querying q.members, but that doesn't find it. Reading the specs again, I understand why.

So I guess I need to manually walk up the Namespace Onion, and query each Namespaces members :-P to resolve that name? I couldn't find an API call that
already does that?

Felix
Previous Topic:Connectors and Provided / Required Interfaces
Next Topic:Types that are not Classifiers
Goto Forum:
  


Current Time: Fri Sep 20 13:21:18 GMT 2024

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

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

Back to the top