validating OCL Complete File on models [message #1430761] |
Wed, 24 September 2014 15:42 |
Eclipse User |
|
|
|
Hi,
I have a question regarding the Complete OCL file in Papyrus. I create a simple UML profile with a stereotype. I created a complete ocl file and add that to the project and load it to the profile (through Load Resource context menu ). I created a model and applied the profile on the model and applied its stereotype on the class of the model. When I validate the model, it doesn't check that ocl constraint .
Am I missing something here working with Complete OCL file? Because When I define the same OCL expression inside the profile directly (by creating the constraint and adding it to the stereotype) and applying the profile to the model, the constraint is checked.
One more question: is there any way for measuring the time it takes for validating the ocl constraints on models without using the APIs?
I would appreciate if you can help me with this .
Thanks,
Azadeh
|
|
|
Powered by
FUDForum. Page generated in 0.41832 seconds