|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kodo.persistence.Extent<T>
public class Extent<T>
An extent is a logical view of all instances of a class.
Constructor Summary | |
---|---|
Extent(kodo.persistence.EntityManagerImpl em,
kodo.kernel.Extent extent)
Constructor; supply delegate. |
Method Summary | |
---|---|
void |
closeAll()
Close all open iterators that are consuming database resources. |
boolean |
equals(Object other)
|
kodo.kernel.Extent |
getDelegate()
Delegate. |
Class<T> |
getElementClass()
The extent's element type. |
KodoEntityManager |
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()
Iterator over contents. |
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(kodo.persistence.EntityManagerImpl em, kodo.kernel.Extent extent)
Method Detail |
---|
public kodo.kernel.Extent getDelegate()
public Class<T> getElementClass()
public boolean hasSubclasses()
public KodoEntityManager getEntityManager()
public FetchPlan getFetchPlan()
public boolean getIgnoreChanges()
public void setIgnoreChanges(boolean ignoreChanges)
public List<T> list()
public Iterator<T> iterator()
iterator
in interface Iterable
public void closeAll()
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |