1 package org.opencrx.kernel.contract1.cci; 14 15 public class AbstractContractImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements AbstractContract { 18 19 public AbstractContractImpl( 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 org.openmdx.base.cci.Void assignToMe( 30 org.openmdx.base.cci.Void params 31 ) throws javax.jmi.reflect.RefException { 32 java.util.List args = new java.util.ArrayList (); 33 args.add(params); 34 return (org.openmdx.base.cci.Void)refInvokeOperation( 35 "org:opencrx:kernel:base:Assignable:assignToMe", 36 args 37 ); 38 } 39 40 public org.openmdx.base.cci.Void assignToMe( 41 ) throws javax.jmi.reflect.RefException { 42 return assignToMe( 43 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 44 ) 45 ); 46 } 47 48 public org.opencrx.kernel.base.cci.TemplateApplyReplacementsResult applyReplacements( 52 org.openmdx.base.cci.Void params 53 ) throws javax.jmi.reflect.RefException { 54 java.util.List args = new java.util.ArrayList (); 55 args.add(params); 56 return (org.opencrx.kernel.base.cci.TemplateApplyReplacementsResult)refInvokeOperation( 57 "org:opencrx:kernel:base:TemplateEnabled:applyReplacements", 58 args 59 ); 60 } 61 62 public org.opencrx.kernel.base.cci.TemplateApplyReplacementsResult applyReplacements( 63 ) throws javax.jmi.reflect.RefException { 64 return applyReplacements( 65 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 66 ) 67 ); 68 } 69 70 public org.opencrx.kernel.base.cci.TemplateCreateObjectResult createObject( 74 org.opencrx.kernel.base.cci.TemplateCreateObjectParams params 75 ) throws javax.jmi.reflect.RefException { 76 java.util.List args = new java.util.ArrayList (); 77 args.add(params); 78 return (org.opencrx.kernel.base.cci.TemplateCreateObjectResult)refInvokeOperation( 79 "org:opencrx:kernel:base:TemplateEnabled:createObject", 80 args 81 ); 82 } 83 84 public org.opencrx.kernel.base.cci.TemplateCreateObjectResult createObject( 85 String name 86 ) throws javax.jmi.reflect.RefException { 87 return createObject( 88 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createTemplateCreateObjectParams( 89 name 90 ) 91 ); 92 } 93 94 public org.openmdx.base.cci.Void deleteObject( 98 org.openmdx.base.cci.Void params 99 ) throws javax.jmi.reflect.RefException { 100 java.util.List args = new java.util.ArrayList (); 101 args.add(params); 102 return (org.openmdx.base.cci.Void)refInvokeOperation( 103 "org:opencrx:kernel:base:TemplateEnabled:deleteObject", 104 args 105 ); 106 } 107 108 public org.openmdx.base.cci.Void deleteObject( 109 ) throws javax.jmi.reflect.RefException { 110 return deleteObject( 111 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 112 ) 113 ); 114 } 115 116 public Boolean isTemplate ( 120 ) { 121 return (Boolean )this.refGetValue("isTemplate", 0); 122 } 123 public void setTemplate( 127 Boolean newValue 128 ) { 129 refSetValue("org:opencrx:kernel:base:TemplateEnabled:isTemplate", 0, newValue); 130 } 131 132 public void setReplacement( 136 java.util.List newValue 137 ) { 138 refSetValue("org:opencrx:kernel:base:TemplateEnabled:replacement", newValue); 139 } 140 141 public void setReplacement( 142 org.opencrx.kernel.base.cci.TemplateReplacement[] newValue 143 ) { 144 refSetValue("org:opencrx:kernel:base:TemplateEnabled:replacement", newValue); 145 } 146 147 public org.opencrx.kernel.base.cci.TemplateReplacement getReplacement( 151 String id 152 ) { 153 return (org.opencrx.kernel.base.cci.TemplateReplacement)refGetValue( 154 "org:opencrx:kernel:base:TemplateEnabled:replacement", 155 id 156 ); 157 } 158 159 public java.util.Collection getReplacement( 163 ) { 164 return (java.util.Collection )refGetValue( 165 "org:opencrx:kernel:base:TemplateEnabled:replacement" 166 ); 167 } 168 169 public java.util.List getReplacement( 170 org.opencrx.kernel.base.cci.TemplateReplacementFilter filter 171 ) { 172 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 173 "org:opencrx:kernel:base:TemplateEnabled:replacement" 174 )).toList(filter); 175 } 176 177 public void addReplacement ( 181 String id, 182 org.opencrx.kernel.base.cci.TemplateReplacement newValue 183 ) { 184 refAddValue( 185 "org:opencrx:kernel:base:TemplateEnabled:replacement", 186 id, 187 newValue 188 ); 189 } 190 191 public void addReplacement ( 195 org.opencrx.kernel.base.cci.TemplateReplacement newValue 196 ) { 197 refAddValue( 198 "org:opencrx:kernel:base:TemplateEnabled:replacement", 199 newValue 200 ); 201 } 202 203 public void removeReplacement ( 207 String id 208 ) { 209 refRemoveValue( 210 "org:opencrx:kernel:base:TemplateEnabled:replacement", 211 id 212 ); 213 } 214 215 public String getTemplateReferenceFilter( 219 ) { 220 return getTemplateReferenceFilter(0); 221 } 222 223 protected String getTemplateReferenceFilter( 224 int index 225 ) { 226 return (String )this.refGetValue("org:opencrx:kernel:base:TemplateEnabled:templateReferenceFilter", index); 227 } 228 229 public void setTemplateReferenceFilter( 233 String newValue 234 ) { 235 setTemplateReferenceFilter(0, newValue); 236 } 237 238 protected void setTemplateReferenceFilter( 239 int index, 240 String newValue 241 ) { 242 refSetValue("org:opencrx:kernel:base:TemplateEnabled:templateReferenceFilter", index, newValue); 243 } 244 public java.util.Date getActiveOn ( 248 ) { 249 return (java.util.Date )this.refGetValue("activeOn", 0); 250 } 251 public void setActiveOn( 255 java.util.Date newValue 256 ) { 257 refSetValue("org:opencrx:kernel:contract1:AbstractContract:activeOn", 0, newValue); 258 } 259 260 public void setActivity( 264 java.util.List newValue 265 ) { 266 refSetValue("org:opencrx:kernel:contract1:AbstractContract:activity", newValue); 267 } 268 269 public void setActivity( 270 org.opencrx.kernel.activity1.cci.Activity[] newValue 271 ) { 272 refSetValue("org:opencrx:kernel:contract1:AbstractContract:activity", newValue); 273 } 274 275 public org.opencrx.kernel.activity1.cci.Activity getActivity( 279 int index 280 ) { 281 return (org.opencrx.kernel.activity1.cci.Activity)refGetValue( 282 "org:opencrx:kernel:contract1:AbstractContract:activity", 283 new Integer (index) 284 ); 285 } 286 287 public java.util.Collection getActivity( 291 ) { 292 return (java.util.Collection )refGetValue( 293 "org:opencrx:kernel:contract1:AbstractContract:activity" 294 ); 295 } 296 297 public void addActivity ( 301 int index, 302 org.opencrx.kernel.activity1.cci.Activity newValue 303 ) { 304 refAddValue( 305 "org:opencrx:kernel:contract1:AbstractContract:activity", 306 new Integer (index), 307 newValue 308 ); 309 } 310 311 public void addActivity ( 315 org.opencrx.kernel.activity1.cci.Activity newValue 316 ) { 317 refAddValue( 318 "org:opencrx:kernel:contract1:AbstractContract:activity", 319 newValue 320 ); 321 } 322 323 public void removeActivity ( 327 int index 328 ) { 329 refRemoveValue( 330 "org:opencrx:kernel:contract1:AbstractContract:activity", 331 new Integer (index) 332 ); 333 } 334 335 public org.opencrx.kernel.account1.cci.Account getBroker( 339 ) { 340 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 341 "org:opencrx:kernel:contract1:AbstractContract:broker" 342 ); 343 } 344 345 public void setBroker( 349 org.opencrx.kernel.account1.cci.Account newValue 350 ) { 351 refSetValue( 352 "org:opencrx:kernel:contract1:AbstractContract:broker", 353 newValue 354 ); 355 } 356 357 public void removeBroker ( 361 ) { 362 refRemoveValue( 363 "org:opencrx:kernel:contract1:AbstractContract:broker" 364 ); 365 } 366 public org.openmdx.base.cci.Void cancelInventoryUpdate( 370 org.openmdx.base.cci.Void params 371 ) throws javax.jmi.reflect.RefException { 372 java.util.List args = new java.util.ArrayList (); 373 args.add(params); 374 return (org.openmdx.base.cci.Void)refInvokeOperation( 375 "org:opencrx:kernel:contract1:AbstractContract:cancelInventoryUpdate", 376 args 377 ); 378 } 379 380 public org.openmdx.base.cci.Void cancelInventoryUpdate( 381 ) throws javax.jmi.reflect.RefException { 382 return cancelInventoryUpdate( 383 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 384 ) 385 ); 386 } 387 388 public java.util.Date getCancelOn ( 392 ) { 393 return (java.util.Date )this.refGetValue("cancelOn", 0); 394 } 395 public void setCancelOn( 399 java.util.Date newValue 400 ) { 401 refSetValue("org:opencrx:kernel:contract1:AbstractContract:cancelOn", 0, newValue); 402 } 403 404 public java.util.Date getClosedOn ( 408 ) { 409 return (java.util.Date )this.refGetValue("closedOn", 0); 410 } 411 public void setClosedOn( 415 java.util.Date newValue 416 ) { 417 refSetValue("org:opencrx:kernel:contract1:AbstractContract:closedOn", 0, newValue); 418 } 419 420 public void setCompetitor( 424 java.util.List newValue 425 ) { 426 refSetValue("org:opencrx:kernel:contract1:AbstractContract:competitor", newValue); 427 } 428 429 public void setCompetitor( 430 org.opencrx.kernel.account1.cci.Competitor[] newValue 431 ) { 432 refSetValue("org:opencrx:kernel:contract1:AbstractContract:competitor", newValue); 433 } 434 435 public org.opencrx.kernel.account1.cci.Competitor getCompetitor( 439 int index 440 ) { 441 return (org.opencrx.kernel.account1.cci.Competitor)refGetValue( 442 "org:opencrx:kernel:contract1:AbstractContract:competitor", 443 new Integer (index) 444 ); 445 } 446 447 public java.util.Collection getCompetitor( 451 ) { 452 return (java.util.Collection )refGetValue( 453 "org:opencrx:kernel:contract1:AbstractContract:competitor" 454 ); 455 } 456 457 public void addCompetitor ( 461 int index, 462 org.opencrx.kernel.account1.cci.Competitor newValue 463 ) { 464 refAddValue( 465 "org:opencrx:kernel:contract1:AbstractContract:competitor", 466 new Integer (index), 467 newValue 468 ); 469 } 470 471 public void addCompetitor ( 475 org.opencrx.kernel.account1.cci.Competitor newValue 476 ) { 477 refAddValue( 478 "org:opencrx:kernel:contract1:AbstractContract:competitor", 479 newValue 480 ); 481 } 482 483 public void removeCompetitor ( 487 int index 488 ) { 489 refRemoveValue( 490 "org:opencrx:kernel:contract1:AbstractContract:competitor", 491 new Integer (index) 492 ); 493 } 494 495 public void setContact( 499 java.util.List newValue 500 ) { 501 refSetValue("org:opencrx:kernel:contract1:AbstractContract:contact", newValue); 502 } 503 504 public void setContact( 505 org.opencrx.kernel.account1.cci.Contact[] newValue 506 ) { 507 refSetValue("org:opencrx:kernel:contract1:AbstractContract:contact", newValue); 508 } 509 510 public org.opencrx.kernel.account1.cci.Contact getContact( 514 int index 515 ) { 516 return (org.opencrx.kernel.account1.cci.Contact)refGetValue( 517 "org:opencrx:kernel:contract1:AbstractContract:contact", 518 new Integer (index) 519 ); 520 } 521 522 public java.util.Collection getContact( 526 ) { 527 return (java.util.Collection )refGetValue( 528 "org:opencrx:kernel:contract1:AbstractContract:contact" 529 ); 530 } 531 532 public void addContact ( 536 int index, 537 org.opencrx.kernel.account1.cci.Contact newValue 538 ) { 539 refAddValue( 540 "org:opencrx:kernel:contract1:AbstractContract:contact", 541 new Integer (index), 542 newValue 543 ); 544 } 545 546 public void addContact ( 550 org.opencrx.kernel.account1.cci.Contact newValue 551 ) { 552 refAddValue( 553 "org:opencrx:kernel:contract1:AbstractContract:contact", 554 newValue 555 ); 556 } 557 558 public void removeContact ( 562 int index 563 ) { 564 refRemoveValue( 565 "org:opencrx:kernel:contract1:AbstractContract:contact", 566 new Integer (index) 567 ); 568 } 569 570 public short getContractCurrency( 574 ) { 575 return getContractCurrency(0); 576 } 577 578 protected short getContractCurrency( 579 int index 580 ) { 581 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:contractCurrency", index)).shortValue(); 582 } 583 584 public void setContractCurrency( 588 short newValue 589 ) { 590 setContractCurrency(0, newValue); 591 } 592 593 protected void setContractCurrency( 594 int index, 595 short newValue 596 ) { 597 refSetValue("org:opencrx:kernel:contract1:AbstractContract:contractCurrency", index, new Short (newValue)); 598 } 599 public short getContractLanguage( 603 ) { 604 return getContractLanguage(0); 605 } 606 607 protected short getContractLanguage( 608 int index 609 ) { 610 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:contractLanguage", index)).shortValue(); 611 } 612 613 public void setContractLanguage( 617 short newValue 618 ) { 619 setContractLanguage(0, newValue); 620 } 621 622 protected void setContractLanguage( 623 int index, 624 short newValue 625 ) { 626 refSetValue("org:opencrx:kernel:contract1:AbstractContract:contractLanguage", index, new Short (newValue)); 627 } 628 public String getContractNumber ( 632 ) { 633 return (String )this.refGetValue("contractNumber", 0); 634 } 635 public void setContractNumber( 639 String newValue 640 ) { 641 refSetValue("org:opencrx:kernel:contract1:AbstractContract:contractNumber", 0, newValue); 642 } 643 644 public short getContractState( 648 ) { 649 return getContractState(0); 650 } 651 652 protected short getContractState( 653 int index 654 ) { 655 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:contractState", index)).shortValue(); 656 } 657 658 public void setContractState( 662 short newValue 663 ) { 664 setContractState(0, newValue); 665 } 666 667 protected void setContractState( 668 int index, 669 short newValue 670 ) { 671 refSetValue("org:opencrx:kernel:contract1:AbstractContract:contractState", index, new Short (newValue)); 672 } 673 public org.opencrx.kernel.contract1.cci.CreatePositionResult createPosition( 677 org.opencrx.kernel.contract1.cci.CreatePositionParams params 678 ) throws javax.jmi.reflect.RefException { 679 java.util.List args = new java.util.ArrayList (); 680 args.add(params); 681 return (org.opencrx.kernel.contract1.cci.CreatePositionResult)refInvokeOperation( 682 "org:opencrx:kernel:contract1:AbstractContract:createPosition", 683 args 684 ); 685 } 686 687 public org.opencrx.kernel.contract1.cci.CreatePositionResult createPosition( 688 String name 689 , org.opencrx.kernel.uom1.cci.Uom priceUom 690 , java.util.Date pricingDate 691 , org.opencrx.kernel.product1.cci.PricingRule pricingRule 692 , org.opencrx.kernel.product1.cci.Product product 693 , java.math.BigDecimal quantity 694 , org.opencrx.kernel.uom1.cci.Uom uom 695 ) throws javax.jmi.reflect.RefException { 696 return createPosition( 697 ((org.opencrx.kernel.contract1.cci.contract1Package)refOutermostPackage().refPackage("org:opencrx:kernel:contract1")).createCreatePositionParams( 698 name 699 , priceUom 700 , pricingDate 701 , pricingRule 702 , product 703 , quantity 704 , uom 705 ) 706 ); 707 } 708 709 public org.opencrx.kernel.contract1.cci.CreateProductOfferingPositionResult createProductOfferingPosition( 713 org.opencrx.kernel.contract1.cci.CreateProductOfferingPositionParams params 714 ) throws javax.jmi.reflect.RefException { 715 java.util.List args = new java.util.ArrayList (); 716 args.add(params); 717 return (org.opencrx.kernel.contract1.cci.CreateProductOfferingPositionResult)refInvokeOperation( 718 "org:opencrx:kernel:contract1:AbstractContract:createProductOfferingPosition", 719 args 720 ); 721 } 722 723 public org.opencrx.kernel.contract1.cci.CreateProductOfferingPositionResult createProductOfferingPosition( 724 org.opencrx.kernel.product1.cci.ProductOffering offering 725 , java.math.BigDecimal quantity 726 ) throws javax.jmi.reflect.RefException { 727 return createProductOfferingPosition( 728 ((org.opencrx.kernel.contract1.cci.contract1Package)refOutermostPackage().refPackage("org:opencrx:kernel:contract1")).createCreateProductOfferingPositionParams( 729 offering 730 , quantity 731 ) 732 ); 733 } 734 735 public org.opencrx.kernel.account1.cci.Account getCustomer( 739 ) { 740 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 741 "org:opencrx:kernel:contract1:AbstractContract:customer" 742 ); 743 } 744 745 public void setCustomer( 749 org.opencrx.kernel.account1.cci.Account newValue 750 ) { 751 refSetValue( 752 "org:opencrx:kernel:contract1:AbstractContract:customer", 753 newValue 754 ); 755 } 756 757 public void removeCustomer ( 761 ) { 762 refRemoveValue( 763 "org:opencrx:kernel:contract1:AbstractContract:customer" 764 ); 765 } 766 public String getDescription ( 770 ) { 771 return (String )this.refGetValue("description", 0); 772 } 773 public void setDescription( 777 String newValue 778 ) { 779 refSetValue("org:opencrx:kernel:contract1:AbstractContract:description", 0, newValue); 780 } 781 782 public java.util.Date getExpiresOn ( 786 ) { 787 return (java.util.Date )this.refGetValue("expiresOn", 0); 788 } 789 public void setExpiresOn( 793 java.util.Date newValue 794 ) { 795 refSetValue("org:opencrx:kernel:contract1:AbstractContract:expiresOn", 0, newValue); 796 } 797 798 public org.opencrx.kernel.depot1.cci.CompoundBooking getInventoryCb( 802 ) { 803 return (org.opencrx.kernel.depot1.cci.CompoundBooking)refGetValue( 804 "org:opencrx:kernel:contract1:AbstractContract:inventoryCb" 805 ); 806 } 807 808 protected void setInventoryCb( 812 org.opencrx.kernel.depot1.cci.CompoundBooking newValue 813 ) { 814 refSetValue( 815 "org:opencrx:kernel:contract1:AbstractContract:inventoryCb", 816 newValue 817 ); 818 } 819 820 protected void removeInventoryCb ( 824 ) { 825 refRemoveValue( 826 "org:opencrx:kernel:contract1:AbstractContract:inventoryCb" 827 ); 828 } 829 public String getName( 833 ) { 834 return getName(0); 835 } 836 837 protected String getName( 838 int index 839 ) { 840 return (String )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:name", index); 841 } 842 843 public void setName( 847 String newValue 848 ) { 849 setName(0, newValue); 850 } 851 852 protected void setName( 853 int index, 854 String newValue 855 ) { 856 refSetValue("org:opencrx:kernel:contract1:AbstractContract:name", index, newValue); 857 } 858 public org.opencrx.kernel.contract1.cci.AbstractContract getOrigin( 862 ) { 863 return (org.opencrx.kernel.contract1.cci.AbstractContract)refGetValue( 864 "org:opencrx:kernel:contract1:AbstractContract:origin" 865 ); 866 } 867 868 public void setOrigin( 872 org.opencrx.kernel.contract1.cci.AbstractContract newValue 873 ) { 874 refSetValue( 875 "org:opencrx:kernel:contract1:AbstractContract:origin", 876 newValue 877 ); 878 } 879 880 public void removeOrigin ( 884 ) { 885 refRemoveValue( 886 "org:opencrx:kernel:contract1:AbstractContract:origin" 887 ); 888 } 889 public short getPaymentTerms( 893 ) { 894 return getPaymentTerms(0); 895 } 896 897 protected short getPaymentTerms( 898 int index 899 ) { 900 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:paymentTerms", index)).shortValue(); 901 } 902 903 public void setPaymentTerms( 907 short newValue 908 ) { 909 setPaymentTerms(0, newValue); 910 } 911 912 protected void setPaymentTerms( 913 int index, 914 short newValue 915 ) { 916 refSetValue("org:opencrx:kernel:contract1:AbstractContract:paymentTerms", index, new Short (newValue)); 917 } 918 public java.util.Date getPricingDate ( 922 ) { 923 return (java.util.Date )this.refGetValue("pricingDate", 0); 924 } 925 public void setPricingDate( 929 java.util.Date newValue 930 ) { 931 refSetValue("org:opencrx:kernel:contract1:AbstractContract:pricingDate", 0, newValue); 932 } 933 934 public org.opencrx.kernel.product1.cci.PricingRule getPricingRule( 938 ) { 939 return (org.opencrx.kernel.product1.cci.PricingRule)refGetValue( 940 "org:opencrx:kernel:contract1:AbstractContract:pricingRule" 941 ); 942 } 943 944 public void setPricingRule( 948 org.opencrx.kernel.product1.cci.PricingRule newValue 949 ) { 950 refSetValue( 951 "org:opencrx:kernel:contract1:AbstractContract:pricingRule", 952 newValue 953 ); 954 } 955 956 public void removePricingRule ( 960 ) { 961 refRemoveValue( 962 "org:opencrx:kernel:contract1:AbstractContract:pricingRule" 963 ); 964 } 965 public short getPricingState( 969 ) { 970 return getPricingState(0); 971 } 972 973 protected short getPricingState( 974 int index 975 ) { 976 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:pricingState", index)).shortValue(); 977 } 978 979 protected void setPricingState( 983 short newValue 984 ) { 985 setPricingState(0, newValue); 986 } 987 988 protected void setPricingState( 989 int index, 990 short newValue 991 ) { 992 refSetValue("org:opencrx:kernel:contract1:AbstractContract:pricingState", index, new Short (newValue)); 993 } 994 public short getPriority( 998 ) { 999 return getPriority(0); 1000 } 1001 1002 protected short getPriority( 1003 int index 1004 ) { 1005 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:priority", index)).shortValue(); 1006 } 1007 1008 public void setPriority( 1012 short newValue 1013 ) { 1014 setPriority(0, newValue); 1015 } 1016 1017 protected void setPriority( 1018 int index, 1019 short newValue 1020 ) { 1021 refSetValue("org:opencrx:kernel:contract1:AbstractContract:priority", index, new Short (newValue)); 1022 } 1023 public org.openmdx.base.cci.Void reprice( 1027 org.openmdx.base.cci.Void params 1028 ) throws javax.jmi.reflect.RefException { 1029 java.util.List args = new java.util.ArrayList (); 1030 args.add(params); 1031 return (org.openmdx.base.cci.Void)refInvokeOperation( 1032 "org:opencrx:kernel:contract1:AbstractContract:reprice", 1033 args 1034 ); 1035 } 1036 1037 public org.openmdx.base.cci.Void reprice( 1038 ) throws javax.jmi.reflect.RefException { 1039 return reprice( 1040 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 1041 ) 1042 ); 1043 } 1044 1045 public org.opencrx.kernel.account1.cci.Account getSalesRep( 1049 ) { 1050 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 1051 "org:opencrx:kernel:contract1:AbstractContract:salesRep" 1052 ); 1053 } 1054 1055 public void setSalesRep( 1059 org.opencrx.kernel.account1.cci.Account newValue 1060 ) { 1061 refSetValue( 1062 "org:opencrx:kernel:contract1:AbstractContract:salesRep", 1063 newValue 1064 ); 1065 } 1066 1067 public void removeSalesRep ( 1071 ) { 1072 refRemoveValue( 1073 "org:opencrx:kernel:contract1:AbstractContract:salesRep" 1074 ); 1075 } 1076 public java.math.BigDecimal getTotalAmount( 1080 ) { 1081 return getTotalAmount(0); 1082 } 1083 1084 protected java.math.BigDecimal getTotalAmount( 1085 int index 1086 ) { 1087 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalAmount", index); 1088 } 1089 1090 protected void setTotalAmount( 1094 java.math.BigDecimal newValue 1095 ) { 1096 setTotalAmount(0, newValue); 1097 } 1098 1099 protected void setTotalAmount( 1100 int index, 1101 java.math.BigDecimal newValue 1102 ) { 1103 refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalAmount", index, newValue); 1104 } 1105 public java.math.BigDecimal getTotalAmountIncludingTax( 1109 ) { 1110 return getTotalAmountIncludingTax(0); 1111 } 1112 1113 protected java.math.BigDecimal getTotalAmountIncludingTax( 1114 int index 1115 ) { 1116 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalAmountIncludingTax", index); 1117 } 1118 1119 protected void setTotalAmountIncludingTax( 1123 java.math.BigDecimal newValue 1124 ) { 1125 setTotalAmountIncludingTax(0, newValue); 1126 } 1127 1128 protected void setTotalAmountIncludingTax( 1129 int index, 1130 java.math.BigDecimal newValue 1131 ) { 1132 refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalAmountIncludingTax", index, newValue); 1133 } 1134 public java.math.BigDecimal getTotalBaseAmount( 1138 ) { 1139 return getTotalBaseAmount(0); 1140 } 1141 1142 protected java.math.BigDecimal getTotalBaseAmount( 1143 int index 1144 ) { 1145 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalBaseAmount", index); 1146 } 1147 1148 protected void setTotalBaseAmount( 1152 java.math.BigDecimal newValue 1153 ) { 1154 setTotalBaseAmount(0, newValue); 1155 } 1156 1157 protected void setTotalBaseAmount( 1158 int index, 1159 java.math.BigDecimal newValue 1160 ) { 1161 refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalBaseAmount", index, newValue); 1162 } 1163 public java.math.BigDecimal getTotalDiscountAmount( 1167 ) { 1168 return getTotalDiscountAmount(0); 1169 } 1170 1171 protected java.math.BigDecimal getTotalDiscountAmount( 1172 int index 1173 ) { 1174 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalDiscountAmount", index); 1175 } 1176 1177 protected void setTotalDiscountAmount( 1181 java.math.BigDecimal newValue 1182 ) { 1183 setTotalDiscountAmount(0, newValue); 1184 } 1185 1186 protected void setTotalDiscountAmount( 1187 int index, 1188 java.math.BigDecimal newValue 1189 ) { 1190 refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalDiscountAmount", index, newValue); 1191 } 1192 public java.math.BigDecimal getTotalSalesCommission( 1196 ) { 1197 return getTotalSalesCommission(0); 1198 } 1199 1200 protected java.math.BigDecimal getTotalSalesCommission( 1201 int index 1202 ) { 1203 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalSalesCommission", index); 1204 } 1205 1206 protected void setTotalSalesCommission( 1210 java.math.BigDecimal newValue 1211 ) { 1212 setTotalSalesCommission(0, newValue); 1213 } 1214 1215 protected void setTotalSalesCommission( 1216 int index, 1217 java.math.BigDecimal newValue 1218 ) { 1219 refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalSalesCommission", index, newValue); 1220 } 1221 public java.math.BigDecimal getTotalTaxAmount( 1225 ) { 1226 return getTotalTaxAmount(0); 1227 } 1228 1229 protected java.math.BigDecimal getTotalTaxAmount( 1230 int index 1231 ) { 1232 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:contract1:AbstractContract:totalTaxAmount", index); 1233 } 1234 1235 protected void setTotalTaxAmount( 1239 java.math.BigDecimal newValue 1240 ) { 1241 setTotalTaxAmount(0, newValue); 1242 } 1243 1244 protected void setTotalTaxAmount( 1245 int index, 1246 java.math.BigDecimal newValue 1247 ) { 1248 refSetValue("org:opencrx:kernel:contract1:AbstractContract:totalTaxAmount", index, newValue); 1249 } 1250 public org.opencrx.kernel.contract1.cci.UpdateInventoryResult updateInventory( 1254 org.opencrx.kernel.contract1.cci.UpdateInventoryParams params 1255 ) throws javax.jmi.reflect.RefException { 1256 java.util.List args = new java.util.ArrayList (); 1257 args.add(params); 1258 return (org.opencrx.kernel.contract1.cci.UpdateInventoryResult)refInvokeOperation( 1259 "org:opencrx:kernel:contract1:AbstractContract:updateInventory", 1260 args 1261 ); 1262 } 1263 1264 public org.opencrx.kernel.contract1.cci.UpdateInventoryResult updateInventory( 1265 Boolean cancelPreviousInventoryUpdate 1266 ) throws javax.jmi.reflect.RefException { 1267 return updateInventory( 1268 ((org.opencrx.kernel.contract1.cci.contract1Package)refOutermostPackage().refPackage("org:opencrx:kernel:contract1")).createUpdateInventoryParams( 1269 cancelPreviousInventoryUpdate 1270 ) 1271 ); 1272 } 1273 1274 public void setAddress( 1278 java.util.List newValue 1279 ) { 1280 refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue); 1281 } 1282 1283 public void setAddress( 1284 org.opencrx.kernel.contract1.cci.ContractAddress[] newValue 1285 ) { 1286 refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue); 1287 } 1288 1289 public org.opencrx.kernel.contract1.cci.ContractAddress getAddress( 1293 String id 1294 ) { 1295 return (org.opencrx.kernel.contract1.cci.ContractAddress)refGetValue( 1296 "org:opencrx:kernel:contract1:AddressContainer:address", 1297 id 1298 ); 1299 } 1300 1301 public java.util.Collection getAddress( 1305 ) { 1306 return (java.util.Collection )refGetValue( 1307 "org:opencrx:kernel:contract1:AddressContainer:address" 1308 ); 1309 } 1310 1311 public java.util.List getAddress( 1312 org.opencrx.kernel.contract1.cci.ContractAddressFilter filter 1313 ) { 1314 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1315 "org:opencrx:kernel:contract1:AddressContainer:address" 1316 )).toList(filter); 1317 } 1318 1319 public void addAddress ( 1323 String id, 1324 org.opencrx.kernel.contract1.cci.ContractAddress newValue 1325 ) { 1326 refAddValue( 1327 "org:opencrx:kernel:contract1:AddressContainer:address", 1328 id, 1329 newValue 1330 ); 1331 } 1332 1333 public void addAddress ( 1337 org.opencrx.kernel.contract1.cci.ContractAddress newValue 1338 ) { 1339 refAddValue( 1340 "org:opencrx:kernel:contract1:AddressContainer:address", 1341 newValue 1342 ); 1343 } 1344 1345 public void removeAddress ( 1349 String id 1350 ) { 1351 refRemoveValue( 1352 "org:opencrx:kernel:contract1:AddressContainer:address", 1353 id 1354 ); 1355 } 1356 1357 public void setDeliveryRequest( 1361 java.util.List newValue 1362 ) { 1363 refSetValue("org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", newValue); 1364 } 1365 1366 public void setDeliveryRequest( 1367 org.opencrx.kernel.contract1.cci.DeliveryRequest[] newValue 1368 ) { 1369 refSetValue("org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", newValue); 1370 } 1371 1372 public org.opencrx.kernel.contract1.cci.DeliveryRequest getDeliveryRequest( 1376 String id 1377 ) { 1378 return (org.opencrx.kernel.contract1.cci.DeliveryRequest)refGetValue( 1379 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", 1380 id 1381 ); 1382 } 1383 1384 public java.util.Collection getDeliveryRequest( 1388 ) { 1389 return (java.util.Collection )refGetValue( 1390 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest" 1391 ); 1392 } 1393 1394 public java.util.List getDeliveryRequest( 1395 org.opencrx.kernel.contract1.cci.DeliveryRequestFilter filter 1396 ) { 1397 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1398 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest" 1399 )).toList(filter); 1400 } 1401 1402 public void addDeliveryRequest ( 1406 String id, 1407 org.opencrx.kernel.contract1.cci.DeliveryRequest newValue 1408 ) { 1409 refAddValue( 1410 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", 1411 id, 1412 newValue 1413 ); 1414 } 1415 1416 public void addDeliveryRequest ( 1420 org.opencrx.kernel.contract1.cci.DeliveryRequest newValue 1421 ) { 1422 refAddValue( 1423 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", 1424 newValue 1425 ); 1426 } 1427 1428 public void removeDeliveryRequest ( 1432 String id 1433 ) { 1434 refRemoveValue( 1435 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", 1436 id 1437 ); 1438 } 1439 1440 public org.opencrx.kernel.account1.cci.Account getCarrier( 1444 ) { 1445 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 1446 "org:opencrx:kernel:contract1:ShippingDetail:carrier" 1447 ); 1448 } 1449 1450 public void setCarrier( 1454 org.opencrx.kernel.account1.cci.Account newValue 1455 ) { 1456 refSetValue( 1457 "org:opencrx:kernel:contract1:ShippingDetail:carrier", 1458 newValue 1459 ); 1460 } 1461 1462 public String getGiftMessage ( 1466 ) { 1467 return (String )this.refGetValue("giftMessage", 0); 1468 } 1469 public void setGiftMessage( 1473 String newValue 1474 ) { 1475 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:giftMessage", 0, newValue); 1476 } 1477 1478 public boolean isGift( 1482 ) { 1483 return isGift(0); 1484 } 1485 1486 protected boolean isGift( 1487 int index 1488 ) { 1489 return ((Boolean )this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index)).booleanValue(); 1490 } 1491 1492 public void setGift( 1496 boolean newValue 1497 ) { 1498 setGift(0, newValue); 1499 } 1500 1501 protected void setGift( 1502 int index, 1503 boolean newValue 1504 ) { 1505 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index, new Boolean (newValue)); 1506 } 1507 public String getShippingInstructions ( 1511 ) { 1512 return (String )this.refGetValue("shippingInstructions", 0); 1513 } 1514 public void setShippingInstructions( 1518 String newValue 1519 ) { 1520 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingInstructions", 0, newValue); 1521 } 1522 1523 public short getShippingMethod( 1527 ) { 1528 return getShippingMethod(0); 1529 } 1530 1531 protected short getShippingMethod( 1532 int index 1533 ) { 1534 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index)).shortValue(); 1535 } 1536 1537 public void setShippingMethod( 1541 short newValue 1542 ) { 1543 setShippingMethod(0, newValue); 1544 } 1545 1546 protected void setShippingMethod( 1547 int index, 1548 short newValue 1549 ) { 1550 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index, new Short (newValue)); 1551 } 1552 public String getShippingTrackingNumber ( 1556 ) { 1557 return (String )this.refGetValue("shippingTrackingNumber", 0); 1558 } 1559 public void setShippingTrackingNumber( 1563 String newValue 1564 ) { 1565 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingTrackingNumber", 0, newValue); 1566 } 1567 1568 public void setDepotReference( 1572 java.util.List newValue 1573 ) { 1574 refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue); 1575 } 1576 1577 public void setDepotReference( 1578 org.opencrx.kernel.depot1.cci.DepotReference[] newValue 1579 ) { 1580 refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue); 1581 } 1582 1583 public org.opencrx.kernel.depot1.cci.DepotReference getDepotReference( 1587 String id 1588 ) { 1589 return (org.opencrx.kernel.depot1.cci.DepotReference)refGetValue( 1590 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 1591 id 1592 ); 1593 } 1594 1595 public java.util.Collection getDepotReference( 1599 ) { 1600 return (java.util.Collection )refGetValue( 1601 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference" 1602 ); 1603 } 1604 1605 public java.util.List getDepotReference( 1606 org.opencrx.kernel.depot1.cci.DepotReferenceFilter filter 1607 ) { 1608 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1609 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference" 1610 )).toList(filter); 1611 } 1612 1613 public void addDepotReference ( 1617 String id, 1618 org.opencrx.kernel.depot1.cci.DepotReference newValue 1619 ) { 1620 refAddValue( 1621 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 1622 id, 1623 newValue 1624 ); 1625 } 1626 1627 public void addDepotReference ( 1631 org.opencrx.kernel.depot1.cci.DepotReference newValue 1632 ) { 1633 refAddValue( 1634 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 1635 newValue 1636 ); 1637 } 1638 1639 public void removeDepotReference ( 1643 String id 1644 ) { 1645 refRemoveValue( 1646 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 1647 id 1648 ); 1649 } 1650 1651} 1655 | Popular Tags |