Cumulus4j API
(1.0.0)

org.cumulus4j.store.fieldmanager
Class FetchFieldManager

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

public class FetchFieldManager
extends AbstractFieldManager

Manager for the process of fetching a user object from the datastore, handling the translation from the DataEntry object into the users own object.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Constructor Summary
FetchFieldManager(ObjectProvider op, CryptoContext cryptoContext, ClassMeta classMeta, AbstractClassMetaData dnClassMetaData, ObjectContainer objectContainer)
           
 
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)
           
 Object fetchObjectField(int fieldNumber)
           
 short fetchShortField(int fieldNumber)
           
 String fetchStringField(int fieldNumber)
           
protected  EncryptionHandler getEncryptionHandler()
           
protected  long getThisDataEntryID()
           
 
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

FetchFieldManager

public FetchFieldManager(ObjectProvider op,
                         CryptoContext cryptoContext,
                         ClassMeta classMeta,
                         AbstractClassMetaData dnClassMetaData,
                         ObjectContainer objectContainer)
Method Detail

getEncryptionHandler

protected EncryptionHandler getEncryptionHandler()

fetchBooleanField

public boolean fetchBooleanField(int fieldNumber)
Specified by:
fetchBooleanField in interface FieldSupplier
Overrides:
fetchBooleanField in class AbstractFieldManager

fetchByteField

public byte fetchByteField(int fieldNumber)
Specified by:
fetchByteField in interface FieldSupplier
Overrides:
fetchByteField in class AbstractFieldManager

fetchCharField

public char fetchCharField(int fieldNumber)
Specified by:
fetchCharField in interface FieldSupplier
Overrides:
fetchCharField in class AbstractFieldManager

fetchDoubleField

public double fetchDoubleField(int fieldNumber)
Specified by:
fetchDoubleField in interface FieldSupplier
Overrides:
fetchDoubleField in class AbstractFieldManager

fetchFloatField

public float fetchFloatField(int fieldNumber)
Specified by:
fetchFloatField in interface FieldSupplier
Overrides:
fetchFloatField in class AbstractFieldManager

fetchIntField

public int fetchIntField(int fieldNumber)
Specified by:
fetchIntField in interface FieldSupplier
Overrides:
fetchIntField in class AbstractFieldManager

fetchLongField

public long fetchLongField(int fieldNumber)
Specified by:
fetchLongField in interface FieldSupplier
Overrides:
fetchLongField in class AbstractFieldManager

fetchShortField

public short fetchShortField(int fieldNumber)
Specified by:
fetchShortField in interface FieldSupplier
Overrides:
fetchShortField in class AbstractFieldManager

fetchStringField

public String fetchStringField(int fieldNumber)
Specified by:
fetchStringField in interface FieldSupplier
Overrides:
fetchStringField in class AbstractFieldManager

getThisDataEntryID

protected long getThisDataEntryID()

fetchObjectField

public Object fetchObjectField(int fieldNumber)
Specified by:
fetchObjectField in interface FieldSupplier
Overrides:
fetchObjectField in class AbstractFieldManager

Cumulus4j API
(1.0.0)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.