[ETL] Resolve Proxies [message #634116] |
Wed, 20 October 2010 10:47  |
Eclipse User |
|
|
|
Hi,
I'm having probably quite specialized problem. Indeed, it is very likely that I'm just using the tools wrong. So here is my setup maybe you can give me a hint:
I'm doing some transformation of model A and B. During the transformation I want to store some information about elements from model A into model C as references.
Model A is an XML based model, which ecore meta model has been retrieved from its schema. Model B and C are straight forward ecore models.
The setup works fine for storing the information in model C, but my problem occurs when I try to access the element references stored in model C. I don't get the real reference to the element, but just an EObjectImpl, which is an eProxy. The associated URI and the XPointer are correct but the proxy is not resolved.
For testing purposes, I do the store and read of the reference in the same transformation so all metamodels are accessible. I also took care that the reference (in metamodel C) is set to resolve proxies.
What do I need to do to get the reference to the element?
Thanks for your help,
Henning
|
|
|
Re: [ETL] Resolve Proxies [message #634130 is a reply to message #634116] |
Wed, 20 October 2010 11:09   |
Eclipse User |
|
|
|
Hi Henning,
Could you please send a minimal configuration that reproduces this to
epsilon.devs at gmail com so that I can have a look?
Cheers,
Dimitris
Henning <Hager.Henning@gmail.com> wrote:
> Hi,
>
> I'm having probably quite specialized problem. Indeed, it is very
> likely that I'm just using the tools wrong. So here is my setup maybe
> you can give me a hint:
> I'm doing some transformation of model A and B. During the
> transformation I want to store some information about elements from
> model A into model C as references.
> Model A is an XML based model, which ecore meta model has been
> retrieved from its schema. Model B and C are straight forward ecore
> models.
> The setup works fine for storing the information in model C, but my
> problem occurs when I try to access the element references stored in
> model C. I don't get the real reference to the element, but just an
> EObjectImpl, which is an eProxy. The associated URI and the XPointer
> are correct but the proxy is not resolved.
> For testing purposes, I do the store and read of the reference in the
> same transformation so all metamodels are accessible. I also took care
> that the reference (in metamodel C) is set to resolve proxies.
>
> What do I need to do to get the reference to the element?
>
> Thanks for your help,
>
> Henning
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04699 seconds