org.eclipse.persistence.indirection
Interface IndirectCollection

All Superinterfaces:
IndirectContainer
All Known Implementing Classes:
IndirectList, IndirectMap, IndirectSet

public interface IndirectCollection
extends IndirectContainer

Purpose: Common interface to indirect collections.

Since:
TopLink 10.1.3
Author:
James Sutherland

Method Summary
 Collection getAddedElements()
          INTERNAL: Return if the collection has any elements added that have been deferred to instantiation.
 Object getDelegateObject()
          INTERNAL: Return the real collection object.
 Collection getRemovedElements()
          INTERNAL: Return if the collection has any elements removed that have been deferred to instantiation.
 boolean hasDeferredChanges()
          INTERNAL: Return if the collection has any changes that have been deferred to instantiation.
 
Methods inherited from interface org.eclipse.persistence.indirection.IndirectContainer
getValueHolder, isInstantiated, setValueHolder
 

Method Detail

hasDeferredChanges

boolean hasDeferredChanges()
INTERNAL: Return if the collection has any changes that have been deferred to instantiation. Indirect collections with change tracking avoid instantiation on add/remove.


getAddedElements

Collection getAddedElements()
INTERNAL: Return if the collection has any elements added that have been deferred to instantiation. Indirect collections with change tracking avoid instantiation on add/remove.


getRemovedElements

Collection getRemovedElements()
INTERNAL: Return if the collection has any elements removed that have been deferred to instantiation. Indirect collections with change tracking avoid instantiation on add/remove.


getDelegateObject

Object getDelegateObject()
INTERNAL: Return the real collection object. This will force instantiation.