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(Object other) |
Extent<T> |
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.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ExtentImpl(EntityManagerImpl em, Extent<T> extent)
public Extent<T> getDelegate()
getDelegate
in interface Extent<T>
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 void closeAll()
Extent
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.