Class CDOCrossReferenceAdapter

java.lang.Object
org.eclipse.emf.ecore.util.ECrossReferenceAdapter
org.eclipse.emf.cdo.util.CDOCrossReferenceAdapter
All Implemented Interfaces:
Adapter, Adapter.Internal

public final class CDOCrossReferenceAdapter extends ECrossReferenceAdapter
An ECrossReferenceAdapter that does instanceof checks of Notifier instances in the order Resource, EObject, and ResourceSet.

Background: For performance reasons (assuming that there are typically more EObject instances than Resource instances) EMF does instanceof checks of Notifier instances in the order EObject, Resource, and ResourceSet. That is problematic with CDOResources because they implement both Resource and EObject.

Since:
4.6
Author:
Eike Stepper