Skip to main content



      Home
Home » Modeling » OCL » What's the way to get Operation object from a message object
What's the way to get Operation object from a message object [message #532103] Fri, 07 May 2010 04:16 Go to next message
Eclipse UserFriend
Hello everybody,

What's the différrent ways to get the opération object from a message object?
To get the message i have something like that :

[for mess : MessageOcurrenceSpécification | interaction.fragment]
 [mess.message.name/]
[/for]


I want to have "Directly" the object
I don't want to make many "whiles" in the "main while"

What's the "Job" of the type "MessageOccurenceSpécification"?
Because it have, i think, no smart informations...
What"s the "Value added" of MessageOccurenceSpecification than Messages ?


Thank you for your help!

Benoit

[Updated on: Fri, 07 May 2010 04:19] by Moderator

Re: What's the way to get Operation object from a message object [message #532263 is a reply to message #532103] Fri, 07 May 2010 13:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi Beniot

I think you have asked a question on the wrong newsgroup.

This is the OCL newsgroup.

OCL's [] is not used as you show.
OCL has no "for" just a "forAll".
Your /] and [/ are quite baffling.

Regards

Ed Willink

On 07/05/2010 09:16, Laviale Benoit wrote:
> Hello everybody,
>
> What's the différrent way to get the opération from a message?
> A get the message with something like that :
>
>
> [for mess : MessageOcurrenceSpécification | iteraction.fragment]
> [mess.message.name/]
> [/for]
>
>
> I want to have "Directly" the object
> I don't want to make many "whiles" in the "main while"
>
> What's the "Job" of the type MessageOccurenceSpécification?
> Because it have, i think, no smart informations...
>
>
> Thank you for your help!
>
> Benoit
Re: What's the way to get Operation object from a message object [message #532298 is a reply to message #532103] Fri, 07 May 2010 16:12 Go to previous messageGo to next message
Eclipse UserFriend
This is [Acceleo] model-to-text template syntax, question belongs to the M2T forum.
Re: What's the way to get Operation object from a message object [message #532441 is a reply to message #532298] Mon, 10 May 2010 02:23 Go to previous message
Eclipse UserFriend
Oh ye!
I'm sorry !

regards


Benoit
Previous Topic:Re: [Ecore Tools] Integration with EMF Validation and/or MDT OCL
Next Topic:OCl Implementation for GMF diagram
Goto Forum:
  


Current Time: Wed Jul 23 15:42:59 EDT 2025

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

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

Back to the top