Skip to main content



      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 07:03
Eclipse UserFriend
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: Tue Jul 15 21:12:20 EDT 2025

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

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

Back to the top