Assigning Value to TimeEvent [message #1708768] |
Sun, 20 September 2015 20:12 |
Muhammad Kashif Messages: 52 Registered: April 2015 |
Member |
|
|
Hello,
I am working on profile diagram in papyrus. I have made a stereotype "S1" and added "a1" as its attribute. The attribute "a1" is typed by uml metaclass "TimeEvent".
The stereotype "S1" is extended from UML metaclass "Class". Now when I apply that stereotype to a "block" in SysML BDD.. It then asks me to set the value of attribute "a1". What i am doing to set its value is just craeting a time event having "1second" in opaque expression.
The problem i am facing is that when i open my uml model in "Sample Reflective Ecore Model Editor" and then check there the value of "a1" using "interactive OCL", but it keeps returning me "false" as a result, whereas it should return "true" when i write already assigned value. Actually the "TimeEvent" is not being assigned any value..
I have tried all language in opaque expression.
Can anyone help me Please..
Thanks in advance
Regards
|
|
|
Powered by
FUDForum. Page generated in 0.02387 seconds