Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » EMF with OCL
EMF with OCL [message #502133] Sun, 06 December 2009 07:28 Go to previous message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hi all,

i want to enhance my ecore model with OCL constraints. For simple
constraints (like the length of a string) this can be easily done, but
what is the best strategy to test much more complex and complicated
constraints? Allways regeneratinhg and than restarting the whole model
and editor seems to be very unhandy. Does anyone have some good hints
how to test the constraints? It should be possible to use the OCL
Interpreter, i think.

And one more question. Are the constraints being checked when the model
is manipulated programmatically or is this only possible via the editor?
I think i can assume the answer, but to know it is much better :-)

Thanks a lot and a nice 2. Advent

Timothy
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:EObject methods will not be available after Helios M4 milestone.
Next Topic:Execute OCL queries on models
Goto Forum:
  


Current Time: Mon May 20 09:19:45 EDT 2013

Powered by FUDForum. Page generated in 0.01588 seconds