Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Help, please look at this issue
Help, please look at this issue [message #624814] Tue, 18 September 2007 16:52
Jerry is currently offline JerryFriend
Messages: 32
Registered: July 2009
Member
This question might be too easy or even stupid, but I could not find the
solution. Please give me some hints. Thanks a lot!

To get Stereotype Property values, I know I can use
namedElement1.getValue(stereotype1, property1.getName()); if the type of
property1 is primitive types, e.g., String, Boolean..or Enumeration, there
is no problem. BUT when it is another Stereotype (let's say stereotype2)
and the value of property1 is <<stereotype2>><Class>NamedElement2, the
above method returns only the stereotype2! e.g., it looks like this:
org.eclipse.emf.ecore.impl.DynamicEObjectImpl@30d83d (eClass:
org.eclipse.emf.ecore.impl.EClassImpl@1406eb6 (name: stereotype2)
(instanceClassName: null) (abstract: false, interface: false)).
So how could I get the NamedElement2?

Thank you very much for help!
Previous Topic:Required Interface
Next Topic:how to get stereotyped-property's value
Goto Forum:
  


Current Time: Fri Apr 26 14:18:25 GMT 2024

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

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

Back to the top