Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Introduction to OCL
Introduction to OCL [message #893588] Wed, 04 July 2012 17:39 Go to next message
Wouter Schaekers is currently offline Wouter SchaekersFriend
Messages: 17
Registered: July 2012
Junior Member
Are there any good introductions to OCL? I want to use OCL to impose a few constraints on the grammar I've developped.
I followed these instructions:
5ise.quanxinquanyi.de/2011/02/21/validating-xtext-models-with-ocl/
but I'm kind of stuck at the point where I have to 'tweak' the genmodel file.
Re: Introduction to OCL [message #893593 is a reply to message #893588] Wed, 04 July 2012 18:08 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6589
Registered: July 2009
Senior Member
Hi

For embedded OCL (OCLinEcore) see OCLinEcore for Xtext Validation in the
Indigo/Juno OCL Documentation.

For complementary OCL (Complete OCL) Juno's OCL Documentation adds a
Complete OCL tutorial, see the Example Complete OCL complements for
Xtext section.

Regards

Ed Willink

On 04/07/2012 18:39, Wouter Schaekers wrote:
> Are there any good introductions to OCL? I want to use OCL to impose a
> few constraints on the grammar I've developped.
> I followed these instructions:
> 5ise.quanxinquanyi.de/2011/02/21/validating-xtext-models-with-ocl/
> but I'm kind of stuck at the point where I have to 'tweak' the
> genmodel file.
Previous Topic:Grammar for natural language business rules
Next Topic:non-LL(*) decision due to recursive rule invocations
Goto Forum:
  


Current Time: Sun Feb 23 08:36:26 GMT 2020

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

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

Back to the top