Emf Resources and Unique Xmi:ids [message #35299] |
Tue, 06 June 2006 16:29 |
Eclipse User |
|
|
|
Originally posted by: 8BURNSFR.ie.ibm.com
org.eclipse.emf.ecore.resource.ResourceSet
I create a org.eclipse.emf.ecore.resource.ResourceSet. I use this to
create a org.eclipse.emf.ecore.resource.Resource. I add stuff to the
contents of the Resource using resource.getContents().add(?????); When
the contents are written to the Resource xmi:id's are given to the
elements and their children.
Is it possible that emf would give/generate the same xmi:id for different
elements in different resources?? Are xmi:ids unique across all Resources?
|
|
|
Re: Emf Resources and Unique Xmi:ids [message #35333 is a reply to message #35299] |
Tue, 06 June 2006 19:06 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Frances,
I've answered this on the EMF newsgroup which is a better place to ask
questions about EMF.
Frances Burns wrote:
> org.eclipse.emf.ecore.resource.ResourceSet
>
> I create a org.eclipse.emf.ecore.resource.ResourceSet. I use this to
> create a org.eclipse.emf.ecore.resource.Resource. I add stuff to the
> contents of the Resource using resource.getContents().add(?????);
> When the contents are written to the Resource xmi:id's are given to
> the elements and their children.
>
> Is it possible that emf would give/generate the same xmi:id for
> different elements in different resources?? Are xmi:ids unique across
> all Resources?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03107 seconds