| EMF with OCL [message #502133] |
Sun, 06 December 2009 07:28  |
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
|
|
|