|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.ExtentImpl
public class ExtentImpl
Representation of all members of a persistent class.
| Method Summary | |
|---|---|
void |
closeAll()
Close all open iterators. |
Broker |
getBroker()
The broker that generated the extent. |
Class |
getElementType()
The class of extent elements. |
FetchConfiguration |
getFetchConfiguration()
Return the (mutable) fetch configuration for this extent. |
boolean |
getIgnoreChanges()
Whether this extent will ignore changes made in the current transaction. |
boolean |
hasSubclasses()
Whether the extent includes subclasses. |
Iterator |
iterator()
Return an iterator over the extent members. |
List |
list()
Returns a list of all objects represented by this extent. |
void |
lock()
Synchronizes on an internal lock. |
void |
setIgnoreChanges(boolean ignoreChanges)
Whether this extent will ignore changes made in the current transaction. |
void |
unlock()
Release the internal lock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public FetchConfiguration getFetchConfiguration()
Extent
getFetchConfiguration in interface Extentpublic boolean getIgnoreChanges()
Extent
getIgnoreChanges in interface Extentpublic void setIgnoreChanges(boolean ignoreChanges)
Extent
setIgnoreChanges in interface Extentpublic List list()
ExtentList by traversing the entire iterator returned by a
call to Extent.iterator(). This means that Collection.size() will
work correctly, but if the extent represents a large data set, this
method may be quite slow and may consume quite a bit of memory.
list in interface Extentpublic Iterator iterator()
Extent
iterator in interface Extentpublic Broker getBroker()
Extent
getBroker in interface Extentpublic Class getElementType()
Extent
getElementType in interface Extentpublic boolean hasSubclasses()
Extent
hasSubclasses in interface Extentpublic void closeAll()
Extent
closeAll in interface Extentpublic void lock()
Extent
lock in interface Extentpublic void unlock()
Extent
unlock in interface Extent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||