Cumulus4j API
(1.0.1)

org.cumulus4j.store.fieldmanager
Class StoreFieldManager

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

public class StoreFieldManager
extends AbstractFieldManager

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

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

Constructor Summary
StoreFieldManager(ObjectProvider op, PersistenceManager pmData, ClassMeta classMeta, AbstractClassMetaData dnClassMetaData, ObjectContainer objectContainer)
           
 
Method Summary
 void storeBooleanField(int fieldNumber, boolean value)
           
 void storeByteField(int fieldNumber, byte value)
           
 void storeCharField(int fieldNumber, char value)
           
 void storeDoubleField(int fieldNumber, double value)
           
 void storeFloatField(int fieldNumber, float value)
           
 void storeIntField(int fieldNumber, int value)
           
 void storeLongField(int fieldNumber, long value)
           
 void storeObjectField(int fieldNumber, Object value)
           
 void storeShortField(int fieldNumber, short value)
           
 void storeStringField(int fieldNumber, String value)
           
 
Methods inherited from class org.datanucleus.store.fieldmanager.AbstractFieldManager
fetchBooleanField, fetchByteField, fetchCharField, fetchDoubleField, fetchFloatField, fetchIntField, fetchLongField, fetchObjectField, fetchShortField, fetchStringField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreFieldManager

public StoreFieldManager(ObjectProvider op,
                         PersistenceManager pmData,
                         ClassMeta classMeta,
                         AbstractClassMetaData dnClassMetaData,
                         ObjectContainer objectContainer)
Method Detail

storeBooleanField

public void storeBooleanField(int fieldNumber,
                              boolean value)
Specified by:
storeBooleanField in interface FieldConsumer
Overrides:
storeBooleanField in class AbstractFieldManager

storeByteField

public void storeByteField(int fieldNumber,
                           byte value)
Specified by:
storeByteField in interface FieldConsumer
Overrides:
storeByteField in class AbstractFieldManager

storeCharField

public void storeCharField(int fieldNumber,
                           char value)
Specified by:
storeCharField in interface FieldConsumer
Overrides:
storeCharField in class AbstractFieldManager

storeDoubleField

public void storeDoubleField(int fieldNumber,
                             double value)
Specified by:
storeDoubleField in interface FieldConsumer
Overrides:
storeDoubleField in class AbstractFieldManager

storeFloatField

public void storeFloatField(int fieldNumber,
                            float value)
Specified by:
storeFloatField in interface FieldConsumer
Overrides:
storeFloatField in class AbstractFieldManager

storeIntField

public void storeIntField(int fieldNumber,
                          int value)
Specified by:
storeIntField in interface FieldConsumer
Overrides:
storeIntField in class AbstractFieldManager

storeLongField

public void storeLongField(int fieldNumber,
                           long value)
Specified by:
storeLongField in interface FieldConsumer
Overrides:
storeLongField in class AbstractFieldManager

storeShortField

public void storeShortField(int fieldNumber,
                            short value)
Specified by:
storeShortField in interface FieldConsumer
Overrides:
storeShortField in class AbstractFieldManager

storeStringField

public void storeStringField(int fieldNumber,
                             String value)
Specified by:
storeStringField in interface FieldConsumer
Overrides:
storeStringField in class AbstractFieldManager

storeObjectField

public void storeObjectField(int fieldNumber,
                             Object value)
Specified by:
storeObjectField in interface FieldConsumer
Overrides:
storeObjectField in class AbstractFieldManager

Cumulus4j API
(1.0.1)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.