1 package org.apache.ojb.jdo.spi; 2 3 17 18 import javax.jdo.spi.StateManager; 19 import javax.jdo.spi.PersistenceCapable; 20 import javax.jdo.PersistenceManager; 21 22 25 26 public class StateManagerImpl implements StateManager 27 { 28 private PersistenceManager m_persistenceManager; 29 30 public StateManagerImpl(PersistenceManager persistenceManager) 31 { 32 m_persistenceManager = persistenceManager; 33 } 34 35 public byte replacingFlags(PersistenceCapable persistenceCapable) 36 { 37 return 0; 38 } 39 40 public StateManager replacingStateManager(PersistenceCapable persistenceCapable, StateManager stateManager) 41 { 42 return null; 43 } 44 45 public boolean isDirty(PersistenceCapable persistenceCapable) 46 { 47 return false; 48 } 49 50 public boolean isTransactional(PersistenceCapable persistenceCapable) 51 { 52 return false; 53 } 54 55 public boolean isPersistent(PersistenceCapable persistenceCapable) 56 { 57 return false; 58 } 59 60 public boolean isNew(PersistenceCapable persistenceCapable) 61 { 62 return false; 63 } 64 65 public boolean isDeleted(PersistenceCapable persistenceCapable) 66 { 67 return false; 68 } 69 70 public PersistenceManager getPersistenceManager(PersistenceCapable persistenceCapable) 71 { 72 return null; 73 } 74 75 public void makeDirty(PersistenceCapable persistenceCapable, String s) 76 { 77 } 78 79 public Object getObjectId(PersistenceCapable persistenceCapable) 80 { 81 return null; 82 } 83 84 public Object getTransactionalObjectId(PersistenceCapable persistenceCapable) 85 { 86 return null; 87 } 88 89 public boolean isLoaded(PersistenceCapable persistenceCapable, int i) 90 { 91 return false; 92 } 93 94 public void preSerialize(PersistenceCapable persistenceCapable) 95 { 96 } 97 98 public boolean getBooleanField(PersistenceCapable persistenceCapable, int i, boolean b) 99 { 100 return false; 101 } 102 103 public char getCharField(PersistenceCapable persistenceCapable, int i, char c) 104 { 105 return 0; 106 } 107 108 public byte getByteField(PersistenceCapable persistenceCapable, int i, byte b) 109 { 110 return 0; 111 } 112 113 public short getShortField(PersistenceCapable persistenceCapable, int i, short i1) 114 { 115 return 0; 116 } 117 118 public int getIntField(PersistenceCapable persistenceCapable, int i, int i1) 119 { 120 return 0; 121 } 122 123 public long getLongField(PersistenceCapable persistenceCapable, int i, long l) 124 { 125 return 0; 126 } 127 128 public float getFloatField(PersistenceCapable persistenceCapable, int i, float v) 129 { 130 return 0; 131 } 132 133 public double getDoubleField(PersistenceCapable persistenceCapable, int i, double v) 134 { 135 return 0; 136 } 137 138 public String getStringField(PersistenceCapable persistenceCapable, int i, String s) 139 { 140 return null; 141 } 142 143 public Object getObjectField(PersistenceCapable persistenceCapable, int i, Object o) 144 { 145 return null; 146 } 147 148 public void setBooleanField(PersistenceCapable persistenceCapable, int i, boolean b, boolean b1) 149 { 150 } 151 152 public void setCharField(PersistenceCapable persistenceCapable, int i, char c, char c1) 153 { 154 } 155 156 public void setByteField(PersistenceCapable persistenceCapable, int i, byte b, byte b1) 157 { 158 } 159 160 public void setShortField(PersistenceCapable persistenceCapable, int i, short i1, short i2) 161 { 162 } 163 164 public void setIntField(PersistenceCapable persistenceCapable, int i, int i1, int i2) 165 { 166 } 167 168 public void setLongField(PersistenceCapable persistenceCapable, int i, long l, long l1) 169 { 170 } 171 172 public void setFloatField(PersistenceCapable persistenceCapable, int i, float v, float v1) 173 { 174 } 175 176 public void setDoubleField(PersistenceCapable persistenceCapable, int i, double v, double v1) 177 { 178 } 179 180 public void setStringField(PersistenceCapable persistenceCapable, int i, String s, String s1) 181 { 182 } 183 184 public void setObjectField(PersistenceCapable persistenceCapable, int i, Object o, Object o1) 185 { 186 } 187 188 public void providedBooleanField(PersistenceCapable persistenceCapable, int i, boolean b) 189 { 190 } 191 192 public void providedCharField(PersistenceCapable persistenceCapable, int i, char c) 193 { 194 } 195 196 public void providedByteField(PersistenceCapable persistenceCapable, int i, byte b) 197 { 198 } 199 200 public void providedShortField(PersistenceCapable persistenceCapable, int i, short i1) 201 { 202 } 203 204 public void providedIntField(PersistenceCapable persistenceCapable, int i, int i1) 205 { 206 } 207 208 public void providedLongField(PersistenceCapable persistenceCapable, int i, long l) 209 { 210 } 211 212 public void providedFloatField(PersistenceCapable persistenceCapable, int i, float v) 213 { 214 } 215 216 public void providedDoubleField(PersistenceCapable persistenceCapable, int i, double v) 217 { 218 } 219 220 public void providedStringField(PersistenceCapable persistenceCapable, int i, String s) 221 { 222 } 223 224 public void providedObjectField(PersistenceCapable persistenceCapable, int i, Object o) 225 { 226 } 227 228 public boolean replacingBooleanField(PersistenceCapable persistenceCapable, int i) 229 { 230 return false; 231 } 232 233 public char replacingCharField(PersistenceCapable persistenceCapable, int i) 234 { 235 return 0; 236 } 237 238 public byte replacingByteField(PersistenceCapable persistenceCapable, int i) 239 { 240 return 0; 241 } 242 243 public short replacingShortField(PersistenceCapable persistenceCapable, int i) 244 { 245 return 0; 246 } 247 248 public int replacingIntField(PersistenceCapable persistenceCapable, int i) 249 { 250 return 0; 251 } 252 253 public long replacingLongField(PersistenceCapable persistenceCapable, int i) 254 { 255 return 0; 256 } 257 258 public float replacingFloatField(PersistenceCapable persistenceCapable, int i) 259 { 260 return 0; 261 } 262 263 public double replacingDoubleField(PersistenceCapable persistenceCapable, int i) 264 { 265 return 0; 266 } 267 268 public String replacingStringField(PersistenceCapable persistenceCapable, int i) 269 { 270 return null; 271 } 272 273 public Object replacingObjectField(PersistenceCapable persistenceCapable, int i) 274 { 275 return null; 276 } 277 } 278 | Popular Tags |