|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.conf.DetachOptions
public abstract class DetachOptions
Detach options.
Nested Class Summary | |
---|---|
static class |
DetachOptions.All
Public to allow reflection. |
static class |
DetachOptions.FetchGroups
Public to allow reflection. |
static class |
DetachOptions.Loaded
Detach loaded state. |
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.kernel.DetachState |
---|
DETACH_ALL, DETACH_FETCH_GROUPS, DETACH_FGS, DETACH_LOADED |
Constructor Summary | |
---|---|
DetachOptions()
|
Method Summary | |
---|---|
boolean |
getAccessUnloaded()
Whether to allow access to unloaded detached fields. |
boolean |
getDetachedStateField()
Whether to add a detached state field to enhanced classes. |
boolean |
getDetachedStateManager()
Whether to use a detached state manager on types that allow it. |
boolean |
getDetachProxyFields()
Whether to detach proxy fields. |
abstract int |
getDetachState()
The DetachState constant. |
boolean |
getLiteAutoDetach()
Whether to use lite detachment when auto detaching. |
boolean |
isDetachedStateTransient()
Whether to use transient detached state. |
void |
setAccessUnloaded(boolean val)
Whether to allow access to unloaded detached fields. |
void |
setDetachedStateField(boolean val)
Whether to add a detached state field to enhanced classes. |
void |
setDetachedStateField(String val)
For auto-configuration of the detached state field. |
void |
setDetachedStateManager(boolean val)
Whether to use a detached state manager on types that allow it. |
void |
setDetachedStateTransient(boolean val)
Whether to use transient detached state. |
void |
setDetachProxyFields(boolean b)
Whether to detach proxy fields. |
void |
setLiteAutoDetach(boolean b)
Whether to use lite detachment when auto detaching. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DetachOptions()
Method Detail |
---|
public abstract int getDetachState()
DetachState
constant.
public boolean getDetachedStateField()
public void setDetachedStateField(boolean val)
public void setDetachedStateField(String val)
public boolean isDetachedStateTransient()
public void setDetachedStateTransient(boolean val)
public boolean getDetachedStateManager()
public void setDetachedStateManager(boolean val)
public boolean getAccessUnloaded()
public void setAccessUnloaded(boolean val)
public void setLiteAutoDetach(boolean b)
public boolean getLiteAutoDetach()
public void setDetachProxyFields(boolean b)
public boolean getDetachProxyFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |