org.datanucleus.api.rest
Class DummyStateManager

java.lang.Object
  extended by org.datanucleus.api.rest.DummyStateManager
All Implemented Interfaces:
javax.jdo.spi.StateManager

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


Constructor Summary
DummyStateManager(java.lang.Class cls)
           
 
Method Summary
 void disconnect()
           
 boolean getBooleanField(javax.jdo.spi.PersistenceCapable arg0, int arg1, boolean arg2)
           
 byte getByteField(javax.jdo.spi.PersistenceCapable arg0, int arg1, byte arg2)
           
 char getCharField(javax.jdo.spi.PersistenceCapable arg0, int arg1, char arg2)
           
 double getDoubleField(javax.jdo.spi.PersistenceCapable arg0, int arg1, double arg2)
           
 float getFloatField(javax.jdo.spi.PersistenceCapable arg0, int arg1, float arg2)
           
 int getIntField(javax.jdo.spi.PersistenceCapable arg0, int arg1, int arg2)
           
 long getLongField(javax.jdo.spi.PersistenceCapable arg0, int arg1, long arg2)
           
 java.lang.Object getObject()
           
 java.lang.Object getObjectField(javax.jdo.spi.PersistenceCapable arg0, int arg1, java.lang.Object arg2)
           
 java.lang.Object getObjectId(javax.jdo.spi.PersistenceCapable arg0)
           
 javax.jdo.PersistenceManager getPersistenceManager(javax.jdo.spi.PersistenceCapable arg0)
           
 short getShortField(javax.jdo.spi.PersistenceCapable arg0, int arg1, short arg2)
           
 java.lang.String getStringField(javax.jdo.spi.PersistenceCapable arg0, int arg1, java.lang.String arg2)
           
 java.lang.Object getTransactionalObjectId(javax.jdo.spi.PersistenceCapable arg0)
           
 java.lang.Object getVersion(javax.jdo.spi.PersistenceCapable arg0)
           
 boolean isDeleted(javax.jdo.spi.PersistenceCapable arg0)
           
 boolean isDirty(javax.jdo.spi.PersistenceCapable arg0)
           
 boolean isLoaded(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 boolean isNew(javax.jdo.spi.PersistenceCapable arg0)
           
 boolean isPersistent(javax.jdo.spi.PersistenceCapable arg0)
           
 boolean isTransactional(javax.jdo.spi.PersistenceCapable arg0)
           
 void makeDirty(javax.jdo.spi.PersistenceCapable arg0, java.lang.String arg1)
           
 void preSerialize(javax.jdo.spi.PersistenceCapable arg0)
           
 void providedBooleanField(javax.jdo.spi.PersistenceCapable arg0, int arg1, boolean arg2)
           
 void providedByteField(javax.jdo.spi.PersistenceCapable arg0, int arg1, byte arg2)
           
 void providedCharField(javax.jdo.spi.PersistenceCapable arg0, int arg1, char arg2)
           
 void providedDoubleField(javax.jdo.spi.PersistenceCapable arg0, int arg1, double arg2)
           
 void providedFloatField(javax.jdo.spi.PersistenceCapable arg0, int arg1, float arg2)
           
 void providedIntField(javax.jdo.spi.PersistenceCapable arg0, int arg1, int arg2)
           
 void providedLongField(javax.jdo.spi.PersistenceCapable arg0, int arg1, long arg2)
           
 void providedObjectField(javax.jdo.spi.PersistenceCapable arg0, int arg1, java.lang.Object arg2)
           
 void providedShortField(javax.jdo.spi.PersistenceCapable arg0, int arg1, short arg2)
           
 void providedStringField(javax.jdo.spi.PersistenceCapable arg0, int arg1, java.lang.String arg2)
           
 boolean replacingBooleanField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 byte replacingByteField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 char replacingCharField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 java.lang.Object[] replacingDetachedState(javax.jdo.spi.Detachable arg0, java.lang.Object[] arg1)
           
 double replacingDoubleField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 byte replacingFlags(javax.jdo.spi.PersistenceCapable arg0)
           
 float replacingFloatField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 int replacingIntField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 long replacingLongField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 java.lang.Object replacingObjectField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 short replacingShortField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 javax.jdo.spi.StateManager replacingStateManager(javax.jdo.spi.PersistenceCapable arg0, javax.jdo.spi.StateManager arg1)
           
 java.lang.String replacingStringField(javax.jdo.spi.PersistenceCapable arg0, int arg1)
           
 void setBooleanField(javax.jdo.spi.PersistenceCapable arg0, int arg1, boolean arg2, boolean arg3)
           
 void setByteField(javax.jdo.spi.PersistenceCapable arg0, int arg1, byte arg2, byte arg3)
           
 void setCharField(javax.jdo.spi.PersistenceCapable arg0, int arg1, char arg2, char arg3)
           
 void setDoubleField(javax.jdo.spi.PersistenceCapable arg0, int arg1, double arg2, double arg3)
           
 void setFloatField(javax.jdo.spi.PersistenceCapable arg0, int arg1, float arg2, float arg3)
           
 void setIntField(javax.jdo.spi.PersistenceCapable arg0, int arg1, int arg2, int arg3)
           
 void setLongField(javax.jdo.spi.PersistenceCapable arg0, int arg1, long arg2, long arg3)
           
 void setObjectField(javax.jdo.spi.PersistenceCapable arg0, int arg1, java.lang.Object arg2, java.lang.Object arg3)
           
 void setShortField(javax.jdo.spi.PersistenceCapable arg0, int arg1, short arg2, short arg3)
           
 void setStringField(javax.jdo.spi.PersistenceCapable arg0, int arg1, java.lang.String arg2, java.lang.String arg3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyStateManager

public DummyStateManager(java.lang.Class cls)
Method Detail

getBooleanField

public boolean getBooleanField(javax.jdo.spi.PersistenceCapable arg0,
                               int arg1,
                               boolean arg2)
Specified by:
getBooleanField in interface javax.jdo.spi.StateManager

getByteField

public byte getByteField(javax.jdo.spi.PersistenceCapable arg0,
                         int arg1,
                         byte arg2)
Specified by:
getByteField in interface javax.jdo.spi.StateManager

getCharField

public char getCharField(javax.jdo.spi.PersistenceCapable arg0,
                         int arg1,
                         char arg2)
Specified by:
getCharField in interface javax.jdo.spi.StateManager

getDoubleField

public double getDoubleField(javax.jdo.spi.PersistenceCapable arg0,
                             int arg1,
                             double arg2)
Specified by:
getDoubleField in interface javax.jdo.spi.StateManager

getFloatField

public float getFloatField(javax.jdo.spi.PersistenceCapable arg0,
                           int arg1,
                           float arg2)
Specified by:
getFloatField in interface javax.jdo.spi.StateManager

getIntField

public int getIntField(javax.jdo.spi.PersistenceCapable arg0,
                       int arg1,
                       int arg2)
Specified by:
getIntField in interface javax.jdo.spi.StateManager

getLongField

public long getLongField(javax.jdo.spi.PersistenceCapable arg0,
                         int arg1,
                         long arg2)
Specified by:
getLongField in interface javax.jdo.spi.StateManager

getObjectField

public java.lang.Object getObjectField(javax.jdo.spi.PersistenceCapable arg0,
                                       int arg1,
                                       java.lang.Object arg2)
Specified by:
getObjectField in interface javax.jdo.spi.StateManager

getObjectId

public java.lang.Object getObjectId(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
getObjectId in interface javax.jdo.spi.StateManager

getPersistenceManager

public javax.jdo.PersistenceManager getPersistenceManager(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
getPersistenceManager in interface javax.jdo.spi.StateManager

getShortField

public short getShortField(javax.jdo.spi.PersistenceCapable arg0,
                           int arg1,
                           short arg2)
Specified by:
getShortField in interface javax.jdo.spi.StateManager

getStringField

public java.lang.String getStringField(javax.jdo.spi.PersistenceCapable arg0,
                                       int arg1,
                                       java.lang.String arg2)
Specified by:
getStringField in interface javax.jdo.spi.StateManager

getTransactionalObjectId

public java.lang.Object getTransactionalObjectId(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
getTransactionalObjectId in interface javax.jdo.spi.StateManager

getVersion

public java.lang.Object getVersion(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
getVersion in interface javax.jdo.spi.StateManager

isDeleted

public boolean isDeleted(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
isDeleted in interface javax.jdo.spi.StateManager

isDirty

public boolean isDirty(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
isDirty in interface javax.jdo.spi.StateManager

isLoaded

public boolean isLoaded(javax.jdo.spi.PersistenceCapable arg0,
                        int arg1)
Specified by:
isLoaded in interface javax.jdo.spi.StateManager

isNew

public boolean isNew(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
isNew in interface javax.jdo.spi.StateManager

isPersistent

public boolean isPersistent(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
isPersistent in interface javax.jdo.spi.StateManager

isTransactional

public boolean isTransactional(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
isTransactional in interface javax.jdo.spi.StateManager

makeDirty

public void makeDirty(javax.jdo.spi.PersistenceCapable arg0,
                      java.lang.String arg1)
Specified by:
makeDirty in interface javax.jdo.spi.StateManager

preSerialize

public void preSerialize(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
preSerialize in interface javax.jdo.spi.StateManager

providedBooleanField

public void providedBooleanField(javax.jdo.spi.PersistenceCapable arg0,
                                 int arg1,
                                 boolean arg2)
Specified by:
providedBooleanField in interface javax.jdo.spi.StateManager

providedByteField

public void providedByteField(javax.jdo.spi.PersistenceCapable arg0,
                              int arg1,
                              byte arg2)
Specified by:
providedByteField in interface javax.jdo.spi.StateManager

providedCharField

public void providedCharField(javax.jdo.spi.PersistenceCapable arg0,
                              int arg1,
                              char arg2)
Specified by:
providedCharField in interface javax.jdo.spi.StateManager

providedDoubleField

public void providedDoubleField(javax.jdo.spi.PersistenceCapable arg0,
                                int arg1,
                                double arg2)
Specified by:
providedDoubleField in interface javax.jdo.spi.StateManager

providedFloatField

public void providedFloatField(javax.jdo.spi.PersistenceCapable arg0,
                               int arg1,
                               float arg2)
Specified by:
providedFloatField in interface javax.jdo.spi.StateManager

providedIntField

public void providedIntField(javax.jdo.spi.PersistenceCapable arg0,
                             int arg1,
                             int arg2)
Specified by:
providedIntField in interface javax.jdo.spi.StateManager

providedLongField

public void providedLongField(javax.jdo.spi.PersistenceCapable arg0,
                              int arg1,
                              long arg2)
Specified by:
providedLongField in interface javax.jdo.spi.StateManager

providedObjectField

public void providedObjectField(javax.jdo.spi.PersistenceCapable arg0,
                                int arg1,
                                java.lang.Object arg2)
Specified by:
providedObjectField in interface javax.jdo.spi.StateManager

providedShortField

public void providedShortField(javax.jdo.spi.PersistenceCapable arg0,
                               int arg1,
                               short arg2)
Specified by:
providedShortField in interface javax.jdo.spi.StateManager

providedStringField

public void providedStringField(javax.jdo.spi.PersistenceCapable arg0,
                                int arg1,
                                java.lang.String arg2)
Specified by:
providedStringField in interface javax.jdo.spi.StateManager

replacingBooleanField

public boolean replacingBooleanField(javax.jdo.spi.PersistenceCapable arg0,
                                     int arg1)
Specified by:
replacingBooleanField in interface javax.jdo.spi.StateManager

replacingByteField

public byte replacingByteField(javax.jdo.spi.PersistenceCapable arg0,
                               int arg1)
Specified by:
replacingByteField in interface javax.jdo.spi.StateManager

replacingCharField

public char replacingCharField(javax.jdo.spi.PersistenceCapable arg0,
                               int arg1)
Specified by:
replacingCharField in interface javax.jdo.spi.StateManager

replacingDetachedState

public java.lang.Object[] replacingDetachedState(javax.jdo.spi.Detachable arg0,
                                                 java.lang.Object[] arg1)
Specified by:
replacingDetachedState in interface javax.jdo.spi.StateManager

replacingDoubleField

public double replacingDoubleField(javax.jdo.spi.PersistenceCapable arg0,
                                   int arg1)
Specified by:
replacingDoubleField in interface javax.jdo.spi.StateManager

replacingFlags

public byte replacingFlags(javax.jdo.spi.PersistenceCapable arg0)
Specified by:
replacingFlags in interface javax.jdo.spi.StateManager

replacingFloatField

public float replacingFloatField(javax.jdo.spi.PersistenceCapable arg0,
                                 int arg1)
Specified by:
replacingFloatField in interface javax.jdo.spi.StateManager

replacingIntField

public int replacingIntField(javax.jdo.spi.PersistenceCapable arg0,
                             int arg1)
Specified by:
replacingIntField in interface javax.jdo.spi.StateManager

replacingLongField

public long replacingLongField(javax.jdo.spi.PersistenceCapable arg0,
                               int arg1)
Specified by:
replacingLongField in interface javax.jdo.spi.StateManager

replacingObjectField

public java.lang.Object replacingObjectField(javax.jdo.spi.PersistenceCapable arg0,
                                             int arg1)
Specified by:
replacingObjectField in interface javax.jdo.spi.StateManager

replacingShortField

public short replacingShortField(javax.jdo.spi.PersistenceCapable arg0,
                                 int arg1)
Specified by:
replacingShortField in interface javax.jdo.spi.StateManager

replacingStateManager

public javax.jdo.spi.StateManager replacingStateManager(javax.jdo.spi.PersistenceCapable arg0,
                                                        javax.jdo.spi.StateManager arg1)
Specified by:
replacingStateManager in interface javax.jdo.spi.StateManager

replacingStringField

public java.lang.String replacingStringField(javax.jdo.spi.PersistenceCapable arg0,
                                             int arg1)
Specified by:
replacingStringField in interface javax.jdo.spi.StateManager

setBooleanField

public void setBooleanField(javax.jdo.spi.PersistenceCapable arg0,
                            int arg1,
                            boolean arg2,
                            boolean arg3)
Specified by:
setBooleanField in interface javax.jdo.spi.StateManager

setByteField

public void setByteField(javax.jdo.spi.PersistenceCapable arg0,
                         int arg1,
                         byte arg2,
                         byte arg3)
Specified by:
setByteField in interface javax.jdo.spi.StateManager

setCharField

public void setCharField(javax.jdo.spi.PersistenceCapable arg0,
                         int arg1,
                         char arg2,
                         char arg3)
Specified by:
setCharField in interface javax.jdo.spi.StateManager

setDoubleField

public void setDoubleField(javax.jdo.spi.PersistenceCapable arg0,
                           int arg1,
                           double arg2,
                           double arg3)
Specified by:
setDoubleField in interface javax.jdo.spi.StateManager

setFloatField

public void setFloatField(javax.jdo.spi.PersistenceCapable arg0,
                          int arg1,
                          float arg2,
                          float arg3)
Specified by:
setFloatField in interface javax.jdo.spi.StateManager

setIntField

public void setIntField(javax.jdo.spi.PersistenceCapable arg0,
                        int arg1,
                        int arg2,
                        int arg3)
Specified by:
setIntField in interface javax.jdo.spi.StateManager

setLongField

public void setLongField(javax.jdo.spi.PersistenceCapable arg0,
                         int arg1,
                         long arg2,
                         long arg3)
Specified by:
setLongField in interface javax.jdo.spi.StateManager

setObjectField

public void setObjectField(javax.jdo.spi.PersistenceCapable arg0,
                           int arg1,
                           java.lang.Object arg2,
                           java.lang.Object arg3)
Specified by:
setObjectField in interface javax.jdo.spi.StateManager

setShortField

public void setShortField(javax.jdo.spi.PersistenceCapable arg0,
                          int arg1,
                          short arg2,
                          short arg3)
Specified by:
setShortField in interface javax.jdo.spi.StateManager

setStringField

public void setStringField(javax.jdo.spi.PersistenceCapable arg0,
                           int arg1,
                           java.lang.String arg2,
                           java.lang.String arg3)
Specified by:
setStringField in interface javax.jdo.spi.StateManager

getObject

public java.lang.Object getObject()

disconnect

public void disconnect()


Copyright © 2012. All Rights Reserved.