|
Re: [EMFStore] Retaining ID's [message #1385775 is a reply to message #1385671] |
Wed, 11 June 2014 07:39 |
Maximilian Koegel Messages: 253 Registered: July 2009 |
Senior Member |
|
|
Hi,
yes, you can use the internal API to set the IDs of you Resource as IDs
for EMFStore. You need to cast ESLocalProject to ESLocalProjectImpl and
then call
ESLocalProjectImpl.toInternalAPI().getProject().allocateModelElementIds(Map<EObject,
ModelElementId>).
Hope this helps!
Cheers,
Maximilian
Am 10.06.2014 14:16, schrieb Mt Naj:
> Hi,
>
> I have an EMF XMI resource that we have generated with manually set
> ID's. I wrapped all the EObjects in relevant EMFStore project and
> imported. This has well, but when I go to export the project, all the
> ID's I have set are replaced with UUID's.
> Is there a way to retain all my ID's in ECP/EMFStore?
>
> Thanks,
> Mt Naj.
>
--
Maximilian Kögel
Get Professional Eclipse Support: http://eclipsesource.com/munich
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03837 seconds