OCL on meta-models [message #30917] |
Wed, 27 June 2007 10:04 |
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 14:41 |
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02906 seconds