Re: question on OCL



Date view Thread view Subject view Author view

Ileana Ober (Ileana.Ober@csverilog.com)
Fri, 31 Mar 2000 15:58:12 +0100


>I would like to express that the trigger event of a transition is always of >type CallEvent. Use: self.trigger.oclIsTypeOf(CallEvent) >Transiton: >self.trigger.oclAsType(CallEvent) Using "oclAsType" you force the type of the self.trigger to CallEvent (it is a cast not a constraint). Ileana Ober


Date view Thread view Subject view Author view