org.datanucleus.store.fieldmanager
Class MakeTransientFieldManager
java.lang.Object
org.datanucleus.store.fieldmanager.AbstractFieldManager
org.datanucleus.store.fieldmanager.AbstractFetchFieldManager
org.datanucleus.store.fieldmanager.MakeTransientFieldManager
- All Implemented Interfaces:
- FieldConsumer, FieldManager, FieldSupplier
public class MakeTransientFieldManager
- extends AbstractFetchFieldManager
Field Manager to handle the making transient of fields.
|
Method Summary |
protected java.lang.Object |
endOfGraphOperation(int fieldNumber)
Method to throw and EndOfFetchPlanGraphException since we're at the end of a branch in the tree. |
protected java.lang.Object |
internalFetchObjectField(int fieldNumber)
Method to fetch an object field whether it is SCO collection, PC, or whatever for the fetchplan process. |
protected void |
processPersistable(java.lang.Object pc)
Utility method to process the passed persistable object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MakeTransientFieldManager
public MakeTransientFieldManager(StateManager sm,
boolean[] secondClassMutableFields,
FetchPlanForClass fpClass,
FetchPlanState state)
- Constructor for a field manager for make transient process.
- Parameters:
sm - the StateManager of the instance being detached. An instance in Persistent or Transactional statesecondClassMutableFields - The second class mutable fields for the class of this objectfpClass - Fetch Plan for the class of this instancestate - State object to hold any pertinent controls for the fetchplan process
processPersistable
protected void processPersistable(java.lang.Object pc)
- Utility method to process the passed persistable object.
- Parameters:
pc - The PC object
internalFetchObjectField
protected java.lang.Object internalFetchObjectField(int fieldNumber)
- Method to fetch an object field whether it is SCO collection, PC, or whatever for the fetchplan process.
- Specified by:
internalFetchObjectField in class AbstractFetchFieldManager
- Parameters:
fieldNumber - Number of the field
- Returns:
- The object
endOfGraphOperation
protected java.lang.Object endOfGraphOperation(int fieldNumber)
- Method to throw and EndOfFetchPlanGraphException since we're at the end of a branch in the tree.
- Specified by:
endOfGraphOperation in class AbstractFetchFieldManager
- Parameters:
fieldNumber - Number of the field
- Returns:
- Object to return
Copyright © 2010. All Rights Reserved.