Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
Laviale Benoit is currently offline Laviale Benoit
Messages: 25
Registered: April 2010
Location: Paris
Junior Member
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


Trainee
Thales Communications France

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

Report message to a 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
Ed Willink is currently offline Ed Willink
Messages: 4003
Registered: July 2009
Senior Member
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
Alex Mising name is currently offline Alex Mising name
Messages: 50
Registered: August 2009
Member
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
Laviale Benoit is currently offline Laviale Benoit
Messages: 25
Registered: April 2010
Location: Paris
Junior Member
Oh ye!
I'm sorry !

regards


Benoit


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


Current Time: Fri Jul 25 21:10:04 EDT 2014

Powered by FUDForum. Page generated in 1.09531 seconds