Class CDOLazyContentAdapter

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
    Direct Known Subclasses:
    CDOModificationTrackingAdapter

    public class CDOLazyContentAdapter
    extends org.eclipse.emf.ecore.util.EContentAdapter
    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

        org.eclipse.emf.common.notify.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addAdapter​(org.eclipse.emf.common.notify.Notifier notifier)  
      protected void setTarget​(org.eclipse.emf.ecore.EObject target)  
      protected void unsetTarget​(org.eclipse.emf.ecore.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CDOLazyContentAdapter

        public CDOLazyContentAdapter()
    • Method Detail

      • setTarget

        protected void setTarget​(org.eclipse.emf.ecore.EObject target)
        Overrides:
        setTarget in class org.eclipse.emf.ecore.util.EContentAdapter
      • unsetTarget

        protected void unsetTarget​(org.eclipse.emf.ecore.EObject target)
        EContentAdapter removes adapter from all contained EObjects. In this case, we remove this adapter from all lazily loaded objects
        Overrides:
        unsetTarget in class org.eclipse.emf.ecore.util.EContentAdapter
      • addAdapter

        protected void addAdapter​(org.eclipse.emf.common.notify.Notifier notifier)
        Overrides:
        addAdapter in class org.eclipse.emf.ecore.util.EContentAdapter