public abstract class DetachOptions extends Object implements DetachState
Modifier and Type | Class and Description |
---|---|
static class |
DetachOptions.All
Public to allow reflection.
|
static class |
DetachOptions.FetchGroups
Public to allow reflection.
|
static class |
DetachOptions.Loaded
Detach loaded state.
|
DETACH_ALL, DETACH_FETCH_GROUPS, DETACH_FGS, DETACH_LOADED
Constructor and Description |
---|
DetachOptions() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.