Interface FieldManager
-
- All Known Implementing Classes:
AbstractFetchDepthFieldManager,AbstractFetchFieldManager,AbstractFieldManager,AbstractStoreFieldManager,AppIdObjectIdFieldConsumer,AttachFieldManager,DeleteFieldManager,DetachFieldManager,L2CachePopulateFieldManager,L2CacheRetrieveFieldManager,LoadFieldManager,MakeTransientFieldManager,NullifyRelationFieldManager,PersistFieldManager,ReachabilityFieldManager,SingleTypeFieldManager,SingleValueFieldManager,UnsetOwnerFieldManager
public interface FieldManagerProvide methods to fetch from/to a persistable object to/from StateManager/DataStore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanfetchBooleanField(int fieldNumber)Fetch a boolean field at the specified field number, returning it.bytefetchByteField(int fieldNumber)Fetch a byte field at the specified field number, returning it.charfetchCharField(int fieldNumber)Fetch a char field at the specified field number, returning it.doublefetchDoubleField(int fieldNumber)Fetch a double field at the specified field number, returning it.floatfetchFloatField(int fieldNumber)Fetch a float field at the specified field number, returning it.intfetchIntField(int fieldNumber)Fetch an int field at the specified field number, returning it.longfetchLongField(int fieldNumber)Fetch a long field at the specified field number, returning it.ObjectfetchObjectField(int fieldNumber)Fetch an object field at the specified field number, returning it.shortfetchShortField(int fieldNumber)Fetch a short field at the specified field number, returning it.StringfetchStringField(int fieldNumber)Fetch a string field at the specified field number, returning it.voidstoreBooleanField(int fieldNumber, boolean value)Method to store a boolean field value in the object at the specified field position.voidstoreByteField(int fieldNumber, byte value)Method to store a byte field value in the object at the specified field position.voidstoreCharField(int fieldNumber, char value)Method to store a char field value in the object at the specified field position.voidstoreDoubleField(int fieldNumber, double value)Method to store a double field value in the object at the specified field position.voidstoreFloatField(int fieldNumber, float value)Method to store a float field value in the object at the specified field position.voidstoreIntField(int fieldNumber, int value)Method to store an int field value in the object at the specified field position.voidstoreLongField(int fieldNumber, long value)Method to store a long field value in the object at the specified field position.voidstoreObjectField(int fieldNumber, Object value)Method to store an object field value in the object at the specified field position.voidstoreShortField(int fieldNumber, short value)Method to store a short field value in the object at the specified field position.voidstoreStringField(int fieldNumber, String value)Method to store a string field value in the object at the specified field position.
-
-
-
Method Detail
-
fetchBooleanField
boolean fetchBooleanField(int fieldNumber)
Fetch a boolean field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchByteField
byte fetchByteField(int fieldNumber)
Fetch a byte field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchCharField
char fetchCharField(int fieldNumber)
Fetch a char field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchDoubleField
double fetchDoubleField(int fieldNumber)
Fetch a double field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchFloatField
float fetchFloatField(int fieldNumber)
Fetch a float field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchIntField
int fetchIntField(int fieldNumber)
Fetch an int field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchLongField
long fetchLongField(int fieldNumber)
Fetch a long field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchShortField
short fetchShortField(int fieldNumber)
Fetch a short field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchStringField
String fetchStringField(int fieldNumber)
Fetch a string field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
fetchObjectField
Object fetchObjectField(int fieldNumber)
Fetch an object field at the specified field number, returning it.- Parameters:
fieldNumber- Number of the field- Returns:
- The value
-
storeBooleanField
void storeBooleanField(int fieldNumber, boolean value)Method to store a boolean field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeByteField
void storeByteField(int fieldNumber, byte value)Method to store a byte field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeCharField
void storeCharField(int fieldNumber, char value)Method to store a char field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeDoubleField
void storeDoubleField(int fieldNumber, double value)Method to store a double field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeFloatField
void storeFloatField(int fieldNumber, float value)Method to store a float field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeIntField
void storeIntField(int fieldNumber, int value)Method to store an int field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeLongField
void storeLongField(int fieldNumber, long value)Method to store a long field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeShortField
void storeShortField(int fieldNumber, short value)Method to store a short field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeStringField
void storeStringField(int fieldNumber, String value)Method to store a string field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
storeObjectField
void storeObjectField(int fieldNumber, Object value)Method to store an object field value in the object at the specified field position.- Parameters:
fieldNumber- Number of the fieldvalue- value to store
-
-