InternalEList<EObject> values = (InternalEList<EObject>) eCollection.getValues();
for (int i = 0; i < dbObjects.size(); i++)
{
InternalEObject internalEObject = eObjects[i];
internalEObject.eSetProxyURI(baseURI.appendSegment(dbObjects.get(i).get(Keywords.ID_KEY).toString()).appendFragment("/"));
internalEObject.eAdapters().clear();
values.addUnique(internalEObject);
}
resource.getContents().clear();