|Reference Containment Question [message #582573]
||Thu, 16 November 2006 23:22
Registered: July 2010
I'm experimenting with non containment references and demand loading of
resources using the Purchase Order model from the emf book.
If I set containment to true on the PO items EReference and add an item to
the reference that is actually owned by a different reasource, I get no
However, if I set containment to true on the items reference and repeat
the same test, I get an
org.eclipse.emf.ecore.resource.Resource$IOWrappedException.. .the object is
not contained in resource.
I was expecting this to be the other way around. So that when containment
is true, I should get an exception, because the item added to the items
list is contained in a different resource...
Am I missing something?
Powered by FUDForum
. Page generated in 0.01468 seconds