javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier - JDO interface

javax.jdo.spi
Interface PersistenceCapable.ObjectIdFieldSupplier

Subinterfaces:
ObjectIdFieldManager
This 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.
Since:
JDO 1.0
boolean fetchBooleanField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
byte fetchByteField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
char fetchCharField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
double fetchDoubleField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
float fetchFloatField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
int fetchIntField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
long fetchLongField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
Object fetchObjectField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
short fetchShortField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0
String fetchStringField(int fieldNumber)
Fetch one field from the field manager.
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.
Since:
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.