org.datanucleus.store.json.fieldmanager
Class InsertFieldManager

java.lang.Object
  extended by org.datanucleus.store.json.fieldmanager.InsertFieldManager
All Implemented Interfaces:
org.datanucleus.store.fieldmanager.FieldConsumer, org.datanucleus.store.fieldmanager.FieldManager, org.datanucleus.store.fieldmanager.FieldSupplier

public class InsertFieldManager
extends java.lang.Object
implements org.datanucleus.store.fieldmanager.FieldManager

FieldManager for inserting data into JSON.


Constructor Summary
InsertFieldManager(org.datanucleus.StateManager sm, JSONObject jsonobj)
           
 
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)
           
 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, java.lang.Object value)
           
 void storeShortField(int fieldNumber, short value)
           
 void storeStringField(int fieldNumber, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertFieldManager

public InsertFieldManager(org.datanucleus.StateManager sm,
                          JSONObject jsonobj)
Method Detail

fetchStringField

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

fetchShortField

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

fetchObjectField

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

fetchLongField

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

fetchIntField

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

fetchFloatField

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

fetchDoubleField

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

fetchCharField

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

fetchByteField

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

fetchBooleanField

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

storeStringField

public void storeStringField(int fieldNumber,
                             java.lang.String value)
Specified by:
storeStringField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeShortField

public void storeShortField(int fieldNumber,
                            short value)
Specified by:
storeShortField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeObjectField

public void storeObjectField(int fieldNumber,
                             java.lang.Object value)
Specified by:
storeObjectField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeLongField

public void storeLongField(int fieldNumber,
                           long value)
Specified by:
storeLongField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeIntField

public void storeIntField(int fieldNumber,
                          int value)
Specified by:
storeIntField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeFloatField

public void storeFloatField(int fieldNumber,
                            float value)
Specified by:
storeFloatField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeDoubleField

public void storeDoubleField(int fieldNumber,
                             double value)
Specified by:
storeDoubleField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeCharField

public void storeCharField(int fieldNumber,
                           char value)
Specified by:
storeCharField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeByteField

public void storeByteField(int fieldNumber,
                           byte value)
Specified by:
storeByteField in interface org.datanucleus.store.fieldmanager.FieldConsumer

storeBooleanField

public void storeBooleanField(int fieldNumber,
                              boolean value)
Specified by:
storeBooleanField in interface org.datanucleus.store.fieldmanager.FieldConsumer


Copyright © 2009. All Rights Reserved.