Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » OCL and MetaModels
OCL and MetaModels [message #583119] Wed, 26 July 2006 03:13
Ian Bull is currently offline Ian BullFriend
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
Previous Topic:CDO and Derby
Next Topic:CDO Open Resource Q
Goto Forum:
  


Current Time: Fri Apr 19 17:00:13 GMT 2024

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

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

Back to the top