org.datanucleus.store.rdbms.fieldmanager
Class ResultSetGetter

java.lang.Object
  extended by org.datanucleus.store.fieldmanager.AbstractFieldManager
      extended by org.datanucleus.store.rdbms.fieldmanager.ResultSetGetter
All Implemented Interfaces:
org.datanucleus.store.fieldmanager.FieldConsumer, org.datanucleus.store.fieldmanager.FieldManager, org.datanucleus.store.fieldmanager.FieldSupplier

public class ResultSetGetter
extends org.datanucleus.store.fieldmanager.AbstractFieldManager

ResultSet getter implementation of a field manager.


Constructor Summary
ResultSetGetter(org.datanucleus.StateManager sm, java.lang.Object results, org.datanucleus.store.mapped.StatementClassMapping resultMappings)
          Constructor
 
Method Summary
 boolean fetchBooleanField(int fieldNumber)
           
 byte fetchByteField(int fieldNumber)
           
 char fetchCharField(int fieldNumber)
           
 double fetchDoubleField(int fieldNumber)
           
 float fetchFloatField(int fieldNumber)
           
 int fetchIntField(int fieldNumber)
           
 long fetchLongField(int fieldNumber)
           
 java.lang.Object fetchObjectField(int fieldNumber)
           
 short fetchShortField(int fieldNumber)
           
 java.lang.String fetchStringField(int fieldNumber)
           
 
Methods inherited from class org.datanucleus.store.fieldmanager.AbstractFieldManager
storeBooleanField, storeByteField, storeCharField, storeDoubleField, storeFloatField, storeIntField, storeLongField, storeObjectField, storeShortField, storeStringField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetGetter

public ResultSetGetter(org.datanucleus.StateManager sm,
                       java.lang.Object results,
                       org.datanucleus.store.mapped.StatementClassMapping resultMappings)
Constructor

Parameters:
sm - the StateManager
results - the ResultSet
resultMappings - Mappings for the results for this class
Method Detail

fetchBooleanField

public boolean fetchBooleanField(int fieldNumber)
Specified by:
fetchBooleanField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchBooleanField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchCharField

public char fetchCharField(int fieldNumber)
Specified by:
fetchCharField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchCharField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchByteField

public byte fetchByteField(int fieldNumber)
Specified by:
fetchByteField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchByteField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchShortField

public short fetchShortField(int fieldNumber)
Specified by:
fetchShortField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchShortField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchIntField

public int fetchIntField(int fieldNumber)
Specified by:
fetchIntField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchIntField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchLongField

public long fetchLongField(int fieldNumber)
Specified by:
fetchLongField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchLongField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchFloatField

public float fetchFloatField(int fieldNumber)
Specified by:
fetchFloatField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchFloatField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchDoubleField

public double fetchDoubleField(int fieldNumber)
Specified by:
fetchDoubleField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchDoubleField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchStringField

public java.lang.String fetchStringField(int fieldNumber)
Specified by:
fetchStringField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchStringField in class org.datanucleus.store.fieldmanager.AbstractFieldManager

fetchObjectField

public java.lang.Object fetchObjectField(int fieldNumber)
Specified by:
fetchObjectField in interface org.datanucleus.store.fieldmanager.FieldSupplier
Overrides:
fetchObjectField in class org.datanucleus.store.fieldmanager.AbstractFieldManager


Copyright © 2009. All Rights Reserved.