1 package org.opencrx.kernel.contract1.cci; 14 15 public class ContractPositionImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ContractPosition { 18 19 public ContractPositionImpl( 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 void setAddress( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue); 33 } 34 35 public void setAddress( 36 org.opencrx.kernel.contract1.cci.ContractAddress[] newValue 37 ) { 38 refSetValue("org:opencrx:kernel:contract1:AddressContainer:address", newValue); 39 } 40 41 public org.opencrx.kernel.contract1.cci.ContractAddress getAddress( 45 String id 46 ) { 47 return (org.opencrx.kernel.contract1.cci.ContractAddress)refGetValue( 48 "org:opencrx:kernel:contract1:AddressContainer:address", 49 id 50 ); 51 } 52 53 public java.util.Collection getAddress( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:kernel:contract1:AddressContainer:address" 60 ); 61 } 62 63 public java.util.List getAddress( 64 org.opencrx.kernel.contract1.cci.ContractAddressFilter filter 65 ) { 66 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 67 "org:opencrx:kernel:contract1:AddressContainer:address" 68 )).toList(filter); 69 } 70 71 public void addAddress ( 75 String id, 76 org.opencrx.kernel.contract1.cci.ContractAddress newValue 77 ) { 78 refAddValue( 79 "org:opencrx:kernel:contract1:AddressContainer:address", 80 id, 81 newValue 82 ); 83 } 84 85 public void addAddress ( 89 org.opencrx.kernel.contract1.cci.ContractAddress newValue 90 ) { 91 refAddValue( 92 "org:opencrx:kernel:contract1:AddressContainer:address", 93 newValue 94 ); 95 } 96 97 public void removeAddress ( 101 String id 102 ) { 103 refRemoveValue( 104 "org:opencrx:kernel:contract1:AddressContainer:address", 105 id 106 ); 107 } 108 109 public java.math.BigDecimal getAmount ( 113 ) { 114 return (java.math.BigDecimal )this.refGetValue("amount", 0); 115 } 116 protected void setAmount( 120 java.math.BigDecimal newValue 121 ) { 122 refSetValue("org:opencrx:kernel:contract1:ContractPosition:amount", 0, newValue); 123 } 124 125 public java.math.BigDecimal getBaseAmount ( 129 ) { 130 return (java.math.BigDecimal )this.refGetValue("baseAmount", 0); 131 } 132 protected void setBaseAmount( 136 java.math.BigDecimal newValue 137 ) { 138 refSetValue("org:opencrx:kernel:contract1:ContractPosition:baseAmount", 0, newValue); 139 } 140 141 public void setContact( 145 java.util.List newValue 146 ) { 147 refSetValue("org:opencrx:kernel:contract1:ContractPosition:contact", newValue); 148 } 149 150 public void setContact( 151 org.opencrx.kernel.account1.cci.Contact[] newValue 152 ) { 153 refSetValue("org:opencrx:kernel:contract1:ContractPosition:contact", newValue); 154 } 155 156 public org.opencrx.kernel.account1.cci.Contact getContact( 160 int importance 161 ) { 162 return (org.opencrx.kernel.account1.cci.Contact)refGetValue( 163 "org:opencrx:kernel:contract1:ContractPosition:contact", 164 new Integer (importance) 165 ); 166 } 167 168 public java.util.Collection getContact( 172 ) { 173 return (java.util.Collection )refGetValue( 174 "org:opencrx:kernel:contract1:ContractPosition:contact" 175 ); 176 } 177 178 public void addContact ( 182 int importance, 183 org.opencrx.kernel.account1.cci.Contact newValue 184 ) { 185 refAddValue( 186 "org:opencrx:kernel:contract1:ContractPosition:contact", 187 new Integer (importance), 188 newValue 189 ); 190 } 191 192 public void addContact ( 196 org.opencrx.kernel.account1.cci.Contact newValue 197 ) { 198 refAddValue( 199 "org:opencrx:kernel:contract1:ContractPosition:contact", 200 newValue 201 ); 202 } 203 204 public void removeContact ( 208 int importance 209 ) { 210 refRemoveValue( 211 "org:opencrx:kernel:contract1:ContractPosition:contact", 212 new Integer (importance) 213 ); 214 } 215 216 public short getContractPositionState( 220 ) { 221 return getContractPositionState(0); 222 } 223 224 protected short getContractPositionState( 225 int index 226 ) { 227 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:contractPositionState", index)).shortValue(); 228 } 229 230 public void setContractPositionState( 234 short newValue 235 ) { 236 setContractPositionState(0, newValue); 237 } 238 239 protected void setContractPositionState( 240 int index, 241 short newValue 242 ) { 243 refSetValue("org:opencrx:kernel:contract1:ContractPosition:contractPositionState", index, new Short (newValue)); 244 } 245 public void setDeliveryInformation( 249 java.util.List newValue 250 ) { 251 refSetValue("org:opencrx:kernel:contract1:ContractPosition:deliveryInformation", newValue); 252 } 253 254 public void setDeliveryInformation( 255 org.opencrx.kernel.contract1.cci.DeliveryInformation[] newValue 256 ) { 257 refSetValue("org:opencrx:kernel:contract1:ContractPosition:deliveryInformation", newValue); 258 } 259 260 public org.opencrx.kernel.contract1.cci.DeliveryInformation getDeliveryInformation( 264 String id 265 ) { 266 return (org.opencrx.kernel.contract1.cci.DeliveryInformation)refGetValue( 267 "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation", 268 id 269 ); 270 } 271 272 public java.util.Collection getDeliveryInformation( 276 ) { 277 return (java.util.Collection )refGetValue( 278 "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation" 279 ); 280 } 281 282 public java.util.List getDeliveryInformation( 283 org.opencrx.kernel.contract1.cci.DeliveryInformationFilter filter 284 ) { 285 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 286 "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation" 287 )).toList(filter); 288 } 289 290 public void addDeliveryInformation ( 294 String id, 295 org.opencrx.kernel.contract1.cci.DeliveryInformation newValue 296 ) { 297 refAddValue( 298 "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation", 299 id, 300 newValue 301 ); 302 } 303 304 public void addDeliveryInformation ( 308 org.opencrx.kernel.contract1.cci.DeliveryInformation newValue 309 ) { 310 refAddValue( 311 "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation", 312 newValue 313 ); 314 } 315 316 public void removeDeliveryInformation ( 320 String id 321 ) { 322 refRemoveValue( 323 "org:opencrx:kernel:contract1:ContractPosition:deliveryInformation", 324 id 325 ); 326 } 327 328 public String getDescription ( 332 ) { 333 return (String )this.refGetValue("description", 0); 334 } 335 public void setDescription( 339 String newValue 340 ) { 341 refSetValue("org:opencrx:kernel:contract1:ContractPosition:description", 0, newValue); 342 } 343 344 public java.math.BigDecimal getDiscount ( 348 ) { 349 return (java.math.BigDecimal )this.refGetValue("discount", 0); 350 } 351 public void setDiscount( 355 java.math.BigDecimal newValue 356 ) { 357 refSetValue("org:opencrx:kernel:contract1:ContractPosition:discount", 0, newValue); 358 } 359 360 public java.math.BigDecimal getDiscountAmount ( 364 ) { 365 return (java.math.BigDecimal )this.refGetValue("discountAmount", 0); 366 } 367 protected void setDiscountAmount( 371 java.math.BigDecimal newValue 372 ) { 373 refSetValue("org:opencrx:kernel:contract1:ContractPosition:discountAmount", 0, newValue); 374 } 375 376 public String getDiscountDescription ( 380 ) { 381 return (String )this.refGetValue("discountDescription", 0); 382 } 383 public void setDiscountDescription( 387 String newValue 388 ) { 389 refSetValue("org:opencrx:kernel:contract1:ContractPosition:discountDescription", 0, newValue); 390 } 391 392 public Boolean isDiscountIsPercentage ( 396 ) { 397 return (Boolean )this.refGetValue("discountIsPercentage", 0); 398 } 399 public void setDiscountIsPercentage( 403 Boolean newValue 404 ) { 405 refSetValue("org:opencrx:kernel:contract1:ContractPosition:discountIsPercentage", 0, newValue); 406 } 407 408 public int getLineItemNumber( 412 ) { 413 return getLineItemNumber(0); 414 } 415 416 protected int getLineItemNumber( 417 int index 418 ) { 419 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:lineItemNumber", index)).intValue(); 420 } 421 422 protected void setLineItemNumber( 426 int newValue 427 ) { 428 setLineItemNumber(0, newValue); 429 } 430 431 protected void setLineItemNumber( 432 int index, 433 int newValue 434 ) { 435 refSetValue("org:opencrx:kernel:contract1:ContractPosition:lineItemNumber", index, new Integer (newValue)); 436 } 437 public org.opencrx.kernel.product1.cci.ProductBasePrice getListPrice( 441 ) { 442 return (org.opencrx.kernel.product1.cci.ProductBasePrice)refGetValue( 443 "org:opencrx:kernel:contract1:ContractPosition:listPrice" 444 ); 445 } 446 447 public void setListPrice( 451 org.opencrx.kernel.product1.cci.ProductBasePrice newValue 452 ) { 453 refSetValue( 454 "org:opencrx:kernel:contract1:ContractPosition:listPrice", 455 newValue 456 ); 457 } 458 459 public void removeListPrice ( 463 ) { 464 refRemoveValue( 465 "org:opencrx:kernel:contract1:ContractPosition:listPrice" 466 ); 467 } 468 public java.math.BigDecimal getMaxQuantity ( 472 ) { 473 return (java.math.BigDecimal )this.refGetValue("maxQuantity", 0); 474 } 475 public void setMaxQuantity( 479 java.math.BigDecimal newValue 480 ) { 481 refSetValue("org:opencrx:kernel:contract1:ContractPosition:maxQuantity", 0, newValue); 482 } 483 484 public short getMinMaxQuantityHandling( 488 ) { 489 return getMinMaxQuantityHandling(0); 490 } 491 492 protected short getMinMaxQuantityHandling( 493 int index 494 ) { 495 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:minMaxQuantityHandling", index)).shortValue(); 496 } 497 498 public void setMinMaxQuantityHandling( 502 short newValue 503 ) { 504 setMinMaxQuantityHandling(0, newValue); 505 } 506 507 protected void setMinMaxQuantityHandling( 508 int index, 509 short newValue 510 ) { 511 refSetValue("org:opencrx:kernel:contract1:ContractPosition:minMaxQuantityHandling", index, new Short (newValue)); 512 } 513 public java.math.BigDecimal getMinQuantity ( 517 ) { 518 return (java.math.BigDecimal )this.refGetValue("minQuantity", 0); 519 } 520 public void setMinQuantity( 524 java.math.BigDecimal newValue 525 ) { 526 refSetValue("org:opencrx:kernel:contract1:ContractPosition:minQuantity", 0, newValue); 527 } 528 529 public String getName( 533 ) { 534 return getName(0); 535 } 536 537 protected String getName( 538 int index 539 ) { 540 return (String )this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:name", index); 541 } 542 543 public void setName( 547 String newValue 548 ) { 549 setName(0, newValue); 550 } 551 552 protected void setName( 553 int index, 554 String newValue 555 ) { 556 refSetValue("org:opencrx:kernel:contract1:ContractPosition:name", index, newValue); 557 } 558 public java.math.BigDecimal getOffsetQuantity ( 562 ) { 563 return (java.math.BigDecimal )this.refGetValue("offsetQuantity", 0); 564 } 565 public void setOffsetQuantity( 569 java.math.BigDecimal newValue 570 ) { 571 refSetValue("org:opencrx:kernel:contract1:ContractPosition:offsetQuantity", 0, newValue); 572 } 573 574 public String getPositionNumber( 578 ) { 579 return getPositionNumber(0); 580 } 581 582 protected String getPositionNumber( 583 int index 584 ) { 585 return (String )this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:positionNumber", index); 586 } 587 588 public void setPositionNumber( 592 String newValue 593 ) { 594 setPositionNumber(0, newValue); 595 } 596 597 protected void setPositionNumber( 598 int index, 599 String newValue 600 ) { 601 refSetValue("org:opencrx:kernel:contract1:ContractPosition:positionNumber", index, newValue); 602 } 603 public org.opencrx.kernel.product1.cci.PriceLevel getPriceLevel( 607 ) { 608 return (org.opencrx.kernel.product1.cci.PriceLevel)refGetValue( 609 "org:opencrx:kernel:contract1:ContractPosition:priceLevel" 610 ); 611 } 612 613 public void setPriceLevel( 617 org.opencrx.kernel.product1.cci.PriceLevel newValue 618 ) { 619 refSetValue( 620 "org:opencrx:kernel:contract1:ContractPosition:priceLevel", 621 newValue 622 ); 623 } 624 625 public void removePriceLevel ( 629 ) { 630 refRemoveValue( 631 "org:opencrx:kernel:contract1:ContractPosition:priceLevel" 632 ); 633 } 634 public java.math.BigDecimal getPricePerUnit ( 638 ) { 639 return (java.math.BigDecimal )this.refGetValue("pricePerUnit", 0); 640 } 641 public void setPricePerUnit( 645 java.math.BigDecimal newValue 646 ) { 647 refSetValue("org:opencrx:kernel:contract1:ContractPosition:pricePerUnit", 0, newValue); 648 } 649 650 public org.opencrx.kernel.uom1.cci.Uom getPriceUom( 654 ) { 655 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 656 "org:opencrx:kernel:contract1:ContractPosition:priceUom" 657 ); 658 } 659 660 public void setPriceUom( 664 org.opencrx.kernel.uom1.cci.Uom newValue 665 ) { 666 refSetValue( 667 "org:opencrx:kernel:contract1:ContractPosition:priceUom", 668 newValue 669 ); 670 } 671 672 public void removePriceUom ( 676 ) { 677 refRemoveValue( 678 "org:opencrx:kernel:contract1:ContractPosition:priceUom" 679 ); 680 } 681 public String getPriceUomDescription ( 685 ) { 686 return (String )this.refGetValue("priceUomDescription", 0); 687 } 688 protected void setPriceUomDescription( 692 String newValue 693 ) { 694 refSetValue("org:opencrx:kernel:contract1:ContractPosition:priceUomDescription", 0, newValue); 695 } 696 697 public String getPriceUomDetailedDescription ( 701 ) { 702 return (String )this.refGetValue("priceUomDetailedDescription", 0); 703 } 704 protected void setPriceUomDetailedDescription( 708 String newValue 709 ) { 710 refSetValue("org:opencrx:kernel:contract1:ContractPosition:priceUomDetailedDescription", 0, newValue); 711 } 712 713 public java.util.Date getPricingDate ( 717 ) { 718 return (java.util.Date )this.refGetValue("pricingDate", 0); 719 } 720 public void setPricingDate( 724 java.util.Date newValue 725 ) { 726 refSetValue("org:opencrx:kernel:contract1:ContractPosition:pricingDate", 0, newValue); 727 } 728 729 public org.opencrx.kernel.product1.cci.PricingRule getPricingRule( 733 ) { 734 return (org.opencrx.kernel.product1.cci.PricingRule)refGetValue( 735 "org:opencrx:kernel:contract1:ContractPosition:pricingRule" 736 ); 737 } 738 739 public void setPricingRule( 743 org.opencrx.kernel.product1.cci.PricingRule newValue 744 ) { 745 refSetValue( 746 "org:opencrx:kernel:contract1:ContractPosition:pricingRule", 747 newValue 748 ); 749 } 750 751 public void removePricingRule ( 755 ) { 756 refRemoveValue( 757 "org:opencrx:kernel:contract1:ContractPosition:pricingRule" 758 ); 759 } 760 public short getPricingState( 764 ) { 765 return getPricingState(0); 766 } 767 768 protected short getPricingState( 769 int index 770 ) { 771 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:ContractPosition:pricingState", index)).shortValue(); 772 } 773 774 public void setPricingState( 778 short newValue 779 ) { 780 setPricingState(0, newValue); 781 } 782 783 protected void setPricingState( 784 int index, 785 short newValue 786 ) { 787 refSetValue("org:opencrx:kernel:contract1:ContractPosition:pricingState", index, new Short (newValue)); 788 } 789 public void setProductApplication( 793 java.util.List newValue 794 ) { 795 refSetValue("org:opencrx:kernel:contract1:ContractPosition:productApplication", newValue); 796 } 797 798 public void setProductApplication( 799 org.opencrx.kernel.contract1.cci.ProductApplication[] newValue 800 ) { 801 refSetValue("org:opencrx:kernel:contract1:ContractPosition:productApplication", newValue); 802 } 803 804 public org.opencrx.kernel.contract1.cci.ProductApplication getProductApplication( 808 String id 809 ) { 810 return (org.opencrx.kernel.contract1.cci.ProductApplication)refGetValue( 811 "org:opencrx:kernel:contract1:ContractPosition:productApplication", 812 id 813 ); 814 } 815 816 public java.util.Collection getProductApplication( 820 ) { 821 return (java.util.Collection )refGetValue( 822 "org:opencrx:kernel:contract1:ContractPosition:productApplication" 823 ); 824 } 825 826 public java.util.List getProductApplication( 827 org.opencrx.kernel.contract1.cci.ProductApplicationFilter filter 828 ) { 829 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 830 "org:opencrx:kernel:contract1:ContractPosition:productApplication" 831 )).toList(filter); 832 } 833 834 public void addProductApplication ( 838 String id, 839 org.opencrx.kernel.contract1.cci.ProductApplication newValue 840 ) { 841 refAddValue( 842 "org:opencrx:kernel:contract1:ContractPosition:productApplication", 843 id, 844 newValue 845 ); 846 } 847 848 public void addProductApplication ( 852 org.opencrx.kernel.contract1.cci.ProductApplication newValue 853 ) { 854 refAddValue( 855 "org:opencrx:kernel:contract1:ContractPosition:productApplication", 856 newValue 857 ); 858 } 859 860 public void removeProductApplication ( 864 String id 865 ) { 866 refRemoveValue( 867 "org:opencrx:kernel:contract1:ContractPosition:productApplication", 868 id 869 ); 870 } 871 872 public String getProductDescription ( 876 ) { 877 return (String )this.refGetValue("productDescription", 0); 878 } 879 protected void setProductDescription( 883 String newValue 884 ) { 885 refSetValue("org:opencrx:kernel:contract1:ContractPosition:productDescription", 0, newValue); 886 } 887 888 public String getProductDetailedDescription ( 892 ) { 893 return (String )this.refGetValue("productDetailedDescription", 0); 894 } 895 protected void setProductDetailedDescription( 899 String newValue 900 ) { 901 refSetValue("org:opencrx:kernel:contract1:ContractPosition:productDetailedDescription", 0, newValue); 902 } 903 904 public java.math.BigDecimal getQuantity ( 908 ) { 909 return (java.math.BigDecimal )this.refGetValue("quantity", 0); 910 } 911 public void setQuantity( 915 java.math.BigDecimal newValue 916 ) { 917 refSetValue("org:opencrx:kernel:contract1:ContractPosition:quantity", 0, newValue); 918 } 919 920 public java.math.BigDecimal getQuantityBackOrdered ( 924 ) { 925 return (java.math.BigDecimal )this.refGetValue("quantityBackOrdered", 0); 926 } 927 protected void setQuantityBackOrdered( 931 java.math.BigDecimal newValue 932 ) { 933 refSetValue("org:opencrx:kernel:contract1:ContractPosition:quantityBackOrdered", 0, newValue); 934 } 935 936 public java.math.BigDecimal getQuantityShipped ( 940 ) { 941 return (java.math.BigDecimal )this.refGetValue("quantityShipped", 0); 942 } 943 protected void setQuantityShipped( 947 java.math.BigDecimal newValue 948 ) { 949 refSetValue("org:opencrx:kernel:contract1:ContractPosition:quantityShipped", 0, newValue); 950 } 951 952 public org.openmdx.base.cci.Void reprice( 956 org.openmdx.base.cci.Void params 957 ) throws javax.jmi.reflect.RefException { 958 java.util.List args = new java.util.ArrayList (); 959 args.add(params); 960 return (org.openmdx.base.cci.Void)refInvokeOperation( 961 "org:opencrx:kernel:contract1:ContractPosition:reprice", 962 args 963 ); 964 } 965 966 public org.openmdx.base.cci.Void reprice( 967 ) throws javax.jmi.reflect.RefException { 968 return reprice( 969 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 970 ) 971 ); 972 } 973 974 public java.math.BigDecimal getSalesCommission ( 978 ) { 979 return (java.math.BigDecimal )this.refGetValue("salesCommission", 0); 980 } 981 public void setSalesCommission( 985 java.math.BigDecimal newValue 986 ) { 987 refSetValue("org:opencrx:kernel:contract1:ContractPosition:salesCommission", 0, newValue); 988 } 989 990 public Boolean isSalesCommissionIsPercentage ( 994 ) { 995 return (Boolean )this.refGetValue("salesCommissionIsPercentage", 0); 996 } 997 public void setSalesCommissionIsPercentage( 1001 Boolean newValue 1002 ) { 1003 refSetValue("org:opencrx:kernel:contract1:ContractPosition:salesCommissionIsPercentage", 0, newValue); 1004 } 1005 1006 public org.opencrx.kernel.product1.cci.SalesTaxType getSalesTaxType( 1010 ) { 1011 return (org.opencrx.kernel.product1.cci.SalesTaxType)refGetValue( 1012 "org:opencrx:kernel:contract1:ContractPosition:salesTaxType" 1013 ); 1014 } 1015 1016 public void setSalesTaxType( 1020 org.opencrx.kernel.product1.cci.SalesTaxType newValue 1021 ) { 1022 refSetValue( 1023 "org:opencrx:kernel:contract1:ContractPosition:salesTaxType", 1024 newValue 1025 ); 1026 } 1027 1028 public String getSalesTaxTypeDescription ( 1032 ) { 1033 return (String )this.refGetValue("salesTaxTypeDescription", 0); 1034 } 1035 protected void setSalesTaxTypeDescription( 1039 String newValue 1040 ) { 1041 refSetValue("org:opencrx:kernel:contract1:ContractPosition:salesTaxTypeDescription", 0, newValue); 1042 } 1043 1044 public String getSalesTaxTypeDetailedDescription ( 1048 ) { 1049 return (String )this.refGetValue("salesTaxTypeDetailedDescription", 0); 1050 } 1051 protected void setSalesTaxTypeDetailedDescription( 1055 String newValue 1056 ) { 1057 refSetValue("org:opencrx:kernel:contract1:ContractPosition:salesTaxTypeDetailedDescription", 0, newValue); 1058 } 1059 1060 public java.math.BigDecimal getTaxAmount ( 1064 ) { 1065 return (java.math.BigDecimal )this.refGetValue("taxAmount", 0); 1066 } 1067 protected void setTaxAmount( 1071 java.math.BigDecimal newValue 1072 ) { 1073 refSetValue("org:opencrx:kernel:contract1:ContractPosition:taxAmount", 0, newValue); 1074 } 1075 1076 public org.opencrx.kernel.uom1.cci.Uom getUom( 1080 ) { 1081 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 1082 "org:opencrx:kernel:contract1:ContractPosition:uom" 1083 ); 1084 } 1085 1086 public void setUom( 1090 org.opencrx.kernel.uom1.cci.Uom newValue 1091 ) { 1092 refSetValue( 1093 "org:opencrx:kernel:contract1:ContractPosition:uom", 1094 newValue 1095 ); 1096 } 1097 1098 public void removeUom ( 1102 ) { 1103 refRemoveValue( 1104 "org:opencrx:kernel:contract1:ContractPosition:uom" 1105 ); 1106 } 1107 public String getUomDescription ( 1111 ) { 1112 return (String )this.refGetValue("uomDescription", 0); 1113 } 1114 protected void setUomDescription( 1118 String newValue 1119 ) { 1120 refSetValue("org:opencrx:kernel:contract1:ContractPosition:uomDescription", 0, newValue); 1121 } 1122 1123 public String getUomDetailedDescription ( 1127 ) { 1128 return (String )this.refGetValue("uomDetailedDescription", 0); 1129 } 1130 protected void setUomDetailedDescription( 1134 String newValue 1135 ) { 1136 refSetValue("org:opencrx:kernel:contract1:ContractPosition:uomDetailedDescription", 0, newValue); 1137 } 1138 1139 public void setDeliveryRequest( 1143 java.util.List newValue 1144 ) { 1145 refSetValue("org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", newValue); 1146 } 1147 1148 public void setDeliveryRequest( 1149 org.opencrx.kernel.contract1.cci.DeliveryRequest[] newValue 1150 ) { 1151 refSetValue("org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", newValue); 1152 } 1153 1154 public org.opencrx.kernel.contract1.cci.DeliveryRequest getDeliveryRequest( 1158 String id 1159 ) { 1160 return (org.opencrx.kernel.contract1.cci.DeliveryRequest)refGetValue( 1161 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", 1162 id 1163 ); 1164 } 1165 1166 public java.util.Collection getDeliveryRequest( 1170 ) { 1171 return (java.util.Collection )refGetValue( 1172 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest" 1173 ); 1174 } 1175 1176 public java.util.List getDeliveryRequest( 1177 org.opencrx.kernel.contract1.cci.DeliveryRequestFilter filter 1178 ) { 1179 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1180 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest" 1181 )).toList(filter); 1182 } 1183 1184 public void addDeliveryRequest ( 1188 String id, 1189 org.opencrx.kernel.contract1.cci.DeliveryRequest newValue 1190 ) { 1191 refAddValue( 1192 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", 1193 id, 1194 newValue 1195 ); 1196 } 1197 1198 public void addDeliveryRequest ( 1202 org.opencrx.kernel.contract1.cci.DeliveryRequest newValue 1203 ) { 1204 refAddValue( 1205 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", 1206 newValue 1207 ); 1208 } 1209 1210 public void removeDeliveryRequest ( 1214 String id 1215 ) { 1216 refRemoveValue( 1217 "org:opencrx:kernel:contract1:DeliveryRequestContainer:deliveryRequest", 1218 id 1219 ); 1220 } 1221 1222 public org.opencrx.kernel.account1.cci.Account getCarrier( 1226 ) { 1227 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 1228 "org:opencrx:kernel:contract1:ShippingDetail:carrier" 1229 ); 1230 } 1231 1232 public void setCarrier( 1236 org.opencrx.kernel.account1.cci.Account newValue 1237 ) { 1238 refSetValue( 1239 "org:opencrx:kernel:contract1:ShippingDetail:carrier", 1240 newValue 1241 ); 1242 } 1243 1244 public String getGiftMessage ( 1248 ) { 1249 return (String )this.refGetValue("giftMessage", 0); 1250 } 1251 public void setGiftMessage( 1255 String newValue 1256 ) { 1257 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:giftMessage", 0, newValue); 1258 } 1259 1260 public boolean isGift( 1264 ) { 1265 return isGift(0); 1266 } 1267 1268 protected boolean isGift( 1269 int index 1270 ) { 1271 return ((Boolean )this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index)).booleanValue(); 1272 } 1273 1274 public void setGift( 1278 boolean newValue 1279 ) { 1280 setGift(0, newValue); 1281 } 1282 1283 protected void setGift( 1284 int index, 1285 boolean newValue 1286 ) { 1287 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index, new Boolean (newValue)); 1288 } 1289 public String getShippingInstructions ( 1293 ) { 1294 return (String )this.refGetValue("shippingInstructions", 0); 1295 } 1296 public void setShippingInstructions( 1300 String newValue 1301 ) { 1302 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingInstructions", 0, newValue); 1303 } 1304 1305 public short getShippingMethod( 1309 ) { 1310 return getShippingMethod(0); 1311 } 1312 1313 protected short getShippingMethod( 1314 int index 1315 ) { 1316 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index)).shortValue(); 1317 } 1318 1319 public void setShippingMethod( 1323 short newValue 1324 ) { 1325 setShippingMethod(0, newValue); 1326 } 1327 1328 protected void setShippingMethod( 1329 int index, 1330 short newValue 1331 ) { 1332 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index, new Short (newValue)); 1333 } 1334 public String getShippingTrackingNumber ( 1338 ) { 1339 return (String )this.refGetValue("shippingTrackingNumber", 0); 1340 } 1341 public void setShippingTrackingNumber( 1345 String newValue 1346 ) { 1347 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingTrackingNumber", 0, newValue); 1348 } 1349 1350 public void setDepotReference( 1354 java.util.List newValue 1355 ) { 1356 refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue); 1357 } 1358 1359 public void setDepotReference( 1360 org.opencrx.kernel.depot1.cci.DepotReference[] newValue 1361 ) { 1362 refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue); 1363 } 1364 1365 public org.opencrx.kernel.depot1.cci.DepotReference getDepotReference( 1369 String id 1370 ) { 1371 return (org.opencrx.kernel.depot1.cci.DepotReference)refGetValue( 1372 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 1373 id 1374 ); 1375 } 1376 1377 public java.util.Collection getDepotReference( 1381 ) { 1382 return (java.util.Collection )refGetValue( 1383 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference" 1384 ); 1385 } 1386 1387 public java.util.List getDepotReference( 1388 org.opencrx.kernel.depot1.cci.DepotReferenceFilter filter 1389 ) { 1390 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1391 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference" 1392 )).toList(filter); 1393 } 1394 1395 public void addDepotReference ( 1399 String id, 1400 org.opencrx.kernel.depot1.cci.DepotReference newValue 1401 ) { 1402 refAddValue( 1403 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 1404 id, 1405 newValue 1406 ); 1407 } 1408 1409 public void addDepotReference ( 1413 org.opencrx.kernel.depot1.cci.DepotReference newValue 1414 ) { 1415 refAddValue( 1416 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 1417 newValue 1418 ); 1419 } 1420 1421 public void removeDepotReference ( 1425 String id 1426 ) { 1427 refRemoveValue( 1428 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 1429 id 1430 ); 1431 } 1432 1433} 1437 | Popular Tags |