|Loading an instanciated model via EGL loadModel [message #571591]
||Wed, 29 July 2009 12:21
Registered: September 2009
Knowing that Dimitris is away I was wondering if anyone else is able to
spot what I must be doing wrong.
I'm trying to opertate on an instanciated model (*.model) via EGL in a
TOMCAT environment (see
I can load and query/traverse the metamodel in the examples and with my
own metamodels. My understanding of the Model Manager functions is that I
would do something like:
Where aPackageURI is the name of a package URI within the myMeta.ecore.
I assume I should then be able to access the EClasses by their name i.e.
However I get an error of "Undefined variable, type or model:"
I have also trying using the AnyName as well to no success.
I am assuming that this is loading the model as if I do a EObject.all() I
can see the elements I'm trying to access. They do not exist under
anything other than EObject and I'm currently stumped as to how to get the
root class to start traversing the data. Any pointers/help is much
Powered by FUDForum
. Page generated in 0.01612 seconds