Skip to main content



      Home
Home » Modeling » UML2 » Resolving unqualified names
Resolving unqualified names [message #626362] Tue, 08 April 2008 04:12
Eclipse UserFriend
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: Sat Aug 30 21:07:10 EDT 2025

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

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

Back to the top