[ETL] Why do I get dynamicEObjects? [message #1386682] |
Thu, 19 June 2014 08:46  |
Eclipse User |
|
|
|
Hi guys,
I am looking for m2m transformation languages for a project I have and I am currently considering Epsilon as the option that best suites me. So naturally I started playing around with the examples from the site to get the hang of it. I started with the simplest Tree2Graph one. I manually downloaded the two .ecore files, the .etl file, the .model and the launch.xml, put them in a project edited the launch.xml to point to the .ecores correctly, I registered the .ecores and ran the transformation. It worked flawlessly.
My question came when I started playing around with the transformation rule. I inserted a simple "t.parent.print()" expecting to see an instance of "Tree" and was surprised that it was actually a dynamicEObject pointing to a "Tree". My question is why does this happen and can I get it to be a reference to "Tree" as for my project I'd need to do a simple manipulation over the original emf model entity.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06348 seconds