1 23 24 package org.objectweb.jorm.runtime.basictype; 25 26 import org.objectweb.jorm.pobject.basictype.AllTypesAccessor; 27 import org.objectweb.jorm.api.PException; 28 29 import java.util.Date ; 30 import java.io.Serializable ; 31 32 36 public class AllTypesAcc implements AllTypesAccessor { 37 38 39 public boolean booleanValue1 = true; 40 public boolean booleanValue2 = true; 41 public byte byteValue1 = 0; 42 public byte byteValue2 = 0; 43 public char charValue1 = '0'; 44 public char charValue2 = '0'; 45 public short shortValue1 = 0; 46 public short shortValue2 = 0; 47 public int intValue1 = 0; 48 public int intValue2 = 0; 49 public long longValue1 = 0; 50 public long longValue2 = 0; 51 public float floatValue1 = (float) 0.0; 52 public float floatValue2 = (float) 0.0; 53 public double doubleValue1 = 0.0; 54 public double doubleValue2 = 0.0; 55 56 public Boolean obooleanValue1 = null; 57 public Boolean obooleanValue2 = null; 58 public Byte obyteValue1 = null; 59 public Byte obyteValue2 = null; 60 public Character ocharValue1 = null; 61 public Character ocharValue2 = null; 62 public Short oshortValue1 = null; 63 public Short oshortValue2 = null; 64 public Integer ointValue1 = null; 65 public Integer ointValue2 = null; 66 public Long olongValue1 = null; 67 public Long olongValue2 = null; 68 public Float ofloatValue1 = null; 69 public Float ofloatValue2 = null; 70 public Double odoubleValue1 = null; 71 public Double odoubleValue2 = null; 72 73 public String stringValue1 = null; 74 public String stringValue2 = null; 75 public Date dateValue1 = null; 76 public Date dateValue2 = null; 77 public Serializable serializedValue1 = null; 78 public Serializable serializedValue2 = null; 79 public byte[] bytearrayValue1 = null; 80 public byte[] bytearrayValue2 = null; 81 public char[] chararrayValue1 = null; 82 public char[] chararrayValue2 = null; 83 84 public void paSetShortValue2(short val) throws PException { 86 shortValue2 = val; 87 } 88 89 public short paGetShortValue2() throws PException { 90 return shortValue2; 91 } 92 93 public void paSetLongValue2(long val) throws PException { 95 longValue2 = val; 96 } 97 98 public long paGetLongValue2() throws PException { 99 return longValue2; 100 } 101 102 public void paSetShortValue1(short val) throws PException { 104 shortValue1= val; 105 } 106 107 public short paGetShortValue1() throws PException { 108 return shortValue1; 109 } 110 111 public void paSetLongValue1(long val) throws PException { 113 longValue1 = val; 114 } 115 116 public long paGetLongValue1() throws PException { 117 return longValue1; 118 } 119 120 public void paSetObyteValue2(Byte val) throws PException { 122 obyteValue2 = val; 123 } 124 125 public Byte paGetObyteValue2() throws PException { 126 return obyteValue2; 127 } 128 129 public void paSetObyteValue1(Byte val) throws PException { 131 obyteValue1 = val; 132 } 133 134 public Byte paGetObyteValue1() throws PException { 135 return obyteValue1; 136 } 137 138 public void paSetIntValue2(int val) throws PException { 140 intValue2 = val; 141 } 142 143 public int paGetIntValue2() throws PException { 144 return intValue2; 145 } 146 147 public void paSetIntValue1(int val) throws PException { 149 intValue1 = val; 150 } 151 152 public int paGetIntValue1() throws PException { 153 return intValue1; 154 } 155 156 public void paSetDateValue2(Date val) throws PException { 158 dateValue2 = val; 159 } 160 161 public Date paGetDateValue2() throws PException { 162 return dateValue2; 163 } 164 165 public void paSetOshortValue2(Short val) throws PException { 167 oshortValue2 = val; 168 } 169 170 public Short paGetOshortValue2() throws PException { 171 return oshortValue2; 172 } 173 174 public void paSetDateValue1(Date val) throws PException { 176 dateValue1 = val; 177 } 178 179 public Date paGetDateValue1() throws PException { 180 return dateValue1; 181 } 182 183 public void paSetOshortValue1(Short val) throws PException { 185 oshortValue1 = val; 186 } 187 188 public Short paGetOshortValue1() throws PException { 189 return oshortValue1; 190 } 191 192 public void paSetOlongValue2(Long val) throws PException { 194 olongValue2 = val; 195 } 196 197 public Long paGetOlongValue2() throws PException { 198 return olongValue2; 199 } 200 201 public void paSetOlongValue1(Long val) throws PException { 203 olongValue1 = val; 204 } 205 206 public Long paGetOlongValue1() throws PException { 207 return olongValue1; 208 } 209 210 public void paSetBooleanValue2(boolean val) throws PException { 212 booleanValue2 = val; 213 } 214 215 public boolean paGetBooleanValue2() throws PException { 216 return booleanValue2; 217 } 218 219 public void paSetBooleanValue1(boolean val) throws PException { 221 booleanValue1 = val; 222 } 223 224 public boolean paGetBooleanValue1() throws PException { 225 return booleanValue1; 226 } 227 228 public void paSetOintValue2(Integer val) throws PException { 230 ointValue2 = val; 231 } 232 233 public Integer paGetOintValue2() throws PException { 234 return ointValue2; 235 } 236 237 public void paSetOintValue1(Integer val) throws PException { 239 ointValue1 = val; 240 } 241 242 public Integer paGetOintValue1() throws PException { 243 return ointValue1; 244 } 245 246 public void paSetFloatValue2(float val) throws PException { 248 floatValue2 = val; 249 } 250 251 public float paGetFloatValue2() throws PException { 252 return floatValue2; 253 } 254 255 public void paSetFloatValue1(float val) throws PException { 257 floatValue1 = val; 258 } 259 260 public float paGetFloatValue1() throws PException { 261 return floatValue1; 262 } 263 264 public void paSetObooleanValue2(Boolean val) throws PException { 266 obooleanValue2 = val; 267 } 268 269 public Boolean paGetObooleanValue2() throws PException { 270 return obooleanValue2; 271 } 272 273 public void paSetObooleanValue1(Boolean val) throws PException { 275 obooleanValue1 = val; 276 } 277 278 public Boolean paGetObooleanValue1() throws PException { 279 return obooleanValue1; 280 } 281 282 public void paSetCharValue2(char val) throws PException { 284 charValue2 = val; 285 } 286 287 public char paGetCharValue2() throws PException { 288 return charValue2; 289 } 290 291 public void paSetCharValue1(char val) throws PException { 293 charValue1 = val; 294 } 295 296 public char paGetCharValue1() throws PException { 297 return charValue1; 298 } 299 300 public void paSetStringValue2(String val) throws PException { 302 stringValue2 = val; 303 } 304 305 public String paGetStringValue2() throws PException { 306 return stringValue2; 307 } 308 309 public void paSetDoubleValue2(double val) throws PException { 311 doubleValue2 = val; 312 } 313 314 public double paGetDoubleValue2() throws PException { 315 return doubleValue2; 316 } 317 318 public void paSetBytearrayValue2(byte[] val) throws PException { 320 bytearrayValue2 = val; 321 } 322 323 public byte[] paGetBytearrayValue2() throws PException { 324 return bytearrayValue2; 325 } 326 327 public void paSetStringValue1(String val) throws PException { 329 stringValue1 = val; 330 } 331 332 public String paGetStringValue1() throws PException { 333 return stringValue1; 334 } 335 336 public void paSetDoubleValue1(double val) throws PException { 338 doubleValue1 = val; 339 } 340 341 public double paGetDoubleValue1() throws PException { 342 return doubleValue1; 343 } 344 345 public void paSetBytearrayValue1(byte[] val) throws PException { 347 bytearrayValue1 = val; 348 } 349 350 public byte[] paGetBytearrayValue1() throws PException { 351 return bytearrayValue1; 352 } 353 354 public void paSetOfloatValue2(Float val) throws PException { 356 ofloatValue2 = val; 357 } 358 359 public Float paGetOfloatValue2() throws PException { 360 return ofloatValue2; 361 } 362 363 public void paSetOfloatValue1(Float val) throws PException { 365 ofloatValue1 = val; 366 } 367 368 public Float paGetOfloatValue1() throws PException { 369 return ofloatValue1; 370 } 371 372 public void paSetByteValue2(byte val) throws PException { 374 byteValue2 = val; 375 } 376 377 public byte paGetByteValue2() throws PException { 378 return byteValue2; 379 } 380 381 public void paSetByteValue1(byte val) throws PException { 383 byteValue1 = val; 384 } 385 386 public byte paGetByteValue1() throws PException { 387 return byteValue1; 388 } 389 390 public void paSetOcharValue2(Character val) throws PException { 392 ocharValue2 = val; 393 } 394 395 public Character paGetOcharValue2() throws PException { 396 return ocharValue2; 397 } 398 399 public void paSetSerializedValue2(Serializable val) throws PException { 401 serializedValue2 = val; 402 } 403 404 public Serializable paGetSerializedValue2() throws PException { 405 return serializedValue2; 406 } 407 408 public void paSetOcharValue1(Character val) throws PException { 410 ocharValue1 = val; 411 } 412 413 public Character paGetOcharValue1() throws PException { 414 return ocharValue1; 415 } 416 417 public void paSetSerializedValue1(Serializable val) throws PException { 419 serializedValue1 = val; 420 } 421 422 public Serializable paGetSerializedValue1() throws PException { 423 return serializedValue1; 424 } 425 426 public void paSetChararrayValue2(char[] val) throws PException { 428 chararrayValue2 = val; 429 } 430 431 public char[] paGetChararrayValue2() throws PException { 432 return chararrayValue2; 433 } 434 435 public void paSetChararrayValue1(char[] val) throws PException { 437 chararrayValue1 = val; 438 } 439 440 public char[] paGetChararrayValue1() throws PException { 441 return chararrayValue1; 442 } 443 444 public void paSetOdoubleValue2(Double val) throws PException { 446 odoubleValue2 = val; 447 } 448 449 public Double paGetOdoubleValue2() throws PException { 450 return odoubleValue2; 451 } 452 453 public void paSetOdoubleValue1(Double val) throws PException { 455 odoubleValue1 = val; 456 } 457 458 public Double paGetOdoubleValue1() throws PException { 459 return odoubleValue1; 460 } 461 462 public Object getMemoryInstance() { 463 return this; 464 } 465 466 } 467 | Popular Tags |