Skip to main content


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 10:04 Go to next message
Eclipse UserFriend
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 14:41 Go to previous messageGo to next message
Eclipse UserFriend
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 16:15 Go to previous message
Eclipse UserFriend
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: Tue Apr 16 19:51:49 GMT 2024

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

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

Back to the top