Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Eclipse Corner Article: Implementing Model Integrity...
Eclipse Corner Article: Implementing Model Integrity... [message #44397] Thu, 22 November 2007 15:46 Go to next message
Johannes is currently offline Johannes
Messages: 25
Registered: July 2009
Junior Member
Dear Christian,

i m a newbie to OCL and tried just the execution of the employees example.

without having to go too deep into the matter, could you briefly
describe which expressions of ocl are covered by your templates?

i m dreaming of using OCL within ecore without having to write any java
code - is this possible now or in future?


hazy november greetings
johannes
Re: Eclipse Corner Article: Implementing Model Integrity... [message #44522 is a reply to message #44397] Thu, 22 November 2007 17:49 Go to previous message
Eclipse User
Originally posted by: cdamus.ca.ibm.com

Hi, Johannes,

Are you in as snowy a part of the world this fine November day as I am?

You can wake up from your dream. :-) It's possible now, as the article
demonstrates. The article implements the following constructs:

- EClass invariants
- operation body expressions
- attribute derivation expressions

I don't think the article's templates implement operation preconditions,
although they would be easy enough (very much like the invariants and
operation bodies). The more difficult task is the operation
post-condition, with its @pre expressions.

You might also want to follow and/or contribute to this enhancement request
in bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=191689

HTH,

Christian


"J. GroƟ" wrote:

> Dear Christian,
>
> i m a newbie to OCL and tried just the execution of the employees example.
>
> without having to go too deep into the matter, could you briefly
> describe which expressions of ocl are covered by your templates?
>
> i m dreaming of using OCL within ecore without having to write any java
> code - is this possible now or in future?
>
>
> hazy november greetings
> johannes
Previous Topic:Bug: org.eclipse.ocl.ecore.QueryImpl breaks GC of org.eclipse.ocl.Query.evaluate(Object) breaks gene
Next Topic:[Announce] MDT OCL 1.2.0 I200711221232 is available
Goto Forum:
  


Current Time: Tue Sep 23 16:42:17 GMT 2014

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

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