org.datanucleus.store.fieldmanager
Interface FieldConsumer

All Known Subinterfaces:
FieldManager
All Known Implementing Classes:
AbstractFetchFieldManager, AbstractFieldManager, AttachFieldManager, CachePopulateFieldManager, CacheRetrieveFieldManager, DeleteFieldManager, DetachFieldManager, LoadFieldManager, MakeTransientFieldManager, NullifyRelationFieldManager, PersistFieldManager, ReachabilityFieldManager, SingleTypeFieldManager, SingleValueFieldManager, UnsetOwners

public interface FieldConsumer

Interface providing methods for consuming field values from a persistable object. Based on the JDO interface PersistenceCapable.ObjectIdFieldConsumer.


Method Summary
 void storeBooleanField(int fieldNumber, boolean value)
          Method to store a boolean field value in the object at the specified field position.
 void storeByteField(int fieldNumber, byte value)
          Method to store a byte field value in the object at the specified field position.
 void storeCharField(int fieldNumber, char value)
          Method to store a char field value in the object at the specified field position.
 void storeDoubleField(int fieldNumber, double value)
          Method to store a double field value in the object at the specified field position.
 void storeFloatField(int fieldNumber, float value)
          Method to store a float field value in the object at the specified field position.
 void storeIntField(int fieldNumber, int value)
          Method to store an int field value in the object at the specified field position.
 void storeLongField(int fieldNumber, long value)
          Method to store a long field value in the object at the specified field position.
 void storeObjectField(int fieldNumber, java.lang.Object value)
          Method to store an object field value in the object at the specified field position.
 void storeShortField(int fieldNumber, short value)
          Method to store a short field value in the object at the specified field position.
 void storeStringField(int fieldNumber, java.lang.String value)
          Method to store a string field value in the object at the specified field position.
 

Method Detail

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 field
value - 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 field
value - 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 field
value - 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 field
value - 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 field
value - 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 field
value - 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 field
value - 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 field
value - value to store

storeStringField

void storeStringField(int fieldNumber,
                      java.lang.String value)
Method to store a string field value in the object at the specified field position.

Parameters:
fieldNumber - Number of the field
value - value to store

storeObjectField

void storeObjectField(int fieldNumber,
                      java.lang.Object value)
Method to store an object field value in the object at the specified field position.

Parameters:
fieldNumber - Number of the field
value - value to store


Copyright © 2011. All Rights Reserved.