com.orientechnologies.jdo
Class oStateManager

java.lang.Object
  extended bycom.orientechnologies.jdo.oStateManager
All Implemented Interfaces:
javax.jdo.spi.StateManager

public class oStateManager
extends java.lang.Object
implements javax.jdo.spi.StateManager

State manager implementation of JDO standard interface.

NOTE: JDO Applications must not use this class directly.


Constructor Summary
oStateManager()
           
 
Method Summary
 oObjectInfo addObjectInfo(oOID iOID, java.lang.Object iPC, int iStatus)
           
 void close()
           
static void createInstance()
           
 void deleteObject(java.lang.Object iPC)
           
static void destroyInstance()
           
 boolean getBooleanField(javax.jdo.spi.PersistenceCapable iPC, int parm2, boolean parm3)
          Return the value for the field.
 byte getByteField(javax.jdo.spi.PersistenceCapable iPC, int parm2, byte parm3)
          Return the value for the field.
 char getCharField(javax.jdo.spi.PersistenceCapable iPC, int parm2, char parm3)
          Return the value for the field.
 double getDoubleField(javax.jdo.spi.PersistenceCapable iPC, int parm2, double parm3)
          Return the value for the field.
 float getFloatField(javax.jdo.spi.PersistenceCapable iPC, int parm2, float parm3)
          Return the value for the field.
