|
|
|
Re: reflection: accessing UML classes from (instance) EObject? [message #627324 is a reply to message #478116] |
Thu, 08 January 2009 22:32 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Joel,
There's no mapping maintained to do that, and certain not in the form of
API whereby the Ecore model has direct references to the UML model. .
If you know which UML package corresponds to which EPackage (via the
nsURI presumably), then likely the name correspondence between the
EClass and the UML UML would be sufficient to do the mapping...
Joel Greenyer wrote:
> Hi,
> when I generate an ecore model based on an UML model, how can I then
> access the UML (class) model from an (instance) EObject? I would like
> to do something like "myObject.eClass().getTheCorrespondingUMLClass()".
> Somehow I can't find this explained anywhere.
>
> Thanks for helping
>
> Joel
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03164 seconds