Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Problem with Interactive OCL Console used with Sample Ecore Editor
Problem with Interactive OCL Console used with Sample Ecore Editor [message #601486] Mon, 22 January 2007 16:27
Markus Herrmannsdoerfer is currently offline Markus HerrmannsdoerferFriend
Messages: 50
Registered: July 2009
Member
Hi,

I am using the Interactive OCL Console to check whether constraints on
an Ecore model are valid or not.

When I select an element of type EClass as context object and execute
the constraint

self.name

then I get the following result:

ERROR in (variableExpCS): (Unrecognized variable: (name))

However, when executing the same constraint on an element of type
EPackage as context, the result is the name of the package.
This problem exists for all structural features of element of type EClass.

Am I doing something wrong or is this a bug?
By the way, I am using Eclipse 3.2.1, EMF 2.2.0 and EMFT OCL 1.0.1.
Thanks in advance.

Markus Herrmannsdörfer
Previous Topic:OCL link constraint queries
Next Topic:Live Validation not working!?
Goto Forum:
  


Current Time: Sun Feb 28 08:31:03 GMT 2021

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

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

Back to the top