Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Assigning Value to TimeEvent
Assigning Value to TimeEvent [message #1708768] Sun, 20 September 2015 20:12
Muhammad Kashif is currently offline Muhammad KashifFriend
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
Previous Topic:SysML properties
Next Topic:Is there a maven repository somewhere to build Papyrus-based applications?
Goto Forum:
  


Current Time: Thu Apr 25 01:33:48 GMT 2024

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

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

Back to the top