Package org.eclipse.emf.cdo.util
Class CDOLazyContentAdapter
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.ecore.util.EContentAdapter
org.eclipse.emf.cdo.util.CDOLazyContentAdapter
- All Implemented Interfaces:
Adapter
,Adapter.Internal
- Direct Known Subclasses:
CDOModificationTrackingAdapter
A scalable
content adapter
that uses CDO mechanisms to attach itself to objects
when they are lazily loaded.- Since:
- 4.0
- Author:
- Victor Roldan Betancort
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
Field Summary
Fields inherited from class org.eclipse.emf.ecore.util.EContentAdapter
iterating
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdapter
(Notifier notifier) protected void
protected void
unsetTarget
(EObject target) EContentAdapter removes adapter from all contained EObjects.Methods inherited from class org.eclipse.emf.ecore.util.EContentAdapter
basicSetTarget, basicUnsetTarget, handleContainment, notifyChanged, removeAdapter, removeAdapter, resolve, selfAdapt, setTarget, setTarget, setTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget, useRecursion
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType
-
Constructor Details
-
CDOLazyContentAdapter
public CDOLazyContentAdapter()
-
-
Method Details
-
setTarget
- Overrides:
setTarget
in classEContentAdapter
-
unsetTarget
EContentAdapter removes adapter from all contained EObjects. In this case, we remove this adapter from all lazily loaded objects- Overrides:
unsetTarget
in classEContentAdapter
-
addAdapter
- Overrides:
addAdapter
in classEContentAdapter
-