Package org.eclipse.emf.cdo.util
Class CDOCrossReferenceAdapter
- java.lang.Object
- 
- org.eclipse.emf.ecore.util.ECrossReferenceAdapter
- 
- org.eclipse.emf.cdo.util.CDOCrossReferenceAdapter
 
 
- 
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter,- org.eclipse.emf.common.notify.Adapter.Internal
 
 public final class CDOCrossReferenceAdapter extends org.eclipse.emf.ecore.util.ECrossReferenceAdapterAnECrossReferenceAdapterthat does instanceof checks ofNotifierinstances in the orderResource,EObject, andResourceSet.Background: For performance reasons (assuming that there are typically more EObjectinstances thanResourceinstances) EMF does instanceof checks ofNotifierinstances in the orderEObject,Resource, andResourceSet. That is problematic with CDOResources because they implement bothResourceandEObject.- Since:
- 4.6
- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected classCDOCrossReferenceAdapter.CDOInverseCrossReferencerAnInverseCrossReferencerwith anCDOCrossReferenceAdapter.CDOInverseCrossReferencer.addProxy(EObject, EObject)method that is visible toCDOCrossReferenceAdapter.
 - 
Constructor SummaryConstructors Constructor Description CDOCrossReferenceAdapter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CDOCrossReferenceAdapter.CDOInverseCrossReferencercreateInverseCrossReferencer()protected CDOCrossReferenceAdapter.CDOInverseCrossReferencergetInverseCrossReferencer()protected voidselfAdapt(org.eclipse.emf.common.notify.Notification notification)voidsetTarget(org.eclipse.emf.common.notify.Notifier target)voidunsetTarget(org.eclipse.emf.common.notify.Notifier target)- 
Methods inherited from class org.eclipse.emf.ecore.util.ECrossReferenceAdapteraddAdapter, dump, getCrossReferenceAdapter, getInverseReferences, getInverseReferences, getInverseReferences, getNonNavigableInverseReferences, getNonNavigableInverseReferences, getTarget, handleContainment, handleCrossReference, isAdapterForType, isIncluded, notifyChanged, removeAdapter, resolve, resolveAll, resolveProxy, setTarget, setTarget, setTarget, unsetTarget, unsetTarget, unsetTarget, useRecursion
 
- 
 
- 
- 
- 
Method Detail- 
setTargetpublic void setTarget(org.eclipse.emf.common.notify.Notifier target) - Specified by:
- setTargetin interface- org.eclipse.emf.common.notify.Adapter
- Overrides:
- setTargetin class- org.eclipse.emf.ecore.util.ECrossReferenceAdapter
 
 - 
unsetTargetpublic void unsetTarget(org.eclipse.emf.common.notify.Notifier target) - Specified by:
- unsetTargetin interface- org.eclipse.emf.common.notify.Adapter.Internal
- Overrides:
- unsetTargetin class- org.eclipse.emf.ecore.util.ECrossReferenceAdapter
 
 - 
selfAdaptprotected void selfAdapt(org.eclipse.emf.common.notify.Notification notification) - Overrides:
- selfAdaptin class- org.eclipse.emf.ecore.util.ECrossReferenceAdapter
 
 - 
createInverseCrossReferencerprotected CDOCrossReferenceAdapter.CDOInverseCrossReferencer createInverseCrossReferencer() - Overrides:
- createInverseCrossReferencerin class- org.eclipse.emf.ecore.util.ECrossReferenceAdapter
 
 - 
getInverseCrossReferencerprotected CDOCrossReferenceAdapter.CDOInverseCrossReferencer getInverseCrossReferencer() 
 
- 
 
-