| 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(java.lang.Object other) |
Extent<T> |
getDelegate()
Delegate.
|
java.lang.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.
|
java.util.Iterator<T> |
iterator() |
java.util.List<T> |
list()
List the extent contents.
|
void |
setIgnoreChanges(boolean ignoreChanges)
Whether the extent sees inserts and deletes in the current transaction.
|
public ExtentImpl(EntityManagerImpl em, Extent<T> extent)
public Extent<T> getDelegate()
getDelegate in interface Extent<T>public java.lang.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 java.util.List<T> list()
Extentpublic java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>public void closeAll()
Extentpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.