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

javax.jdo.spi
Interface PersistenceCapable.ObjectIdFieldManager

Superinterfaces:
ObjectIdFieldConsumer, ObjectIdFieldSupplier
This interface is a convenience interface that allows an instance to implement both ObjectIdFieldSupplier and ObjectIdFieldConsumer.
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
void storeBooleanField(int fieldNumber, boolean value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeByteField(int fieldNumber, byte value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeCharField(int fieldNumber, char value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeDoubleField(int fieldNumber, double value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeFloatField(int fieldNumber, float value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeIntField(int fieldNumber, int value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeLongField(int fieldNumber, long value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeObjectField(int fieldNumber, Object value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeShortField(int fieldNumber, short value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.
Since:
JDO 1.0
void storeStringField(int fieldNumber, String value)
Store one field into the field manager.
Store one field into the field manager. This field was retrieved from the field of the ObjectId.
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from 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.