| java.lang.Object org.jpox.store.fieldmanager.AbstractFieldManager org.jpox.store.fieldmanager.AbstractFetchFieldManager org.jpox.store.fieldmanager.DetachFieldManager
DetachFieldManager | public class DetachFieldManager extends AbstractFetchFieldManager (Code) | | FieldManager to handle the detachment of fields with persistable objects.
version: $Revision: 1.10 $ |
Field Summary | |
boolean | copy Whether we should create detached copies, or detach in situ. |
Constructor Summary | |
public | DetachFieldManager(StateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state, boolean copy) Constructor for a field manager for detachment.
Parameters: sm - the StateManager of the instance being detached. |
Method Summary | |
protected Object | endOfGraphOperation(int fieldNumber) Method to throw and EndOfFetchPlanGraphException since we're at the end of a branch in the tree. | protected Object | internalFetchObjectField(int fieldNumber) Method to fetch an object field whether it is collection/map, PC, or whatever for the detachment process. | protected Object | processPersistable(Object pc) Utility method to process the passed persistable object. |
copy | boolean copy(Code) | | Whether we should create detached copies, or detach in situ.
|
DetachFieldManager | public DetachFieldManager(StateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state, boolean copy)(Code) | | Constructor for a field manager for detachment.
Parameters: sm - the StateManager of the instance being detached. An instance in Persistent or Transactional state Parameters: secondClassMutableFields - The second class mutable fields for the class of this object Parameters: fpClass - Fetch Plan for the class of this instance Parameters: state - State object to hold any pertinent controls for the detachment process Parameters: copy - Whether to create detached COPIES or just detach in situ |
endOfGraphOperation | protected Object endOfGraphOperation(int fieldNumber)(Code) | | Method to throw and EndOfFetchPlanGraphException since we're at the end of a branch in the tree.
Parameters: fieldNumber - Number of the field Object to return |
internalFetchObjectField | protected Object internalFetchObjectField(int fieldNumber)(Code) | | Method to fetch an object field whether it is collection/map, PC, or whatever for the detachment process.
Parameters: fieldNumber - Number of the field The object |
processPersistable | protected Object processPersistable(Object pc)(Code) | | Utility method to process the passed persistable object.
Parameters: pc - The PC object |
Methods inherited from org.jpox.store.fieldmanager.AbstractFieldManager | public boolean fetchBooleanField(int fieldNumber)(Code)(Java Doc) public byte fetchByteField(int fieldNumber)(Code)(Java Doc) public char fetchCharField(int fieldNumber)(Code)(Java Doc) public double fetchDoubleField(int fieldNumber)(Code)(Java Doc) public float fetchFloatField(int fieldNumber)(Code)(Java Doc) public int fetchIntField(int fieldNumber)(Code)(Java Doc) public long fetchLongField(int fieldNumber)(Code)(Java Doc) public Object fetchObjectField(int fieldNumber)(Code)(Java Doc) public short fetchShortField(int fieldNumber)(Code)(Java Doc) public String fetchStringField(int fieldNumber)(Code)(Java Doc) public void storeBooleanField(int fieldNumber, boolean value)(Code)(Java Doc) public void storeByteField(int fieldNumber, byte value)(Code)(Java Doc) public void storeCharField(int fieldNumber, char value)(Code)(Java Doc) public void storeDoubleField(int fieldNumber, double value)(Code)(Java Doc) public void storeFloatField(int fieldNumber, float value)(Code)(Java Doc) public void storeIntField(int fieldNumber, int value)(Code)(Java Doc) public void storeLongField(int fieldNumber, long value)(Code)(Java Doc) public void storeObjectField(int fieldNumber, Object value)(Code)(Java Doc) public void storeShortField(int fieldNumber, short value)(Code)(Java Doc) public void storeStringField(int fieldNumber, String value)(Code)(Java Doc)
|
|
|