Package javax.jdo.spi
Interface PersistenceCapable.ObjectIdFieldSupplier
-
- All Known Subinterfaces:
PersistenceCapable.ObjectIdFieldManager
- Enclosing interface:
- PersistenceCapable
public static interface PersistenceCapable.ObjectIdFieldSupplierThis interface is used to provide fields to the Object id instance. It is used by the method copyKeyFieldsToObjectId. When the method is called, the generated code calls the instance of ObjectIdFieldManager for each field in the object id.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanfetchBooleanField(int fieldNumber)Fetch one field from the field manager.bytefetchByteField(int fieldNumber)Fetch one field from the field manager.charfetchCharField(int fieldNumber)Fetch one field from the field manager.doublefetchDoubleField(int fieldNumber)Fetch one field from the field manager.floatfetchFloatField(int fieldNumber)Fetch one field from the field manager.intfetchIntField(int fieldNumber)Fetch one field from the field manager.longfetchLongField(int fieldNumber)Fetch one field from the field manager.ObjectfetchObjectField(int fieldNumber)Fetch one field from the field manager.shortfetchShortField(int fieldNumber)Fetch one field from the field manager.StringfetchStringField(int fieldNumber)Fetch one field from the field manager.
-
-
-
Method Detail
-
fetchBooleanField
boolean fetchBooleanField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchCharField
char fetchCharField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchByteField
byte fetchByteField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchShortField
short fetchShortField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchIntField
int fetchIntField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchLongField
long fetchLongField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchFloatField
float fetchFloatField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchDoubleField
double fetchDoubleField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchStringField
String fetchStringField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
fetchObjectField
Object fetchObjectField(int fieldNumber)
Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.- Parameters:
fieldNumber- the field number of the key field.- Returns:
- the value of the field to be stored into the ObjectId.
-
-