Context OCL Constraints [message #1718799] |
Wed, 30 December 2015 12:03 |
Muhammad Kashif 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
|
|
|
Powered by
FUDForum. Page generated in 0.02913 seconds