I am creating a UML profile with papyrus and I don't
understand how to attach OCL constraints to the model
stereotypes. I am looking for information but I haven't
found any.
I now how to attach a constraint element to the model but I
can't understand how to fill the fields in the "Properties
View" in order the validation of the constraints works
correctly in the later process of profile application.
If anyone knows about any documentation which can helps me
or he/she can help me yourself, please let me know.
we just have introduced an OCL editor in Papyrus enabling you to edit a constraint with OCL. But, for the moment it is only for authoring the OCL constraint in a model, and it is not yet possible to check them. It should come. Contributions are wellcome.