org.datanucleus.store.fieldmanager
Interface FieldSupplier

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 FieldSupplier

Interface providing methods for supplying field values to a persistable object. Based on the JDO interface PersistenceCapable.ObjectIdFieldSupplier.


Method Summary
 boolean fetchBooleanField(int fieldNumber)
          Fetch a boolean field at the specified field number, returning it.
 byte fetchByteField(int fieldNumber)
          Fetch a byte field at the specified field number, returning it.
 char fetchCharField(int fieldNumber)
          Fetch a char field at the specified field number, returning it.
 double fetchDoubleField(int fieldNumber)
          Fetch a double field at the specified field number, returning it.
 float fetchFloatField(int fieldNumber)
          Fetch a float field at the specified field number, returning it.
 int fetchIntField(int fieldNumber)
          Fetch an int field at the specified field number, returning it.
 long fetchLongField(int fieldNumber)
          Fetch a long field at the specified field number, returning it.
 java.lang.Object fetchObjectField(int fieldNumber)
          Fetch an object field at the specified field number, returning it.
 short fetchShortField(int fieldNumber)
          Fetch a short field at the specified field number, returning it.
 java.lang.String fetchStringField(int fieldNumber)
          Fetch a string field at the specified field number, returning it.
 

Method Detail

fetchBooleanField

boolean fetchBooleanField(int fieldNumber)
Fetch a boolean field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchByteField

byte fetchByteField(int fieldNumber)
Fetch a byte field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchCharField

char fetchCharField(int fieldNumber)
Fetch a char field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchDoubleField

double fetchDoubleField(int fieldNumber)
Fetch a double field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchFloatField

float fetchFloatField(int fieldNumber)
Fetch a float field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchIntField

int fetchIntField(int fieldNumber)
Fetch an int field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchLongField

long fetchLongField(int fieldNumber)
Fetch a long field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchShortField

short fetchShortField(int fieldNumber)
Fetch a short field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchStringField

java.lang.String fetchStringField(int fieldNumber)
Fetch a string field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value

fetchObjectField

java.lang.Object fetchObjectField(int fieldNumber)
Fetch an object field at the specified field number, returning it.

Parameters:
fieldNumber - Number of the field
Returns:
The value


Copyright © 2011. All Rights Reserved.