Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » create Proxy objects
create Proxy objects [message #1231930] Wed, 15 January 2014 19:36 Go to next message
Max Meyer is currently offline Max MeyerFriend
Messages: 1
Registered: January 2014
Junior Member
Hi,

I have a class A with a list of references of a class B.
I create a model instance and persist it in xmi files(A.xmi and B.xmi).

Then I load A.xmi and I have a list of proxies for B.
If I access the B objects the proxies will be resolved and I have real B objects.

Is it now possible to make proxies out of them again.


Thank you.
Re: create Proxy objects [message #1233820 is a reply to message #1231930] Mon, 20 January 2014 15:07 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 16/01/2014 15:03, Max Meyer wrote:
> Hi,
>
> I have a class A with a list of references of a class B.
> I create a model instance and persist it in xmi files(A.xmi and B.xmi).
>
> Then I load A.xmi and I have a list of proxies for B.
> If I access the B objects the proxies will be resolved and I have real B
> objects.
>
> Is it now possible to make proxies out of them again.

Tried getResource(b.xmi).unload()? Out of couriosity, why do you want to
make them proxies again?


Felix
Previous Topic:Getting from an EPackage to the EPackage.Registry it was registered with
Next Topic:Dynamic EMF with EditingDomain
Goto Forum:
  


Current Time: Thu Aug 22 07:35:59 GMT 2019

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

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

Back to the top