Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » allInstances not working
allInstances not working [message #563617] Sat, 21 January 2006 04:11
Eclipse UserFriend
Originally posted by:

For the interpreter example applied on the library example,
the expression "Book->allInstances()" yields following error:
illegal operation signature: (Set(null).allInstances())

Although for the library example I could use the expression "books" with the
library EObject as context
to print out all books (using the EReference),
I need something like "Book->allInstances()" for other metamodels in

I saw "allInstances" used in the GMF tutorial "OCL Interpreter Tutorial"
used withing some other methods,
but I thought this would work with the Interpreter example, too.

(I tested this on the latest build.)

Any idea?
Previous Topic:[Announce] EMFT VALIDATION 1.0.0 I200601191249 is available
Next Topic:allInstances not working
Goto Forum:

Current Time: Thu Sep 29 21:18:57 GMT 2022

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

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

Back to the top