1 package org.opencrx.kernel.depot1.cci; 14 15 public class DepotReportItemDebitImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements DepotReportItemDebit { 18 19 public DepotReportItemDebitImpl( 20 org.openmdx.base.accessor.generic.cci.Object_1_0 object, 21 javax.jmi.reflect.RefClass refClass 22 ) { 23 super(object, refClass); 24 } 25 26 public short getAccessLevelBrowse( 30 ) { 31 return getAccessLevelBrowse(0); 32 } 33 34 protected short getAccessLevelBrowse( 35 int index 36 ) { 37 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 38 } 39 40 public void setAccessLevelBrowse( 44 short newValue 45 ) { 46 setAccessLevelBrowse(0, newValue); 47 } 48 49 protected void setAccessLevelBrowse( 50 int index, 51 short newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 54 } 55 public short getAccessLevelDelete( 59 ) { 60 return getAccessLevelDelete(0); 61 } 62 63 protected short getAccessLevelDelete( 64 int index 65 ) { 66 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 67 } 68 69 public void setAccessLevelDelete( 73 short newValue 74 ) { 75 setAccessLevelDelete(0, newValue); 76 } 77 78 protected void setAccessLevelDelete( 79 int index, 80 short newValue 81 ) { 82 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 83 } 84 public short getAccessLevelUpdate( 88 ) { 89 return getAccessLevelUpdate(0); 90 } 91 92 protected short getAccessLevelUpdate( 93 int index 94 ) { 95 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 96 } 97 98 public void setAccessLevelUpdate( 102 short newValue 103 ) { 104 setAccessLevelUpdate(0, newValue); 105 } 106 107 protected void setAccessLevelUpdate( 108 int index, 109 short newValue 110 ) { 111 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 112 } 113 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 117 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 118 ) throws javax.jmi.reflect.RefException { 119 java.util.List args = new java.util.ArrayList (); 120 args.add(params); 121 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 122 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 123 args 124 ); 125 } 126 127 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 128 org.opencrx.security.realm1.cci.PrincipalGroup group 129 , short mode 130 ) throws javax.jmi.reflect.RefException { 131 return addOwningGroup( 132 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 133 group 134 , mode 135 ) 136 ); 137 } 138 139 public java.util.List getOwner ( 143 ) { 144 return (java.util.List )this.refGetValue("owner"); 145 } 146 public String getOwner( 147 int index 148 ) { 149 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 150 } 151 152 protected void setOwner( 156 java.util.List newValue 157 ) { 158 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 159 } 160 161 protected void setOwner( 162 String [] newValue 163 ) { 164 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 165 } 166 167 public void setOwningGroup( 171 java.util.List newValue 172 ) { 173 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 174 } 175 176 public void setOwningGroup( 177 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 178 ) { 179 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 180 } 181 182 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 186 int index 187 ) { 188 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 189 "org:opencrx:kernel:base:SecureObject:owningGroup", 190 new Integer (index) 191 ); 192 } 193 194 public java.util.Collection getOwningGroup( 198 ) { 199 return (java.util.Collection )refGetValue( 200 "org:opencrx:kernel:base:SecureObject:owningGroup" 201 ); 202 } 203 204 public void addOwningGroup ( 208 int index, 209 org.opencrx.security.realm1.cci.PrincipalGroup newValue 210 ) { 211 refAddValue( 212 "org:opencrx:kernel:base:SecureObject:owningGroup", 213 new Integer (index), 214 newValue 215 ); 216 } 217 218 public void addOwningGroup ( 222 org.opencrx.security.realm1.cci.PrincipalGroup newValue 223 ) { 224 refAddValue( 225 "org:opencrx:kernel:base:SecureObject:owningGroup", 226 newValue 227 ); 228 } 229 230 public void removeOwningGroup ( 234 int index 235 ) { 236 refRemoveValue( 237 "org:opencrx:kernel:base:SecureObject:owningGroup", 238 new Integer (index) 239 ); 240 } 241 242 public org.opencrx.security.realm1.cci.User getOwningUser( 246 ) { 247 return (org.opencrx.security.realm1.cci.User)refGetValue( 248 "org:opencrx:kernel:base:SecureObject:owningUser" 249 ); 250 } 251 252 public void setOwningUser( 256 org.opencrx.security.realm1.cci.User newValue 257 ) { 258 refSetValue( 259 "org:opencrx:kernel:base:SecureObject:owningUser", 260 newValue 261 ); 262 } 263 264 public void removeOwningUser ( 268 ) { 269 refRemoveValue( 270 "org:opencrx:kernel:base:SecureObject:owningUser" 271 ); 272 } 273 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 277 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 278 ) throws javax.jmi.reflect.RefException { 279 java.util.List args = new java.util.ArrayList (); 280 args.add(params); 281 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 282 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 283 args 284 ); 285 } 286 287 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 288 short mode 289 ) throws javax.jmi.reflect.RefException { 290 return removeAllOwningGroup( 291 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 292 mode 293 ) 294 ); 295 } 296 297 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 301 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 302 ) throws javax.jmi.reflect.RefException { 303 java.util.List args = new java.util.ArrayList (); 304 args.add(params); 305 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 306 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 307 args 308 ); 309 } 310 311 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 312 org.opencrx.security.realm1.cci.PrincipalGroup group 313 , short mode 314 ) throws javax.jmi.reflect.RefException { 315 return removeOwningGroup( 316 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 317 group 318 , mode 319 ) 320 ); 321 } 322 323 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 327 org.opencrx.kernel.base.cci.SetAccessLevelParams params 328 ) throws javax.jmi.reflect.RefException { 329 java.util.List args = new java.util.ArrayList (); 330 args.add(params); 331 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 332 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 333 args 334 ); 335 } 336 337 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 338 short accessLevelBrowse 339 , short accessLevelDelete 340 , short accessLevelUpdate 341 , short mode 342 ) throws javax.jmi.reflect.RefException { 343 return setAccessLevel( 344 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 345 accessLevelBrowse 346 , accessLevelDelete 347 , accessLevelUpdate 348 , mode 349 ) 350 ); 351 } 352 353 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 357 org.opencrx.kernel.base.cci.SetOwningUserParams params 358 ) throws javax.jmi.reflect.RefException { 359 java.util.List args = new java.util.ArrayList (); 360 args.add(params); 361 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 362 "org:opencrx:kernel:base:SecureObject:setOwningUser", 363 args 364 ); 365 } 366 367 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 368 short mode 369 , org.opencrx.security.realm1.cci.User user 370 ) throws javax.jmi.reflect.RefException { 371 return setOwningUser( 372 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 373 mode 374 , user 375 ) 376 ); 377 } 378 379 public org.opencrx.kernel.depot1.cci.DepotPosition getPosition( 383 ) { 384 return (org.opencrx.kernel.depot1.cci.DepotPosition)refGetValue( 385 "org:opencrx:kernel:depot1:DepotReportItem:position" 386 ); 387 } 388 389 public void setPosition( 393 org.opencrx.kernel.depot1.cci.DepotPosition newValue 394 ) { 395 refSetValue( 396 "org:opencrx:kernel:depot1:DepotReportItem:position", 397 newValue 398 ); 399 } 400 401 public void removePosition ( 405 ) { 406 refRemoveValue( 407 "org:opencrx:kernel:depot1:DepotReportItem:position" 408 ); 409 } 410 public String getPositionName( 414 ) { 415 return getPositionName(0); 416 } 417 418 protected String getPositionName( 419 int index 420 ) { 421 return (String )this.refGetValue("org:opencrx:kernel:depot1:DepotReportItem:positionName", index); 422 } 423 424 public void setPositionName( 428 String newValue 429 ) { 430 setPositionName(0, newValue); 431 } 432 433 protected void setPositionName( 434 int index, 435 String newValue 436 ) { 437 refSetValue("org:opencrx:kernel:depot1:DepotReportItem:positionName", index, newValue); 438 } 439 public java.util.Date getValueDate( 443 ) { 444 return getValueDate(0); 445 } 446 447 protected java.util.Date getValueDate( 448 int index 449 ) { 450 return (java.util.Date )this.refGetValue("org:opencrx:kernel:depot1:DepotReportItem:valueDate", index); 451 } 452 453 public void setValueDate( 457 java.util.Date newValue 458 ) { 459 setValueDate(0, newValue); 460 } 461 462 protected void setValueDate( 463 int index, 464 java.util.Date newValue 465 ) { 466 refSetValue("org:opencrx:kernel:depot1:DepotReportItem:valueDate", index, newValue); 467 } 468 public java.math.BigDecimal getBalance( 472 ) { 473 return getBalance(0); 474 } 475 476 protected java.math.BigDecimal getBalance( 477 int index 478 ) { 479 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:depot1:DepotReportItemBooking:balance", index); 480 } 481 482 public void setBalance( 486 java.math.BigDecimal newValue 487 ) { 488 setBalance(0, newValue); 489 } 490 491 protected void setBalance( 492 int index, 493 java.math.BigDecimal newValue 494 ) { 495 refSetValue("org:opencrx:kernel:depot1:DepotReportItemBooking:balance", index, newValue); 496 } 497 public java.math.BigDecimal getBalanceCredit( 501 ) { 502 return getBalanceCredit(0); 503 } 504 505 protected java.math.BigDecimal getBalanceCredit( 506 int index 507 ) { 508 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:depot1:DepotReportItemBooking:balanceCredit", index); 509 } 510 511 public void setBalanceCredit( 515 java.math.BigDecimal newValue 516 ) { 517 setBalanceCredit(0, newValue); 518 } 519 520 protected void setBalanceCredit( 521 int index, 522 java.math.BigDecimal newValue 523 ) { 524 refSetValue("org:opencrx:kernel:depot1:DepotReportItemBooking:balanceCredit", index, newValue); 525 } 526 public java.math.BigDecimal getBalanceDebit( 530 ) { 531 return getBalanceDebit(0); 532 } 533 534 protected java.math.BigDecimal getBalanceDebit( 535 int index 536 ) { 537 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:depot1:DepotReportItemBooking:balanceDebit", index); 538 } 539 540 public void setBalanceDebit( 544 java.math.BigDecimal newValue 545 ) { 546 setBalanceDebit(0, newValue); 547 } 548 549 protected void setBalanceDebit( 550 int index, 551 java.math.BigDecimal newValue 552 ) { 553 refSetValue("org:opencrx:kernel:depot1:DepotReportItemBooking:balanceDebit", index, newValue); 554 } 555 public org.opencrx.kernel.depot1.cci.Booking getBooking( 559 ) { 560 return (org.opencrx.kernel.depot1.cci.Booking)refGetValue( 561 "org:opencrx:kernel:depot1:DepotReportItemBooking:booking" 562 ); 563 } 564 565 public void setBooking( 569 org.opencrx.kernel.depot1.cci.Booking newValue 570 ) { 571 refSetValue( 572 "org:opencrx:kernel:depot1:DepotReportItemBooking:booking", 573 newValue 574 ); 575 } 576 577 public void removeBooking ( 581 ) { 582 refRemoveValue( 583 "org:opencrx:kernel:depot1:DepotReportItemBooking:booking" 584 ); 585 } 586 public java.util.Date getBookingDate( 590 ) { 591 return getBookingDate(0); 592 } 593 594 protected java.util.Date getBookingDate( 595 int index 596 ) { 597 return (java.util.Date )this.refGetValue("org:opencrx:kernel:depot1:DepotReportItemBooking:bookingDate", index); 598 } 599 600 public void setBookingDate( 604 java.util.Date newValue 605 ) { 606 setBookingDate(0, newValue); 607 } 608 609 protected void setBookingDate( 610 int index, 611 java.util.Date newValue 612 ) { 613 refSetValue("org:opencrx:kernel:depot1:DepotReportItemBooking:bookingDate", index, newValue); 614 } 615 public org.opencrx.kernel.depot1.cci.CompoundBooking getCb( 619 ) { 620 return (org.opencrx.kernel.depot1.cci.CompoundBooking)refGetValue( 621 "org:opencrx:kernel:depot1:DepotReportItemBooking:cb" 622 ); 623 } 624 625 public void setCb( 629 org.opencrx.kernel.depot1.cci.CompoundBooking newValue 630 ) { 631 refSetValue( 632 "org:opencrx:kernel:depot1:DepotReportItemBooking:cb", 633 newValue 634 ); 635 } 636 637 public void removeCb ( 641 ) { 642 refRemoveValue( 643 "org:opencrx:kernel:depot1:DepotReportItemBooking:cb" 644 ); 645 } 646 public java.math.BigDecimal getQuantityDebit( 650 ) { 651 return getQuantityDebit(0); 652 } 653 654 protected java.math.BigDecimal getQuantityDebit( 655 int index 656 ) { 657 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:depot1:DepotReportItemDebit:quantityDebit", index); 658 } 659 660 public void setQuantityDebit( 664 java.math.BigDecimal newValue 665 ) { 666 setQuantityDebit(0, newValue); 667 } 668 669 protected void setQuantityDebit( 670 int index, 671 java.math.BigDecimal newValue 672 ) { 673 refSetValue("org:opencrx:kernel:depot1:DepotReportItemDebit:quantityDebit", index, newValue); 674 } 675 public java.util.Date getCreatedAt( 679 ) { 680 return getCreatedAt(0); 681 } 682 683 protected java.util.Date getCreatedAt( 684 int index 685 ) { 686 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 687 } 688 689 protected void setCreatedAt( 693 java.util.Date newValue 694 ) { 695 setCreatedAt(0, newValue); 696 } 697 698 protected void setCreatedAt( 699 int index, 700 java.util.Date newValue 701 ) { 702 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 703 } 704 public java.util.Set getCreatedBy ( 708 ) { 709 return (java.util.Set )this.refGetValue("createdBy"); 710 } 711 protected void setCreatedBy( 715 java.util.Set newValue 716 ) { 717 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 718 } 719 720 protected void setCreatedBy( 721 String [] newValue 722 ) { 723 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 724 } 725 726 public java.util.Date getModifiedAt( 730 ) { 731 return getModifiedAt(0); 732 } 733 734 protected java.util.Date getModifiedAt( 735 int index 736 ) { 737 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 738 } 739 740 protected void setModifiedAt( 744 java.util.Date newValue 745 ) { 746 setModifiedAt(0, newValue); 747 } 748 749 protected void setModifiedAt( 750 int index, 751 java.util.Date newValue 752 ) { 753 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 754 } 755 public java.util.Set getModifiedBy ( 759 ) { 760 return (java.util.Set )this.refGetValue("modifiedBy"); 761 } 762 protected void setModifiedBy( 766 java.util.Set newValue 767 ) { 768 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 769 } 770 771 protected void setModifiedBy( 772 String [] newValue 773 ) { 774 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 775 } 776 777 protected void setContext( 781 java.util.List newValue 782 ) { 783 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 784 } 785 786 protected void setContext( 787 org.openmdx.base.cci.Context[] newValue 788 ) { 789 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 790 } 791 792 public org.openmdx.base.cci.Context getContext( 796 String id 797 ) { 798 return (org.openmdx.base.cci.Context)refGetValue( 799 "org:openmdx:base:ContextCapable:context", 800 id 801 ); 802 } 803 804 public java.util.Collection getContext( 808 ) { 809 return (java.util.Collection )refGetValue( 810 "org:openmdx:base:ContextCapable:context" 811 ); 812 } 813 814 protected void addContext ( 818 String id, 819 org.openmdx.base.cci.Context newValue 820 ) { 821 refAddValue( 822 "org:openmdx:base:ContextCapable:context", 823 id, 824 newValue 825 ); 826 } 827 828 protected void addContext ( 832 org.openmdx.base.cci.Context newValue 833 ) { 834 refAddValue( 835 "org:openmdx:base:ContextCapable:context", 836 newValue 837 ); 838 } 839 840 protected void removeContext ( 844 String id 845 ) { 846 refRemoveValue( 847 "org:openmdx:base:ContextCapable:context", 848 id 849 ); 850 } 851 852 public String getIdentity( 856 ) { 857 return getIdentity(0); 858 } 859 860 protected String getIdentity( 861 int index 862 ) { 863 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 864 } 865 866 protected void setIdentity( 870 String newValue 871 ) { 872 setIdentity(0, newValue); 873 } 874 875 protected void setIdentity( 876 int index, 877 String newValue 878 ) { 879 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 880 } 881 protected void setView( 885 java.util.List newValue 886 ) { 887 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 888 } 889 890 protected void setView( 891 org.openmdx.compatibility.view1.cci.View[] newValue 892 ) { 893 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 894 } 895 896 public org.openmdx.compatibility.view1.cci.View getView( 900 String namespace 901 ) { 902 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 903 "org:openmdx:compatibility:view1:ViewCapable:view", 904 namespace 905 ); 906 } 907 908 public java.util.Collection getView( 912 ) { 913 return (java.util.Collection )refGetValue( 914 "org:openmdx:compatibility:view1:ViewCapable:view" 915 ); 916 } 917 918 public java.util.List getView( 919 org.openmdx.compatibility.view1.cci.ViewFilter filter 920 ) { 921 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 922 "org:openmdx:compatibility:view1:ViewCapable:view" 923 )).toList(filter); 924 } 925 926 protected void addView ( 930 String namespace, 931 org.openmdx.compatibility.view1.cci.View newValue 932 ) { 933 refAddValue( 934 "org:openmdx:compatibility:view1:ViewCapable:view", 935 namespace, 936 newValue 937 ); 938 } 939 940 protected void addView ( 944 org.openmdx.compatibility.view1.cci.View newValue 945 ) { 946 refAddValue( 947 "org:openmdx:compatibility:view1:ViewCapable:view", 948 newValue 949 ); 950 } 951 952 protected void removeView ( 956 String namespace 957 ) { 958 refRemoveValue( 959 "org:openmdx:compatibility:view1:ViewCapable:view", 960 namespace 961 ); 962 } 963 964 } 968 | Popular Tags |