|
|
|
|
|
Re: [EMF.core] EcoreUtils.resolve() do not return the actual instance [message #717871 is a reply to message #717768] |
Mon, 22 August 2011 14:51 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Simon,
Comments below.
On 22/08/2011 2:34 AM, simon.vivien wrote:
> Hi again,
>
> In my case, it doesn't matter since the EObject represented by the
> proxies I resolve have a EAttribute with ID property set to true,
Certainly it will be possible for there to be multiple objects with the
same ID, though they'll need to be contained by different resources. So
having the same ID won't make them identical.
> but if they were NOT, how can it be possible to compare the instance
> returned by the proxy resolution with the object the proxy is supposed
> to represent ?
Define what you mean by "the object the proxy is supposed to
represent". If you have a resource set in your JVM already containing
the exact objects you want to reuse, you ought to be loading all your
resources in that resource set.
>
> Simon
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03873 seconds