Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL on meta-models
OCL on meta-models [message #30917] Wed, 27 June 2007 06:04 Go to next message
Eclipse User
Originally posted by: anquiroe101.hotmail.com

Hi all :D
Can someone show me code examples using OCL on meta-models (other example
different to "OCL Interpreter").

Thanks
Cheers,
Anne
Re: OCL on meta-models [message #30987 is a reply to message #30917] Wed, 27 June 2007 10:41 Go to previous messageGo to next message
Eclipse User
Originally posted by: cdamus.ca.ibm.com

Hi, Anne,

Ecore is both a model and a meta-model, so any constraint defined in an
Ecore instance constitutes an example. Thus, the
org.eclipse.ocl.ecore.tests JUnit test suite has numerous examples
demonstrating pretty nearly everything you can do with OCL.

That's about it for examples that you will find in the OCL component,
itself. Other Eclipse projects such as GMF use OCL (GMF uses it to a
fairly considerable degree). You might have a look, there.

Cheers,

Christian


Anne wrote:

> Hi all :D
> Can someone show me code examples using OCL on meta-models (other example
> different to "OCL Interpreter").
>
> Thanks
> Cheers,
> Anne
Re: OCL on meta-models [message #31022 is a reply to message #30987] Wed, 27 June 2007 12:15 Go to previous message
Eclipse User
Originally posted by: anquiroe101.hotmail.com

ok. I will read all examples you say me.
Thanks :D

Cheers,
Anne
Previous Topic:OCL query
Next Topic:Re: [OCL] String Operations
Goto Forum:
  


Current Time: Fri Aug 29 08:29:56 EDT 2014

Powered by FUDForum. Page generated in 0.01667 seconds