Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » validating OCL Complete File on models
validating OCL Complete File on models [message #1430761] Wed, 24 September 2014 19:42
azadeh jb is currently offline azadeh jbFriend
Messages: 18
Registered: September 2013
Junior Member
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: Fri Jul 03 11:54:05 GMT 2020

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

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

Back to the top