| Constructor and Description |
|---|
ExtentImpl(EntityManagerImpl em,
Extent<T> extent)
Constructor; supply delegate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeAll()
Close all open iterators that are consuming database resources.
|
boolean |
equals(Object other) |
Extent<T> |
getDelegate()
Delegate.
|
Class<T> |
getElementClass()
The extent's element type.
|
OpenJPAEntityManager |
getEntityManager()
The owning entity manager.
|
FetchPlan |
getFetchPlan()
Fetch configuration for controlling how iterated objects are loaded.
|
boolean |
getIgnoreChanges()
Whether the extent sees inserts and deletes in the current transaction.
|
int |
hashCode() |
boolean |
hasSubclasses()
Whether the extent includes subclasses.
|
Iterator<T> |
iterator() |
List<T> |
list()
List the extent contents.
|
void |
setIgnoreChanges(boolean ignoreChanges)
Whether the extent sees inserts and deletes in the current transaction.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ExtentImpl(EntityManagerImpl em, Extent<T> extent)
public Extent<T> getDelegate()
getDelegate in interface Extent<T>public Class<T> getElementClass()
ExtentgetElementClass in interface Extent<T>public boolean hasSubclasses()
ExtenthasSubclasses in interface Extent<T>public OpenJPAEntityManager getEntityManager()
ExtentgetEntityManager in interface Extent<T>public FetchPlan getFetchPlan()
ExtentgetFetchPlan in interface Extent<T>public boolean getIgnoreChanges()
ExtentgetIgnoreChanges in interface Extent<T>public void setIgnoreChanges(boolean ignoreChanges)
ExtentsetIgnoreChanges in interface Extent<T>public void closeAll()
ExtentCopyright © 2006–2022 Apache Software Foundation. All rights reserved.