Skip to main content



      Home
Home » Modeling » Papyrus » validating OCL Complete File on models
validating OCL Complete File on models [message #1430761] Wed, 24 September 2014 15:42
Eclipse UserFriend
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
Previous Topic:Open textual editor for stereotype applications
Next Topic:how to set the selection programmatically in the papyrus diagram
Goto Forum:
  


Current Time: Tue Jul 15 23:22:42 EDT 2025

Powered by FUDForum. Page generated in 0.41832 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top