|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.kernel.SaveFieldManager
public class SaveFieldManager
FieldManager type used to store information for rollback.
Method Summary | |
---|---|
boolean |
fetchBooleanField(int field)
Return the value of the given field. |
byte |
fetchByteField(int field)
Return the value of the given field. |
char |
fetchCharField(int field)
Return the value of the given field. |
double |
fetchDoubleField(int field)
Return the value of the given field. |
float |
fetchFloatField(int field)
Return the value of the given field. |
int |
fetchIntField(int field)
Return the value of the given field. |
long |
fetchLongField(int field)
Return the value of the given field. |
Object |
fetchObjectField(int field)
Return the value of the given field. |
short |
fetchShortField(int field)
Return the value of the given field. |
String |
fetchStringField(int field)
Return the value of the given field. |
static org.apache.openjpa.kernel.ClearFieldManager |
getInstance()
|
PersistenceCapable |
getState()
Return the persistence capable copy holding the rollback field values. |
BitSet |
getUnloaded()
Return the currently-loaded fields that will be unloaded after rollback. |
boolean |
isFieldEqual(int field,
Object current)
Compare the given field. |
boolean |
restoreField(int field)
Restore the given field. |
boolean |
saveField(int field)
Save the given field. |
void |
storeBooleanField(int field,
boolean curVal)
Set the value of the given field. |
void |
storeByteField(int field,
byte curVal)
Set the value of the given field. |
void |
storeCharField(int field,
char curVal)
Set the value of the given field. |
void |
storeDoubleField(int field,
double curVal)
Set the value of the given field. |
void |
storeFloatField(int field,
float curVal)
Set the value of the given field. |
void |
storeIntField(int field,
int curVal)
Set the value of the given field. |
void |
storeLongField(int field,
long curVal)
Set the value of the given field. |
void |
storeObjectField(int field,
Object curVal)
Set the value of the given field. |
void |
storeShortField(int field,
short curVal)
Set the value of the given field. |
void |
storeStringField(int field,
String curVal)
Set the value of the given field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PersistenceCapable getState()
public BitSet getUnloaded()
public boolean saveField(int field)
getState()
.
public boolean restoreField(int field)
public boolean isFieldEqual(int field, Object current)
true
if the field is the same in the current
state and in the saved state; otherwise, false
.public Object fetchObjectField(int field)
FieldSupplier
fetchObjectField
in interface FieldSupplier
public void storeObjectField(int field, Object curVal)
FieldConsumer
storeObjectField
in interface FieldConsumer
public static org.apache.openjpa.kernel.ClearFieldManager getInstance()
public boolean fetchBooleanField(int field)
FieldSupplier
fetchBooleanField
in interface FieldSupplier
public byte fetchByteField(int field)
FieldSupplier
fetchByteField
in interface FieldSupplier
public char fetchCharField(int field)
FieldSupplier
fetchCharField
in interface FieldSupplier
public double fetchDoubleField(int field)
FieldSupplier
fetchDoubleField
in interface FieldSupplier
public float fetchFloatField(int field)
FieldSupplier
fetchFloatField
in interface FieldSupplier
public int fetchIntField(int field)
FieldSupplier
fetchIntField
in interface FieldSupplier
public long fetchLongField(int field)
FieldSupplier
fetchLongField
in interface FieldSupplier
public short fetchShortField(int field)
FieldSupplier
fetchShortField
in interface FieldSupplier
public String fetchStringField(int field)
FieldSupplier
fetchStringField
in interface FieldSupplier
public void storeBooleanField(int field, boolean curVal)
FieldConsumer
storeBooleanField
in interface FieldConsumer
public void storeByteField(int field, byte curVal)
FieldConsumer
storeByteField
in interface FieldConsumer
public void storeCharField(int field, char curVal)
FieldConsumer
storeCharField
in interface FieldConsumer
public void storeDoubleField(int field, double curVal)
FieldConsumer
storeDoubleField
in interface FieldConsumer
public void storeFloatField(int field, float curVal)
FieldConsumer
storeFloatField
in interface FieldConsumer
public void storeIntField(int field, int curVal)
FieldConsumer
storeIntField
in interface FieldConsumer
public void storeLongField(int field, long curVal)
FieldConsumer
storeLongField
in interface FieldConsumer
public void storeShortField(int field, short curVal)
FieldConsumer
storeShortField
in interface FieldConsumer
public void storeStringField(int field, String curVal)
FieldConsumer
storeStringField
in interface FieldConsumer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.