Class IndirectSetWrapper<E>

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

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

    • delegate

      protected final Set<E> delegate
    • indirectDelegate

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

    • IndirectSetWrapper

      public IndirectSetWrapper(Set<E> delegate, org.eclipse.persistence.indirection.IndirectSet<E> indirectDelegate)
  • Method Details

    • delegate

      protected Set<E> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingSet<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<E>
    • isInstantiated

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

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