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

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 .

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 Aug 04 07:04:34 GMT 2020

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

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

Back to the top