OCL and MetaModels [message #583119] |
Wed, 26 July 2006 03:13 |
Ian Bull Messages: 145 Registered: July 2009 |
Senior Member |
|
|
Hi All,
I have been working with Ocl in ATL but I am just now using the Ocl
plugin in EMFT. I would like to specify some OCL "queries" using some
meta information.
1) i would like to get the container of a given EObject. Say i have
something like Writer.allInstances()->collect( w | w.eContainer() ). In
this case I would like the list of all libraries. But I would also like
to do this in a more general sense
self.eContainer().
2) I would like to do some processing on the MetaModel elements. In the
case of the library example, I would like to say
Writer.getEStructuralFeatures()
Are these possible? Should they be?
Cheers,
ian
|
|
|
Powered by
FUDForum. Page generated in 0.01898 seconds