[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.ocl] OCL in Transition's Guard to access trigger properties

Hi all,

i have a problem concerning guards and transitions and triggers. The semnatics of an UML StateMachine is, that it is possible to access the information carried by an event within the expression of a guard. In my case, i want to compare a signal value with a value of the context classifier of my transition's guard. My current approach is

self.data = self.Transition.Trigger.Signal.data

But i think this is not correct. Unfortunately, there is no convenient example for this, mostly the example state only pseudo-ocl.

Thanks

Timothy