Help, please look at this issue [message #624814] |
Tue, 18 September 2007 16:52 |
Jerry 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!
|
|
|
Powered by
FUDForum. Page generated in 0.02945 seconds