Package org.datanucleus
Class DetachState.Entry
- java.lang.Object
-
- org.datanucleus.DetachState.Entry
-
- Enclosing class:
- DetachState
public class DetachState.Entry extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkCurrentState()
Determine whether the current state is "dominated" by any previous detach state for this entry, in which case we know that all the required fields will already be in the detached copy.Object
getDetachedCopyObject()
-
-
-
Method Detail
-
getDetachedCopyObject
public Object getDetachedCopyObject()
-
checkCurrentState
public boolean checkCurrentState()
Determine whether the current state is "dominated" by any previous detach state for this entry, in which case we know that all the required fields will already be in the detached copy. (Dominance is transitive, so we can remove redundant entries)- Returns:
- true if we can prove the current state is fully detached already
-
-