static oStateManager getInstance()
           
 int getIntField(javax.jdo.spi.PersistenceCapable iPC, int parm2, int parm3)
          Return the value for the field.
 long getLongField(javax.jdo.spi.PersistenceCapable iPC, int parm2, long parm3)
          Return the value for the field.
 java.lang.Object getObjectField(javax.jdo.spi.PersistenceCapable iPC, int parm2, java.lang.Object parm3)
          Return the value for the field.
 oOID getObjectId(java.lang.Object iPC)
           
 java.lang.Object getObjectId(javax.jdo.spi.PersistenceCapable iPC)
          Return the object representing the JDO identity of the calling instance.
 oObjectInfo getObjectInfo(java.lang.Object iPC)
           
 PersistenceManager getPersistenceManager()
           
 PersistenceManager getPersistenceManager(javax.jdo.spi.PersistenceCapable iPC)
          Return the PersistenceManager that owns this instance.
 short getShortField(javax.jdo.spi.PersistenceCapable iPC, int parm2, short parm3)
          Return the value for the field.
 java.lang.String getStringField(javax.jdo.spi.PersistenceCapable iPC, int parm2, java.lang.String parm3)
          Return the value for the field.
 java.lang.Object getTransactionalObjectId(javax.jdo.spi.PersistenceCapable p0)
          Return the object representing the JDO identity of the calling instance.
 boolean isDeleted(javax.jdo.spi.PersistenceCapable iPC)
          Tests whether this object has been deleted.
 boolean isDirty(javax.jdo.spi.PersistenceCapable iPC)
          Tests whether this object is dirty.
 boolean isLoaded(javax.jdo.spi.PersistenceCapable iPC, int iFieldNum)
          Return true if the field is cached in the calling instance.
 boolean isNew(javax.jdo.spi.PersistenceCapable iPC)
          Tests whether this object has been newly made persistent.
 boolean isPersistent(javax.jdo.spi.PersistenceCapable iPC)
          Tests whether this object is persistent.
 boolean isTransactional(javax.jdo.spi.PersistenceCapable iPC)
          Tests whether this object is transactional.
 void makeDirty(java.lang.Object iObject)
           
 void makeDirty(javax.jdo.spi.PersistenceCapable iPC, java.lang.String iFieldNum)
          Mark the associated PersistenceCapable field dirty.
 void preSerialize(javax.jdo.spi.PersistenceCapable iPC)
          Guarantee that the serializable transactional and persistent fields are loaded into the instance.
 void providedBooleanField(javax.jdo.spi.PersistenceCapable iPC, int parm2, boolean parm3)
          The value of the field requested to be provided to the StateManager
 void providedByteField(javax.jdo.spi.PersistenceCapable iPC, int parm2, byte parm3)
          The value of the field requested to be provided to the StateManager
 void providedCharField(javax.jdo.spi.PersistenceCapable iPC, int parm2, char parm3)
          The value of the field requested to be provided to the StateManager
 void providedDoubleField(javax.jdo.spi.PersistenceCapable iPC, int parm2, double parm3)
          The value of the field requested to be provided to the StateManager
 void providedFloatField(javax.jdo.spi.PersistenceCapable iPC, int parm2, float parm3)
          The value of the field requested to be provided to the StateManager
 void providedIntField(javax.jdo.spi.PersistenceCapable iPC, int parm2, int parm3)
          The value of the field requested to be provided to the StateManager
 void providedLongField(javax.jdo.spi.PersistenceCapable iPC, int parm2, long parm3)
          The value of the field requested to be provided to the StateManager
 void providedObjectField(javax.jdo.spi.PersistenceCapable iPC, int parm2, java.lang.Object parm3)
          The value of the field requested to be provided to the StateManager
 void providedShortField(javax.jdo.spi.PersistenceCapable iPC, int parm2, short parm3)
          The value of the field requested to be provided to the StateManager
 void providedStringField(javax.jdo.spi.PersistenceCapable iPC, int parm2, java.lang.String parm3)
          The value of the field requested to be provided to the StateManager
 oObjectInfo removeObjectInfo(javax.jdo.spi.PersistenceCapable iPC)
           
 boolean replacingBooleanField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 byte replacingByteField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 char replacingCharField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 double replacingDoubleField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 byte replacingFlags(javax.jdo.spi.PersistenceCapable iPC)
          The owning StateManager uses this method to supply the value of the flags to the PersistenceCapable instance.
 float replacingFloatField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 int replacingIntField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 long replacingLongField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 java.lang.Object replacingObjectField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 short replacingShortField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 javax.jdo.spi.StateManager replacingStateManager(javax.jdo.spi.PersistenceCapable iPC)
           
 javax.jdo.spi.StateManager replacingStateManager(javax.jdo.spi.PersistenceCapable p0, javax.jdo.spi.StateManager p1)
          Replace the current value of jdoStateManager.
 java.lang.String replacingStringField(javax.jdo.spi.PersistenceCapable iPC, int parm2)
          The replacing value of the field in the calling instance
 void setBooleanField(javax.jdo.spi.PersistenceCapable iPC, int parm2, boolean parm3, boolean parm4)
          Mark the field as modified by the user.
 void setByteField(javax.jdo.spi.PersistenceCapable iPC, int parm2, byte parm3, byte parm4)
          Mark the field as modified by the user.
 void setCharField(javax.jdo.spi.PersistenceCapable iPC, int parm2, char parm3, char parm4)
          Mark the field as modified by the user.
 void setDoubleField(javax.jdo.spi.PersistenceCapable iPC, int parm2, double parm3, double parm4)
          Mark the field as modified by the user.
 void setFloatField(javax.jdo.spi.PersistenceCapable iPC, int parm2, float parm3, float parm4)
          Mark the field as modified by the user.
 void setIntField(javax.jdo.spi.PersistenceCapable iPC, int parm2, int parm3, int parm4)
          Mark the field as modified by the user.
 void setLongField(javax.jdo.spi.PersistenceCapable iPC, int parm2, long parm3, long parm4)
          Mark the field as modified by the user.
 void setObjectField(javax.jdo.spi.PersistenceCapable iPC, int parm2, java.lang.Object parm3, java.lang.Object parm4)
          Mark the field as modified by the user.
 void setShortField(javax.jdo.spi.PersistenceCapable iPC, int parm2, short parm3, short parm4)
          Mark the field as modified by the user.
 void setStringField(javax.jdo.spi.PersistenceCapable iPC, int parm2, java.lang.String parm3, java.lang.String parm4)
          Mark the field as modified by the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

oStateManager

public oStateManager()
Method Detail

