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