Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » how to extract objects from eclipse IModel objects?
how to extract objects from eclipse IModel objects? [message #880116] Fri, 01 June 2012 09:05 Go to next message
Kosala Yapa is currently offline Kosala Yapa
Messages: 159
Registered: September 2010
Senior Member
Hi there,

My m2m is implemented in ATL, and launched in a java program. In memory two IModel objects are created in the java program.
inModel = factory.newModel(sourceMetamodel);
outModel = factory.newModel(targetMetamodel);

can i extract java objects from outModel object? How to do that?

Thanks in advance !
Kosala
Re: how to extract objects from eclipse IModel objects? [message #880150 is a reply to message #880116] Fri, 01 June 2012 10:20 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4003
Registered: July 2009
Senior Member
Hi

Always remember that the debugger is your friend.

Regards

Ed Willink


On 01/06/2012 14:06, Kosala Yapa wrote:
> Hi there,
>
> My m2m is implemented in ATL, and launched in a java program. In
> memory two IModel objects are created in the java program.
> inModel = factory.newModel(sourceMetamodel);
> outModel = factory.newModel(targetMetamodel);
>
> can i extract java objects from outModel object? How to do that?
>
> Thanks in advance !
> Kosala
>
Previous Topic:how to sort elements ?
Next Topic:How to create java objects than creating xmi output in ATL transformation?
Goto Forum:
  


Current Time: Fri Jul 25 18:16:43 EDT 2014

Powered by FUDForum. Page generated in 0.01581 seconds