|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.persistence.Extent<T>
public class Extent<T>
An extent is a logical view of all instances of a class.
Constructor Summary | |
---|---|
Extent(EntityManagerImpl em,
org.apache.openjpa.kernel.Extent extent)
Constructor; supply delegate. |
Method Summary | |
---|---|
void |
closeAll()
Close all open iterators that are consuming database resources. |
boolean |
equals(java.lang.Object other)
|
org.apache.openjpa.kernel.Extent |
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()
Iterator over contents. |
java.util.List<T> |
list()
List the extent contents. |
void |
setIgnoreChanges(boolean ignoreChanges)
Whether the extent sees inserts and deletes in the current transaction. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Extent(EntityManagerImpl em, org.apache.openjpa.kernel.Extent extent)
Method Detail |
---|
public org.apache.openjpa.kernel.Extent getDelegate()
public java.lang.Class<T> getElementClass()
public boolean hasSubclasses()
public OpenJPAEntityManager getEntityManager()
public FetchPlan getFetchPlan()
public boolean getIgnoreChanges()
public void setIgnoreChanges(boolean ignoreChanges)
public java.util.List<T> list()
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable
public void closeAll()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |