public class DetachFieldManager extends AbstractFetchDepthFieldManager
AbstractFetchDepthFieldManager.EndOfFetchPlanGraphException
fpClass, op, secondClassMutableFields, state
Constructor and Description |
---|
DetachFieldManager(ObjectProvider op,
boolean[] secondClassMutableFields,
FetchPlanForClass fpClass,
FetchPlanState state,
boolean copy)
Constructor for a field manager for detachment.
|
Modifier and Type | Method and Description |
---|---|
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 void |
processPersistable(Object pc)
Utility method to process the passed persistable object.
|
protected Object |
processPersistableCopy(Object pc)
Utility method to process the passed persistable object creating a copy.
|
fetchBooleanField, fetchByteField, fetchCharField, fetchDoubleField, fetchFloatField, fetchIntField, fetchLongField, fetchObjectField, fetchShortField, fetchStringField
storeBooleanField, storeByteField, storeCharField, storeDoubleField, storeFloatField, storeIntField, storeLongField, storeObjectField, storeShortField, storeStringField
public DetachFieldManager(ObjectProvider op, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state, boolean copy)
op
- the ObjectProvider 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 detachment processcopy
- Whether to create detached COPIES or just detach in-situprotected Object processPersistableCopy(Object pc)
pc
- The PC objectprotected void processPersistable(Object pc)
pc
- The PC objectprotected Object internalFetchObjectField(int fieldNumber)
internalFetchObjectField
in class AbstractFetchDepthFieldManager
fieldNumber
- Number of the fieldprotected Object endOfGraphOperation(int fieldNumber)
endOfGraphOperation
in class AbstractFetchDepthFieldManager
fieldNumber
- Number of the fieldCopyright © 2019. All rights reserved.