Class ExtentImpl<T>
java.lang.Object
org.apache.openjpa.persistence.ExtentImpl<T>
-
Constructor Summary
ConstructorsConstructorDescriptionExtentImpl(EntityManagerImpl em, Extent<T> extent) Constructor; supply delegate. -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseAll()Close all open iterators that are consuming database resources.booleanDelegate.The extent's element type.The owning entity manager.Fetch configuration for controlling how iterated objects are loaded.booleanWhether the extent sees inserts and deletes in the current transaction.inthashCode()booleanWhether the extent includes subclasses.iterator()list()List the extent contents.voidsetIgnoreChanges(boolean ignoreChanges) Whether the extent sees inserts and deletes in the current transaction.Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
ExtentImpl
Constructor; supply delegate.
-
-
Method Details
-
getDelegate
-
getElementClass
-
hasSubclasses
public boolean hasSubclasses()Description copied from interface:ExtentWhether the extent includes subclasses.- Specified by:
hasSubclassesin interfaceExtent<T>
-
getEntityManager
Description copied from interface:ExtentThe owning entity manager.- Specified by:
getEntityManagerin interfaceExtent<T>
-
getFetchPlan
Description copied from interface:ExtentFetch configuration for controlling how iterated objects are loaded.- Specified by:
getFetchPlanin interfaceExtent<T>
-
getIgnoreChanges
public boolean getIgnoreChanges()Description copied from interface:ExtentWhether the extent sees inserts and deletes in the current transaction.- Specified by:
getIgnoreChangesin interfaceExtent<T>
-
setIgnoreChanges
public void setIgnoreChanges(boolean ignoreChanges) Description copied from interface:ExtentWhether the extent sees inserts and deletes in the current transaction.- Specified by:
setIgnoreChangesin interfaceExtent<T>
-
list
-
iterator
-
closeAll
-
hashCode
-
equals
-