|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.kernel.AbstractFieldManager org.apache.openjpa.kernel.ClearFieldManager org.apache.openjpa.kernel.SavepointFieldManager
class SavepointFieldManager
FieldManager type used to store information for savepoint rollback.
Constructor Summary | |
---|---|
SavepointFieldManager(StateManagerImpl sm,
boolean copy)
Constructor. |
Method Summary | |
---|---|
Object |
fetchObjectField(int field)
Return the value of the given field. |
PersistenceCapable |
getCopy()
Return the persistence capable copy holding the savepoint field values. |
BitSet |
getDirty()
Return the dirty fields during the saved state. |
BitSet |
getFlushed()
Return the flushed fields during the saved state. |
BitSet |
getLoaded()
Return the fields stored in this manager. |
Object |
getLoadVersion()
|
PCState |
getPCState()
Return the saved PCState |
StateManagerImpl |
getStateManager()
Return the state manager that this manager is associated with. |
Object |
getVersion()
|
boolean |
restoreField(int field)
Restore the given field. |
void |
storeField(FieldMetaData field)
Store the data for the given field. |
void |
storeObjectField(int field,
Object curVal)
Set the value of the given field. |
Methods inherited from class org.apache.openjpa.kernel.ClearFieldManager |
---|
fetchBooleanField, fetchByteField, fetchCharField, fetchDoubleField, fetchFloatField, fetchIntField, fetchLongField, fetchShortField, fetchStringField, getInstance |
Methods inherited from class org.apache.openjpa.kernel.AbstractFieldManager |
---|
storeBooleanField, storeByteField, storeCharField, storeDoubleField, storeFloatField, storeIntField, storeLongField, storeShortField, storeStringField |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SavepointFieldManager(StateManagerImpl sm, boolean copy)
Method Detail |
---|
public StateManagerImpl getStateManager()
public Object getVersion()
public Object getLoadVersion()
public PersistenceCapable getCopy()
public PCState getPCState()
PCState
public BitSet getLoaded()
public BitSet getDirty()
public BitSet getFlushed()
public void storeField(FieldMetaData field)
public boolean restoreField(int field)
public Object fetchObjectField(int field)
FieldSupplier
fetchObjectField
in interface FieldSupplier
fetchObjectField
in class ClearFieldManager
public void storeObjectField(int field, Object curVal)
FieldConsumer
storeObjectField
in interface FieldConsumer
storeObjectField
in class AbstractFieldManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |