Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Context OCL Constraints (Setting the Stereotype from Profile as the Context of OCL Context in model)
Context OCL Constraints [message #1718799] Wed, 30 December 2015 12:03
Muhammad Kashif is currently offline Muhammad KashifFriend
Messages: 52
Registered: April 2015
Member
Hi,

I need some help while setting the context of OCL constraint. Wjat I want to do is that I have made a stereotype "S1" in UML profile Diagram. S1 has an attribute "aa" of boolean type. The profile is applied on model.

Now I want to write an OCL constraint in UML State Machine Diagram (profile is applied there already. For that particular constraint I need to access the variable "aa" defined in "S1" but I am unable to set the context of that constraint from profile so that I the variables defined in "S1" are accessible in model.
Is there any way out to set the stereotype as the context of OCL constraint or I can use the variables in model already defined at profile level ??

Any help would be appreciated..

Thanks
Previous Topic:Limitations in the size of Papyrus models
Next Topic:UML Profile custom shape not working
Goto Forum:
  


Current Time: Mon Jul 06 03:48:17 GMT 2020

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

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

Back to the top