|Re: Checking OCL contraints in Papyrus [message #1175442 is a reply to message #1175283]
||Thu, 07 November 2013 19:16
| Klaas Gadeyne
Registered: July 2009
Alexander W wrote on Thu, 07 November 2013 11:53|
I created an simple UML Model in Papyrus with an simple constraint. How can I check the constraints which I defined (on an instance of the UML Model)?
I didn't found a tutorial which shows the definition of a class constraint and the checking of this constraint from scratch. So maybe someone has further links/examples. Until now only the model.uml and model.di file exist.
Thanks in advance. Alex
Regarding the definition, see Ed's answer above.
Regarding the execution: simple answer: it ain't possible, see <https://bugs.eclipse.org/bugs/show_bug.cgi?id=417062>
Less simple answer: Depending on your goals, you might transform your model into an ecore model, and validate ecore instances instead.
[Updated on: Fri, 08 November 2013 09:51]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06455 seconds