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

javax.jdo.spi
Interface PersistenceCapable.ObjectIdFieldConsumer

Subinterfaces:
ObjectIdFieldManager
This interface is used to store fields from the Object id instance. It is used by the method copyKeyFieldsFromObjectId. When the method is called, the generated code calls the instance of ObjectIdFieldManager for each field in the object id.
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.