close

public void close()

replacingStateManager

public javax.jdo.spi.StateManager replacingStateManager(javax.jdo.spi.PersistenceCapable p0,
                                                        javax.jdo.spi.StateManager p1)
Description copied from interface: javax.jdo.spi.StateManager
Replace the current value of jdoStateManager.

This method is called by the PersistenceCapable whenever jdoReplaceStateManager is called and there is already an owning StateManager. This is a security precaution to ensure that the owning StateManager is the only source of any change to its reference in the PersistenceCapable.

Specified by:
replacingStateManager in interface javax.jdo.spi.StateManager
Parameters:
p0 - the calling PersistenceCapable instance
p1 - the proposed new value for the jdoStateManager
Returns:
the new value for the jdoStateManager

replacingFlags

public byte replacingFlags(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
The owning StateManager uses this method to supply the value of the flags to the PersistenceCapable instance.

Specified by:
replacingFlags in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
Returns:
the value of jdoFlags to be stored in the PersistenceCapable instance

replacingStateManager

public javax.jdo.spi.StateManager replacingStateManager(javax.jdo.spi.PersistenceCapable iPC)
                                                 throws java.lang.IllegalAccessException
Throws:
java.lang.IllegalAccessException

isDirty

public boolean isDirty(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true.

Transient nontransactional instances return false.

Specified by:
isDirty in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
Returns:
true if this instance has been modified in the current transaction.
See Also:
PersistenceCapable.jdoMakeDirty(String fieldName)

isTransactional

public boolean isTransactional(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
Tests whether this object is transactional. Instances that respect transaction boundaries return true. These instances include transient instances made transactional as a result of being the target of a makeTransactional method call; newly made persistent or deleted persistent instances; persistent instances read in data store transactions; and persistent instances modified in optimistic transactions.

Transient nontransactional instances return false.

Specified by:
isTransactional in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
Returns:
true if this instance is transactional.

isPersistent

public boolean isPersistent(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
Tests whether this object is persistent. Instances whose state is stored in the data store return true.

Transient instances return false.

Specified by:
isPersistent in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
Returns:
true if this instance is persistent.
See Also:
PersistenceManager.makePersistent(Object pc)

isNew

public boolean isNew(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction return true.

Transient instances return false.

Specified by:
isNew in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
Returns:
true if this instance was made persistent in the current transaction.
See Also:
PersistenceManager.makePersistent(Object pc)

isDeleted

public boolean isDeleted(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true.

Transient instances return false.

Specified by:
isDeleted in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
Returns:
true if this instance was deleted in the current transaction.
See Also:
PersistenceManager.deletePersistent(Object pc)

getPersistenceManager

public PersistenceManager getPersistenceManager(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
Return the PersistenceManager that owns this instance.

Specified by:
getPersistenceManager in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
Returns:
the PersistenceManager that owns this instance

getPersistenceManager

public PersistenceManager getPersistenceManager()

makeDirty

public void makeDirty(javax.jdo.spi.PersistenceCapable iPC,
                      java.lang.String iFieldNum)
Description copied from interface: javax.jdo.spi.StateManager
Mark the associated PersistenceCapable field dirty.

The StateManager will make a copy of the field so it can be restored if needed later, and then mark the field as modified in the current transaction.

Specified by:
makeDirty in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
iFieldNum - the name of the field

makeDirty

public void makeDirty(java.lang.Object iObject)

getObjectId

public java.lang.Object getObjectId(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
Return the object representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the identity as of the beginning of the transaction.

Specified by:
getObjectId in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
Returns:
the object representing the JDO identity of the calling instance

getObjectId

public oOID getObjectId(java.lang.Object iPC)

getTransactionalObjectId

public java.lang.Object getTransactionalObjectId(javax.jdo.spi.PersistenceCapable p0)
Description copied from interface: javax.jdo.spi.StateManager
Return the object representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the current identity as changed in the transaction.

Specified by:
getTransactionalObjectId in interface javax.jdo.spi.StateManager
Parameters:
p0 - the calling PersistenceCapable instance
Returns:
the object representing the JDO identity of the calling instance

isLoaded

public boolean isLoaded(javax.jdo.spi.PersistenceCapable iPC,
                        int iFieldNum)
Description copied from interface: javax.jdo.spi.StateManager
Return true if the field is cached in the calling instance.

Specified by:
isLoaded in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
iFieldNum - the field number
Returns:
whether the field is cached in the calling instance

preSerialize

public void preSerialize(javax.jdo.spi.PersistenceCapable iPC)
Description copied from interface: javax.jdo.spi.StateManager
Guarantee that the serializable transactional and persistent fields are loaded into the instance. This method is called by the generated jdoPreSerialize method prior to serialization of the instance.

Specified by:
preSerialize in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance

getBooleanField

public boolean getBooleanField(javax.jdo.spi.PersistenceCapable iPC,
                               int parm2,
                               boolean parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getBooleanField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getCharField

public char getCharField(javax.jdo.spi.PersistenceCapable iPC,
                         int parm2,
                         char parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getCharField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getByteField

public byte getByteField(javax.jdo.spi.PersistenceCapable iPC,
                         int parm2,
                         byte parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getByteField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getShortField

public short getShortField(javax.jdo.spi.PersistenceCapable iPC,
                           int parm2,
                           short parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getShortField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getIntField

public int getIntField(javax.jdo.spi.PersistenceCapable iPC,
                       int parm2,
                       int parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getIntField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getLongField

public long getLongField(javax.jdo.spi.PersistenceCapable iPC,
                         int parm2,
                         long parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getLongField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getFloatField

public float getFloatField(javax.jdo.spi.PersistenceCapable iPC,
                           int parm2,
                           float parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getFloatField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getDoubleField

public double getDoubleField(javax.jdo.spi.PersistenceCapable iPC,
                             int parm2,
                             double parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getDoubleField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getStringField

public java.lang.String getStringField(javax.jdo.spi.PersistenceCapable iPC,
                                       int parm2,
                                       java.lang.String parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getStringField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

getObjectField

public java.lang.Object getObjectField(javax.jdo.spi.PersistenceCapable iPC,
                                       int parm2,
                                       java.lang.Object parm3)
Description copied from interface: javax.jdo.spi.StateManager
Return the value for the field.

Specified by:
getObjectField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
Returns:
the new value for the field

setBooleanField

public void setBooleanField(javax.jdo.spi.PersistenceCapable iPC,
                            int parm2,
                            boolean parm3,
                            boolean parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setBooleanField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setCharField

public void setCharField(javax.jdo.spi.PersistenceCapable iPC,
                         int parm2,
                         char parm3,
                         char parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setCharField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setByteField

public void setByteField(javax.jdo.spi.PersistenceCapable iPC,
                         int parm2,
                         byte parm3,
                         byte parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setByteField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setShortField

public void setShortField(javax.jdo.spi.PersistenceCapable iPC,
                          int parm2,
                          short parm3,
                          short parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setShortField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setIntField

public void setIntField(javax.jdo.spi.PersistenceCapable iPC,
                        int parm2,
                        int parm3,
                        int parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setIntField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setLongField

public void setLongField(javax.jdo.spi.PersistenceCapable iPC,
                         int parm2,
                         long parm3,
                         long parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setLongField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setFloatField

public void setFloatField(javax.jdo.spi.PersistenceCapable iPC,
                          int parm2,
                          float parm3,
                          float parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setFloatField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setDoubleField

public void setDoubleField(javax.jdo.spi.PersistenceCapable iPC,
                           int parm2,
                           double parm3,
                           double parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setDoubleField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setStringField

public void setStringField(javax.jdo.spi.PersistenceCapable iPC,
                           int parm2,
                           java.lang.String parm3,
                           java.lang.String parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setStringField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

setObjectField

public void setObjectField(javax.jdo.spi.PersistenceCapable iPC,
                           int parm2,
                           java.lang.Object parm3,
                           java.lang.Object parm4)
Description copied from interface: javax.jdo.spi.StateManager
Mark the field as modified by the user.

Specified by:
setObjectField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field
parm4 - the proposed new value of the field

providedBooleanField

public void providedBooleanField(javax.jdo.spi.PersistenceCapable iPC,
                                 int parm2,
                                 boolean parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedBooleanField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedCharField

public void providedCharField(javax.jdo.spi.PersistenceCapable iPC,
                              int parm2,
                              char parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedCharField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedByteField

public void providedByteField(javax.jdo.spi.PersistenceCapable iPC,
                              int parm2,
                              byte parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedByteField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedShortField

public void providedShortField(javax.jdo.spi.PersistenceCapable iPC,
                               int parm2,
                               short parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedShortField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedIntField

public void providedIntField(javax.jdo.spi.PersistenceCapable iPC,
                             int parm2,
                             int parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedIntField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedLongField

public void providedLongField(javax.jdo.spi.PersistenceCapable iPC,
                              int parm2,
                              long parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedLongField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedFloatField

public void providedFloatField(javax.jdo.spi.PersistenceCapable iPC,
                               int parm2,
                               float parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedFloatField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedDoubleField

public void providedDoubleField(javax.jdo.spi.PersistenceCapable iPC,
                                int parm2,
                                double parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedDoubleField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedStringField

public void providedStringField(javax.jdo.spi.PersistenceCapable iPC,
                                int parm2,
                                java.lang.String parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedStringField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

providedObjectField

public void providedObjectField(javax.jdo.spi.PersistenceCapable iPC,
                                int parm2,
                                java.lang.Object parm3)
Description copied from interface: javax.jdo.spi.StateManager
The value of the field requested to be provided to the StateManager

Specified by:
providedObjectField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
parm3 - the current value of the field

replacingBooleanField

public boolean replacingBooleanField(javax.jdo.spi.PersistenceCapable iPC,
                                     int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingBooleanField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingCharField

public char replacingCharField(javax.jdo.spi.PersistenceCapable iPC,
                               int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingCharField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingByteField

public byte replacingByteField(javax.jdo.spi.PersistenceCapable iPC,
                               int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingByteField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingShortField

public short replacingShortField(javax.jdo.spi.PersistenceCapable iPC,
                                 int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingShortField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingIntField

public int replacingIntField(javax.jdo.spi.PersistenceCapable iPC,
                             int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingIntField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingLongField

public long replacingLongField(javax.jdo.spi.PersistenceCapable iPC,
                               int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingLongField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingFloatField

public float replacingFloatField(javax.jdo.spi.PersistenceCapable iPC,
                                 int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingFloatField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingDoubleField

public double replacingDoubleField(javax.jdo.spi.PersistenceCapable iPC,
                                   int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingDoubleField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingStringField

public java.lang.String replacingStringField(javax.jdo.spi.PersistenceCapable iPC,
                                             int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingStringField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

replacingObjectField

public java.lang.Object replacingObjectField(javax.jdo.spi.PersistenceCapable iPC,
                                             int parm2)
Description copied from interface: javax.jdo.spi.StateManager
The replacing value of the field in the calling instance

Specified by:
replacingObjectField in interface javax.jdo.spi.StateManager
Parameters:
iPC - the calling PersistenceCapable instance
parm2 - the field number
Returns:
the new value for the field

deleteObject

public void deleteObject(java.lang.Object iPC)

getObjectInfo

public oObjectInfo getObjectInfo(java.lang.Object iPC)

addObjectInfo

public oObjectInfo addObjectInfo(oOID iOID,
                                 java.lang.Object iPC,
                                 int iStatus)

removeObjectInfo

public oObjectInfo removeObjectInfo(javax.jdo.spi.PersistenceCapable iPC)

createInstance

public static void createInstance()

destroyInstance

public static void destroyInstance()

getInstance

public static oStateManager getInstance()