|[Acceleo] Good way to get operations object from MessageOccurenceSpecification [message #532628]
||Mon, 10 May 2010 15:41
| Laviale Benoit
Registered: April 2010
What's the différrent ways to get opérations object from a message object?
For the moment, i do 3 Whiles to get the operation from an object with this code :
[for (mess : MessageOccurrenceSpecification | i.fragment) ]
[for (l : Lifeline | mess.covered)]
[for ( o : Operation | l.represents.type.ownedElement ) ? (mess.message.name = o.name and mess.event.eClass().name = 'ReceiveOperationEvent')]
But i think its not the best way to do.
I want to have "directly" the Operation object, with out "whiles" in the "main while"
What's the différence between Messages ( object in the MessageOccurrenceSpecification object ) and MessageOccurrenceSpecification?
Because I don't know what's the "Job" of MessageOccurenceSpecification...
Thank you for your help!
Thales Communications France
[Updated on: Mon, 10 May 2010 15:43]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04252 seconds