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 13: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 14:20 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4046
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: Mon Sep 22 14:32:52 GMT 2014

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

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