|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.fieldmanager.AbstractFieldManager
org.jpox.state.AbstractFetchFieldManager
org.jpox.state.DetachFieldManager
public class DetachFieldManager
Utility class to handle the detach of fields.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jpox.state.AbstractFetchFieldManager |
|---|
AbstractFetchFieldManager.EndOfFetchPlanGraphException |
| Field Summary |
|---|
| Fields inherited from class org.jpox.state.AbstractFetchFieldManager |
|---|
fpClass, secondClassMutableFields, sm, state |
| Constructor Summary | |
|---|---|
DetachFieldManager(StateManager sm,
boolean[] secondClassMutableFields,
FetchPlanImpl.FetchPlanForClass fpClass,
FetchPlanState state)
Constructor for a field manager for detachment. |
|
| 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 detachment process. |
| Methods inherited from class org.jpox.state.AbstractFetchFieldManager |
|---|
fetchBooleanField, fetchByteField, fetchCharField, fetchDoubleField, fetchFloatField, fetchIntField, fetchLongField, fetchObjectField, fetchShortField, fetchStringField |
| Methods inherited from class org.jpox.store.fieldmanager.AbstractFieldManager |
|---|
storeBooleanField, storeByteField, storeCharField, storeDoubleField, storeFloatField, storeIntField, storeLongField, storeObjectField, storeShortField, storeStringField |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DetachFieldManager(StateManager sm,
boolean[] secondClassMutableFields,
FetchPlanImpl.FetchPlanForClass fpClass,
FetchPlanState state)
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 detachment process| Method Detail |
|---|
protected java.lang.Object internalFetchObjectField(int fieldNumber)
internalFetchObjectField in class AbstractFetchFieldManagerfieldNumber - Number of the field
protected java.lang.Object endOfGraphOperation(int fieldNumber)
endOfGraphOperation in class AbstractFetchFieldManagerfieldNumber - Number of the field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||