RE: question on OCL



Date view Thread view Subject view Author view

GERARD Sebastien 166342 (GERARD@ortolan.cea.fr)
Fri, 31 Mar 2000 16:29:00 +0200


merci et à bientot a ECOOP, Sébastien. -----Message d'origine----- De : Ileana Ober [mailto:Ileana.Ober@csverilog.com] Envoyé : vendredi 31 mars 2000 16:58 À : puml-list@cs.york.ac.uk Objet : Re: question on OCL >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 To remove yourself from this list please mail puml-list-request@cs.york.ac.uk with a message containing the word "unsubscribe".


Date view Thread view Subject view Author view