org.apache.jdo.impl.fostore
Class AIDTranscriber

java.lang.Object
  extended byorg.apache.jdo.impl.fostore.AIDTranscriber
All Implemented Interfaces:
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer

class AIDTranscriber
extends java.lang.Object
implements javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer

Author:
Marina Vatkina

Field Summary
private  java.lang.Class cls
           
private  FOStoreModel model
           
private static org.apache.jdo.util.I18NHelper msg
          I18N support.
private  FOStoreOutput out
           
 
Constructor Summary
(package private) AIDTranscriber(FOStoreOutput out, java.lang.Class pcClass, FOStorePMF pmf)
           
 
Method Summary
(package private)  void assertNotNull(int fieldNumber, java.lang.Object value)
           
 void storeBooleanField(int fieldNumber, boolean value)
          Store one field into the field manager.
 void storeByteField(int fieldNumber, byte value)
          Store one field into the field manager.
 void storeCharField(int fieldNumber, char value)
          Store one field into the field manager.
 void storeDoubleField(int fieldNumber, double value)
          Store one field into the field manager.
 void storeFloatField(int fieldNumber, float value)
          Store one field into the field manager.
 void storeIntField(int fieldNumber, int value)
          Store one field into the field manager.
 void storeLongField(int fieldNumber, long value)
          Store one field into the field manager.
 void storeObjectField(int fieldNumber, java.lang.Object value)
          Store one field into the field manager.
 void storeShortField(int fieldNumber, short value)
          Store one field into the field manager.
 void storeStringField(int fieldNumber, java.lang.String value)
          Store one field into the field manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private FOStoreOutput out

model

private final FOStoreModel model

cls

private final java.lang.Class cls

msg

private static final org.apache.jdo.util.I18NHelper msg
I18N support.

Constructor Detail

AIDTranscriber

AIDTranscriber(FOStoreOutput out,
               java.lang.Class pcClass,
               FOStorePMF pmf)
Method Detail

storeBooleanField

public void storeBooleanField(int fieldNumber,
                              boolean value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeBooleanField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeCharField

public void storeCharField(int fieldNumber,
                           char value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeCharField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeByteField

public void storeByteField(int fieldNumber,
                           byte value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeByteField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeShortField

public void storeShortField(int fieldNumber,
                            short value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeShortField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeIntField

public void storeIntField(int fieldNumber,
                          int value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeIntField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeLongField

public void storeLongField(int fieldNumber,
                           long value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeLongField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeFloatField

public void storeFloatField(int fieldNumber,
                            float value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeFloatField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeDoubleField

public void storeDoubleField(int fieldNumber,
                             double value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeDoubleField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeStringField

public void storeStringField(int fieldNumber,
                             java.lang.String value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeStringField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

storeObjectField

public void storeObjectField(int fieldNumber,
                             java.lang.Object value)
Store one field into the field manager. This field was retrieved from the field of the ObjectId.

Specified by:
storeObjectField in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
Parameters:
fieldNumber - the field number of the key field.
value - the value of the field from the ObjectId.

assertNotNull

void assertNotNull(int fieldNumber,
                   java.lang.Object value)