Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


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
 void clearDeferredChanges()
          INTERNAL: clear any changes that have been deferred to instantiation.
 java.util.Collection getAddedElements()
          INTERNAL: Return if the collection has any elements added that have been deferred to instantiation.
 java.lang.Object getDelegateObject()
          INTERNAL: Return the real collection object.
 java.util.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.
 void setUseLazyInstantiation(boolean useLazyInstantiation)
          INTERNAL Set whether this collection should attempt do deal with adds and removes without retrieving the collection from the dB

 

Methods inherited from interface org.eclipse.persistence.indirection.IndirectContainer
getValueHolder, isInstantiated, setValueHolder

 

Method Detail

clearDeferredChanges

void clearDeferredChanges()
INTERNAL: clear any changes that have been deferred to instantiation. Indirect collections with change tracking avoid instantiation on add/remove.

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

java.util.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

java.util.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

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

setUseLazyInstantiation

void setUseLazyInstantiation(boolean useLazyInstantiation)
INTERNAL Set whether this collection should attempt do deal with adds and removes without retrieving the collection from the dB

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.