|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.AbstractFieldManager
org.apache.openjpa.kernel.ClearFieldManager
class ClearFieldManager
FieldManager that responds to all fetch methods with the default value for that field; used to clear the state of managed instances.
| Constructor Summary | |
|---|---|
protected |
ClearFieldManager()
|
| 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 ClearFieldManager |
getInstance()
|
| Methods inherited from class org.apache.openjpa.kernel.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 |
|---|
protected ClearFieldManager()
| Method Detail |
|---|
public static ClearFieldManager getInstance()
public boolean fetchBooleanField(int field)
FieldSupplier
fetchBooleanField in interface FieldSupplierfetchBooleanField in class AbstractFieldManagerpublic byte fetchByteField(int field)
FieldSupplier
fetchByteField in interface FieldSupplierfetchByteField in class AbstractFieldManagerpublic char fetchCharField(int field)
FieldSupplier
fetchCharField in interface FieldSupplierfetchCharField in class AbstractFieldManagerpublic double fetchDoubleField(int field)
FieldSupplier
fetchDoubleField in interface FieldSupplierfetchDoubleField in class AbstractFieldManagerpublic float fetchFloatField(int field)
FieldSupplier
fetchFloatField in interface FieldSupplierfetchFloatField in class AbstractFieldManagerpublic int fetchIntField(int field)
FieldSupplier
fetchIntField in interface FieldSupplierfetchIntField in class AbstractFieldManagerpublic long fetchLongField(int field)
FieldSupplier
fetchLongField in interface FieldSupplierfetchLongField in class AbstractFieldManagerpublic Object fetchObjectField(int field)
FieldSupplier
fetchObjectField in interface FieldSupplierfetchObjectField in class AbstractFieldManagerpublic short fetchShortField(int field)
FieldSupplier
fetchShortField in interface FieldSupplierfetchShortField in class AbstractFieldManagerpublic String fetchStringField(int field)
FieldSupplier
fetchStringField in interface FieldSupplierfetchStringField in class AbstractFieldManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||