Class IndirectListWrapper<E>

java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<E>
com.google.common.collect.ForwardingList<E>
io.jmix.eclipselink.impl.lazyloading.IndirectListWrapper<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, List<E>, org.eclipse.persistence.indirection.IndirectCollection, org.eclipse.persistence.indirection.IndirectContainer

public class IndirectListWrapper<E> extends com.google.common.collect.ForwardingList<E> implements org.eclipse.persistence.indirection.IndirectCollection, Serializable
See Also:
  • Field Details

    • delegate

      protected final List<E> delegate
    • indirectDelegate

      protected final org.eclipse.persistence.indirection.IndirectList<E> indirectDelegate
  • Constructor Details

    • IndirectListWrapper

      public IndirectListWrapper(List<E> delegate, org.eclipse.persistence.indirection.IndirectList<E> indirectDelegate)
  • Method Details

    • delegate

      protected List<E> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingList<E>
    • clearDeferredChanges

      public void clearDeferredChanges()
      Specified by:
      clearDeferredChanges in interface org.eclipse.persistence.indirection.IndirectCollection
    • hasDeferredChanges

      public boolean hasDeferredChanges()
      Specified by:
      hasDeferredChanges in interface org.eclipse.persistence.indirection.IndirectCollection
    • getAddedElements

      public Collection getAddedElements()
      Specified by:
      getAddedElements in interface org.eclipse.persistence.indirection.IndirectCollection
    • getRemovedElements

      public Collection getRemovedElements()
      Specified by:
      getRemovedElements in interface org.eclipse.persistence.indirection.IndirectCollection
    • getDelegateObject

      public Object getDelegateObject()
      Specified by:
      getDelegateObject in interface org.eclipse.persistence.indirection.IndirectCollection
    • setUseLazyInstantiation

      public void setUseLazyInstantiation(boolean useLazyInstantiation)
      Specified by:
      setUseLazyInstantiation in interface org.eclipse.persistence.indirection.IndirectCollection
    • getValueHolder

      public org.eclipse.persistence.indirection.ValueHolderInterface getValueHolder()
      Specified by:
      getValueHolder in interface org.eclipse.persistence.indirection.IndirectContainer
    • isInstantiated

      public boolean isInstantiated()
      Specified by:
      isInstantiated in interface org.eclipse.persistence.indirection.IndirectContainer
    • setValueHolder

      public void setValueHolder(org.eclipse.persistence.indirection.ValueHolderInterface valueHolder)
      Specified by:
      setValueHolder in interface org.eclipse.persistence.indirection.IndirectContainer