|Re: Loading twice the same xmi file [message #1256479 is a reply to message #1256348]
||Tue, 25 February 2014 13:29
| Ed Merks
Registered: July 2009
On 25/02/2014 2:24 PM, simalps simalp wrote:
> Hello, do you know which is the best way to obtain the same instance
> object when loading twice the same xmi file?
Use one resource set.
> example: MyClass object1 = EcoreHelper.load("file.xmi"); MyClass
> object2 = EcoreHelper.load("file.xmi");
> ==> object1==object2 is true
> (i.e. where EcoreHelper is a class that contains my ecore frill
> Thank you!
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01972 seconds