Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Calling Operations from within Operations
Calling Operations from within Operations [message #632592] Wed, 13 October 2010 14:16 Go to next message
James Sharp is currently offline James SharpFriend
Messages: 20
Registered: September 2010
Junior Member
Hi Chaps,

I have been having to write some operations to traverse my source meta-model and there is some recuscion involved.

That is, I have a superclass ProcessExpression and the specialisations of this can then contain a ProcessExpression using the nestedStatement reference.

However when I try and traverse a model and explore all the nestedStatement references I get the error message that my operation does not exist whenever I call it from inside itself.

How do I call the method from within itself in EOL/ETL please?

Many Thanks,

James
Re: Calling Operations from within Operations [message #632616 is a reply to message #632592] Wed, 13 October 2010 15:19 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
There shouldn't be a problem calling a method from itself. Could you
please send me the latest version of your code?

Cheers,
Dimitris

James Sharp wrote:
> Hi Chaps,
>
> I have been having to write some operations to traverse my source
> meta-model and there is some recuscion involved.
>
> That is, I have a superclass ProcessExpression and the specialisations
> of this can then contain a ProcessExpression using the nestedStatement
> reference.
> However when I try and traverse a model and explore all the
> nestedStatement references I get the error message that my operation
> does not exist whenever I call it from inside itself.
>
> How do I call the method from within itself in EOL/ETL please?
>
> Many Thanks,
>
> James
Previous Topic:Eugenia don't create gmfmap,gmftool,gmfgraph...come in an infinite loop
Next Topic:Assigning rule generated target model elements to a contained reference
Goto Forum:
  


Current Time: Mon Dec 22 20:10:07 GMT 2014

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

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