1 23 24 package org.objectweb.jorm.api; 25 26 import org.objectweb.jorm.naming.api.PName; 27 import org.objectweb.jorm.type.api.PExceptionTyping; 28 29 import java.io.Serializable ; 30 import java.util.Date ; 31 import java.math.BigDecimal ; 32 import java.math.BigInteger ; 33 34 42 public interface PIndexedElem { 43 47 final static byte ELEM_CREATED = 1; 48 49 54 final static byte ELEM_DELETED = 2; 55 56 61 final static byte ELEM_MODIFIED = 3; 62 63 68 final static byte ELEM_UNMODIFIED = 4; 69 70 80 byte getElemStatus(); 81 82 88 boolean pieGetBooleanElem() throws PException; 89 90 96 Boolean pieGetObooleanElem() throws PException; 97 98 104 byte pieGetByteElem() throws PException; 105 106 112 Byte pieGetObyteElem() throws PException; 113 114 122 byte pieGetByteIndexField(String fn) throws PException; 123 124 132 Byte pieGetObyteIndexField(String fn) throws PException; 133 134 140 char pieGetCharElem() throws PException; 141 142 148 Character pieGetOcharElem() throws PException; 149 150 158 char pieGetCharIndexField(String fn) throws PException; 159 160 168 Character pieGetOcharIndexField(String fn) throws PException; 169 170 176 short pieGetShortElem() throws PException; 177 178 184 Short pieGetOshortElem() throws PException; 185 186 194 short pieGetShortIndexField(String fn) throws PException; 195 196 204 Short pieGetOshortIndexField(String fn) throws PException; 205 206 212 int pieGetIntElem() throws PException; 213 214 220 Integer pieGetOintElem() throws PException; 221 222 230 int pieGetIntIndexField(String fn) throws PException; 231 232 240 Integer pieGetOintIndexField(String fn) throws PException; 241 242 248 long pieGetLongElem() throws PException; 249 250 256 Long pieGetOlongElem() throws PException; 257 258 266 long pieGetLongIndexField(String fn) throws PException; 267 268 276 Long pieGetOlongIndexField(String fn) throws PException; 277 278 284 float pieGetFloatElem() throws PException; 285 286 292 Float pieGetOfloatElem() throws PException; 293 294 300 double pieGetDoubleElem() throws PException; 301 302 308 Double pieGetOdoubleElem() throws PException; 309 310 316 String pieGetStringElem() throws PException; 317 318 326 String pieGetStringIndexField(String fn) throws PException; 327 328 334 Date pieGetDateElem() throws PException; 335 336 344 Date pieGetDateIndexField(String fn) throws PException; 345 346 352 char[] pieGetCharArrayElem() throws PException; 353 354 360 byte[] pieGetByteArrayElem() throws PException; 361 362 368 Serializable pieGetSerializedElem() throws PException; 369 370 376 BigInteger pieGetBigIntegerElem() throws PException; 377 378 384 BigDecimal pieGetBigDecimalElem() throws PException; 385 386 392 PName pieGetRefElem() throws PException; 393 394 399 void pieSetBooleanElem(boolean value) throws PException; 400 401 406 void pieSetObooleanElem(Boolean value) throws PException; 407 408 413 void pieSetByteElem(byte value) throws PException; 414 415 420 void pieSetObyteElem(Byte value) throws PException; 421 422 429 void pieSetByteIndexField(String fn, byte value) throws PException; 430 431 438 void pieSetObyteIndexField(String fn, Byte value) throws PException; 439 440 445 void pieSetCharElem(char value) throws PException; 446 447 452 void pieSetOcharElem(Character value) throws PException; 453 454 461 void pieSetCharIndexField(String fn, char value) throws PException; 462 463 470 void pieSetOcharIndexField(String fn, Character value) throws PException; 471 472 477 void pieSetShortElem(short value) throws PException; 478 479 484 void pieSetOshortElem(Short value) throws PException; 485 486 493 void pieSetShortIndexField(String fn, short value) throws PException; 494 495 502 void pieSetOshortIndexField(String fn, Short value) throws PException; 503 504 509 void pieSetIntElem(int value) throws PException; 510 511 516 void pieSetOintElem(Integer value) throws PException; 517 518 525 void pieSetIntIndexField(String fn, int value) throws PException; 526 527 534 void pieSetOintIndexField(String fn, Integer value) throws PException; 535 536 541 void pieSetLongElem(long value) throws PException; 542 543 548 void pieSetOlongElem(Long value) throws PException; 549 550 557 void pieSetLongIndexField(String fn, long value) throws PException; 558 559 566 void pieSetOlongIndexField(String fn, Long value) throws PException; 567 568 573 void pieSetFloatElem(float value) throws PException; 574 575 580 void pieSetOfloatElem(Float value) throws PException; 581 582 587 void pieSetDoubleElem(double value) throws PException; 588 589 594 void pieSetOdoubleElem(Double value) throws PException; 595 596 601 void pieSetStringElem(String value) throws PException; 602 603 610 void pieSetStringIndexField(String fn, String value) throws PException; 611 612 617 void pieSetDateElem(Date value) throws PException; 618 619 626 void pieSetDateIndexField(String fn, Date value) throws PException; 627 628 633 void pieSetCharArrayElem(char[] value) throws PException; 634 635 640 void pieSetByteArrayElem(byte[] value) throws PException; 641 642 647 void pieSetSerializedElem(Serializable value) throws PException; 648 649 654 void pieSetBigIntegerElem(BigInteger value) throws PException; 655 656 661 void pieSetBigDecimalElem(BigDecimal value) throws PException; 662 663 668 void pieSetRefElem(PName value) throws PException; 669 } 670 | Popular Tags |