1 package org.opencrx.kernel.product1.cci; 14 15 public class SegmentImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Segment { 18 19 public SegmentImpl( 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 protected void setAudit( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue); 33 } 34 35 protected void setAudit( 36 org.opencrx.kernel.base.cci.AuditEntry[] newValue 37 ) { 38 refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue); 39 } 40 41 public org.opencrx.kernel.base.cci.AuditEntry getAudit( 45 String id 46 ) { 47 return (org.opencrx.kernel.base.cci.AuditEntry)refGetValue( 48 "org:opencrx:kernel:base:Auditee:audit", 49 id 50 ); 51 } 52 53 public java.util.Collection getAudit( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:kernel:base:Auditee:audit" 60 ); 61 } 62 63 public java.util.List getAudit( 64 org.opencrx.kernel.base.cci.AuditEntryFilter filter 65 ) { 66 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 67 "org:opencrx:kernel:base:Auditee:audit" 68 )).toList(filter); 69 } 70 71 protected void addAudit ( 75 String id, 76 org.opencrx.kernel.base.cci.AuditEntry newValue 77 ) { 78 refAddValue( 79 "org:opencrx:kernel:base:Auditee:audit", 80 id, 81 newValue 82 ); 83 } 84 85 protected void addAudit ( 89 org.opencrx.kernel.base.cci.AuditEntry newValue 90 ) { 91 refAddValue( 92 "org:opencrx:kernel:base:Auditee:audit", 93 newValue 94 ); 95 } 96 97 protected void removeAudit ( 101 String id 102 ) { 103 refRemoveValue( 104 "org:opencrx:kernel:base:Auditee:audit", 105 id 106 ); 107 } 108 109 public org.opencrx.kernel.base.cci.ImportResult importItem( 113 org.opencrx.kernel.base.cci.ImportParams params 114 ) throws javax.jmi.reflect.RefException { 115 java.util.List args = new java.util.ArrayList (); 116 args.add(params); 117 return (org.opencrx.kernel.base.cci.ImportResult)refInvokeOperation( 118 "org:opencrx:kernel:base:Importer:importItem", 119 args 120 ); 121 } 122 123 public org.opencrx.kernel.base.cci.ImportResult importItem( 124 byte[] item 125 , String itemMimeType 126 , String itemName 127 , short locale 128 ) throws javax.jmi.reflect.RefException { 129 return importItem( 130 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createImportParams( 131 item 132 , itemMimeType 133 , itemName 134 , locale 135 ) 136 ); 137 } 138 139 public short getAccessLevelBrowse( 143 ) { 144 return getAccessLevelBrowse(0); 145 } 146 147 protected short getAccessLevelBrowse( 148 int index 149 ) { 150 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 151 } 152 153 public void setAccessLevelBrowse( 157 short newValue 158 ) { 159 setAccessLevelBrowse(0, newValue); 160 } 161 162 protected void setAccessLevelBrowse( 163 int index, 164 short newValue 165 ) { 166 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 167 } 168 public short getAccessLevelDelete( 172 ) { 173 return getAccessLevelDelete(0); 174 } 175 176 protected short getAccessLevelDelete( 177 int index 178 ) { 179 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 180 } 181 182 public void setAccessLevelDelete( 186 short newValue 187 ) { 188 setAccessLevelDelete(0, newValue); 189 } 190 191 protected void setAccessLevelDelete( 192 int index, 193 short newValue 194 ) { 195 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 196 } 197 public short getAccessLevelUpdate( 201 ) { 202 return getAccessLevelUpdate(0); 203 } 204 205 protected short getAccessLevelUpdate( 206 int index 207 ) { 208 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 209 } 210 211 public void setAccessLevelUpdate( 215 short newValue 216 ) { 217 setAccessLevelUpdate(0, newValue); 218 } 219 220 protected void setAccessLevelUpdate( 221 int index, 222 short newValue 223 ) { 224 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 225 } 226 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 230 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 231 ) throws javax.jmi.reflect.RefException { 232 java.util.List args = new java.util.ArrayList (); 233 args.add(params); 234 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 235 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 236 args 237 ); 238 } 239 240 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 241 org.opencrx.security.realm1.cci.PrincipalGroup group 242 , short mode 243 ) throws javax.jmi.reflect.RefException { 244 return addOwningGroup( 245 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 246 group 247 , mode 248 ) 249 ); 250 } 251 252 public java.util.List getOwner ( 256 ) { 257 return (java.util.List )this.refGetValue("owner"); 258 } 259 public String getOwner( 260 int index 261 ) { 262 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 263 } 264 265 protected void setOwner( 269 java.util.List newValue 270 ) { 271 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 272 } 273 274 protected void setOwner( 275 String [] newValue 276 ) { 277 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 278 } 279 280 public void setOwningGroup( 284 java.util.List newValue 285 ) { 286 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 287 } 288 289 public void setOwningGroup( 290 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 291 ) { 292 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 293 } 294 295 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 299 int index 300 ) { 301 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 302 "org:opencrx:kernel:base:SecureObject:owningGroup", 303 new Integer (index) 304 ); 305 } 306 307 public java.util.Collection getOwningGroup( 311 ) { 312 return (java.util.Collection )refGetValue( 313 "org:opencrx:kernel:base:SecureObject:owningGroup" 314 ); 315 } 316 317 public void addOwningGroup ( 321 int index, 322 org.opencrx.security.realm1.cci.PrincipalGroup newValue 323 ) { 324 refAddValue( 325 "org:opencrx:kernel:base:SecureObject:owningGroup", 326 new Integer (index), 327 newValue 328 ); 329 } 330 331 public void addOwningGroup ( 335 org.opencrx.security.realm1.cci.PrincipalGroup newValue 336 ) { 337 refAddValue( 338 "org:opencrx:kernel:base:SecureObject:owningGroup", 339 newValue 340 ); 341 } 342 343 public void removeOwningGroup ( 347 int index 348 ) { 349 refRemoveValue( 350 "org:opencrx:kernel:base:SecureObject:owningGroup", 351 new Integer (index) 352 ); 353 } 354 355 public org.opencrx.security.realm1.cci.User getOwningUser( 359 ) { 360 return (org.opencrx.security.realm1.cci.User)refGetValue( 361 "org:opencrx:kernel:base:SecureObject:owningUser" 362 ); 363 } 364 365 public void setOwningUser( 369 org.opencrx.security.realm1.cci.User newValue 370 ) { 371 refSetValue( 372 "org:opencrx:kernel:base:SecureObject:owningUser", 373 newValue 374 ); 375 } 376 377 public void removeOwningUser ( 381 ) { 382 refRemoveValue( 383 "org:opencrx:kernel:base:SecureObject:owningUser" 384 ); 385 } 386 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 390 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 391 ) throws javax.jmi.reflect.RefException { 392 java.util.List args = new java.util.ArrayList (); 393 args.add(params); 394 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 395 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 396 args 397 ); 398 } 399 400 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 401 short mode 402 ) throws javax.jmi.reflect.RefException { 403 return removeAllOwningGroup( 404 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 405 mode 406 ) 407 ); 408 } 409 410 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 414 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 415 ) throws javax.jmi.reflect.RefException { 416 java.util.List args = new java.util.ArrayList (); 417 args.add(params); 418 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 419 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 420 args 421 ); 422 } 423 424 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 425 org.opencrx.security.realm1.cci.PrincipalGroup group 426 , short mode 427 ) throws javax.jmi.reflect.RefException { 428 return removeOwningGroup( 429 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 430 group 431 , mode 432 ) 433 ); 434 } 435 436 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 440 org.opencrx.kernel.base.cci.SetAccessLevelParams params 441 ) throws javax.jmi.reflect.RefException { 442 java.util.List args = new java.util.ArrayList (); 443 args.add(params); 444 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 445 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 446 args 447 ); 448 } 449 450 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 451 short accessLevelBrowse 452 , short accessLevelDelete 453 , short accessLevelUpdate 454 , short mode 455 ) throws javax.jmi.reflect.RefException { 456 return setAccessLevel( 457 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 458 accessLevelBrowse 459 , accessLevelDelete 460 , accessLevelUpdate 461 , mode 462 ) 463 ); 464 } 465 466 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 470 org.opencrx.kernel.base.cci.SetOwningUserParams params 471 ) throws javax.jmi.reflect.RefException { 472 java.util.List args = new java.util.ArrayList (); 473 args.add(params); 474 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 475 "org:opencrx:kernel:base:SecureObject:setOwningUser", 476 args 477 ); 478 } 479 480 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 481 short mode 482 , org.opencrx.security.realm1.cci.User user 483 ) throws javax.jmi.reflect.RefException { 484 return setOwningUser( 485 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 486 mode 487 , user 488 ) 489 ); 490 } 491 492 public org.opencrx.kernel.base.cci.ExportResult exportXml( 496 org.opencrx.kernel.base.cci.XmlExportParams params 497 ) throws javax.jmi.reflect.RefException { 498 java.util.List args = new java.util.ArrayList (); 499 args.add(params); 500 return (org.opencrx.kernel.base.cci.ExportResult)refInvokeOperation( 501 "org:opencrx:kernel:base:XmlExporter:exportXml", 502 args 503 ); 504 } 505 506 public org.opencrx.kernel.base.cci.ExportResult exportXml( 507 String attributeFilter 508 , String referenceFilter 509 ) throws javax.jmi.reflect.RefException { 510 return exportXml( 511 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createXmlExportParams( 512 attributeFilter 513 , referenceFilter 514 ) 515 ); 516 } 517 518 protected void setAllProduct( 522 java.util.List newValue 523 ) { 524 refSetValue("org:opencrx:kernel:product1:Segment:allProduct", newValue); 525 } 526 527 protected void setAllProduct( 528 org.opencrx.kernel.product1.cci.AbstractProduct[] newValue 529 ) { 530 refSetValue("org:opencrx:kernel:product1:Segment:allProduct", newValue); 531 } 532 533 public org.opencrx.kernel.product1.cci.AbstractProduct getAllProduct( 537 String id 538 ) { 539 return (org.opencrx.kernel.product1.cci.AbstractProduct)refGetValue( 540 "org:opencrx:kernel:product1:Segment:allProduct", 541 id 542 ); 543 } 544 545 public java.util.Collection getAllProduct( 549 ) { 550 return (java.util.Collection )refGetValue( 551 "org:opencrx:kernel:product1:Segment:allProduct" 552 ); 553 } 554 555 public java.util.List getAllProduct( 556 org.opencrx.kernel.product1.cci.AbstractProductFilter filter 557 ) { 558 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 559 "org:opencrx:kernel:product1:Segment:allProduct" 560 )).toList(filter); 561 } 562 563 protected void addAllProduct ( 567 String id, 568 org.opencrx.kernel.product1.cci.AbstractProduct newValue 569 ) { 570 refAddValue( 571 "org:opencrx:kernel:product1:Segment:allProduct", 572 id, 573 newValue 574 ); 575 } 576 577 protected void addAllProduct ( 581 org.opencrx.kernel.product1.cci.AbstractProduct newValue 582 ) { 583 refAddValue( 584 "org:opencrx:kernel:product1:Segment:allProduct", 585 newValue 586 ); 587 } 588 589 protected void removeAllProduct ( 593 String id 594 ) { 595 refRemoveValue( 596 "org:opencrx:kernel:product1:Segment:allProduct", 597 id 598 ); 599 } 600 601 public void setConfigurationTypeSet( 605 java.util.List newValue 606 ) { 607 refSetValue("org:opencrx:kernel:product1:Segment:configurationTypeSet", newValue); 608 } 609 610 public void setConfigurationTypeSet( 611 org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet[] newValue 612 ) { 613 refSetValue("org:opencrx:kernel:product1:Segment:configurationTypeSet", newValue); 614 } 615 616 public org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet getConfigurationTypeSet( 620 String id 621 ) { 622 return (org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet)refGetValue( 623 "org:opencrx:kernel:product1:Segment:configurationTypeSet", 624 id 625 ); 626 } 627 628 public java.util.Collection getConfigurationTypeSet( 632 ) { 633 return (java.util.Collection )refGetValue( 634 "org:opencrx:kernel:product1:Segment:configurationTypeSet" 635 ); 636 } 637 638 public java.util.List getConfigurationTypeSet( 639 org.opencrx.kernel.product1.cci.ProductConfigurationTypeSetFilter filter 640 ) { 641 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 642 "org:opencrx:kernel:product1:Segment:configurationTypeSet" 643 )).toList(filter); 644 } 645 646 public void addConfigurationTypeSet ( 650 String id, 651 org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet newValue 652 ) { 653 refAddValue( 654 "org:opencrx:kernel:product1:Segment:configurationTypeSet", 655 id, 656 newValue 657 ); 658 } 659 660 public void addConfigurationTypeSet ( 664 org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet newValue 665 ) { 666 refAddValue( 667 "org:opencrx:kernel:product1:Segment:configurationTypeSet", 668 newValue 669 ); 670 } 671 672 public void removeConfigurationTypeSet ( 676 String id 677 ) { 678 refRemoveValue( 679 "org:opencrx:kernel:product1:Segment:configurationTypeSet", 680 id 681 ); 682 } 683 684 public void setPriceLevel( 688 java.util.List newValue 689 ) { 690 refSetValue("org:opencrx:kernel:product1:Segment:priceLevel", newValue); 691 } 692 693 public void setPriceLevel( 694 org.opencrx.kernel.product1.cci.PriceLevel[] newValue 695 ) { 696 refSetValue("org:opencrx:kernel:product1:Segment:priceLevel", newValue); 697 } 698 699 public org.opencrx.kernel.product1.cci.PriceLevel getPriceLevel( 703 String id 704 ) { 705 return (org.opencrx.kernel.product1.cci.PriceLevel)refGetValue( 706 "org:opencrx:kernel:product1:Segment:priceLevel", 707 id 708 ); 709 } 710 711 public java.util.Collection getPriceLevel( 715 ) { 716 return (java.util.Collection )refGetValue( 717 "org:opencrx:kernel:product1:Segment:priceLevel" 718 ); 719 } 720 721 public java.util.List getPriceLevel( 722 org.opencrx.kernel.product1.cci.PriceLevelFilter filter 723 ) { 724 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 725 "org:opencrx:kernel:product1:Segment:priceLevel" 726 )).toList(filter); 727 } 728 729 public void addPriceLevel ( 733 String id, 734 org.opencrx.kernel.product1.cci.PriceLevel newValue 735 ) { 736 refAddValue( 737 "org:opencrx:kernel:product1:Segment:priceLevel", 738 id, 739 newValue 740 ); 741 } 742 743 public void addPriceLevel ( 747 org.opencrx.kernel.product1.cci.PriceLevel newValue 748 ) { 749 refAddValue( 750 "org:opencrx:kernel:product1:Segment:priceLevel", 751 newValue 752 ); 753 } 754 755 public void removePriceLevel ( 759 String id 760 ) { 761 refRemoveValue( 762 "org:opencrx:kernel:product1:Segment:priceLevel", 763 id 764 ); 765 } 766 767 protected void setPriceListEntry( 771 java.util.List newValue 772 ) { 773 refSetValue("org:opencrx:kernel:product1:Segment:priceListEntry", newValue); 774 } 775 776 protected void setPriceListEntry( 777 org.opencrx.kernel.product1.cci.PriceListEntry[] newValue 778 ) { 779 refSetValue("org:opencrx:kernel:product1:Segment:priceListEntry", newValue); 780 } 781 782 public org.opencrx.kernel.product1.cci.PriceListEntry getPriceListEntry( 786 String id 787 ) { 788 return (org.opencrx.kernel.product1.cci.PriceListEntry)refGetValue( 789 "org:opencrx:kernel:product1:Segment:priceListEntry", 790 id 791 ); 792 } 793 794 public java.util.Collection getPriceListEntry( 798 ) { 799 return (java.util.Collection )refGetValue( 800 "org:opencrx:kernel:product1:Segment:priceListEntry" 801 ); 802 } 803 804 public java.util.List getPriceListEntry( 805 org.opencrx.kernel.product1.cci.PriceListEntryFilter filter 806 ) { 807 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 808 "org:opencrx:kernel:product1:Segment:priceListEntry" 809 )).toList(filter); 810 } 811 812 protected void addPriceListEntry ( 816 String id, 817 org.opencrx.kernel.product1.cci.PriceListEntry newValue 818 ) { 819 refAddValue( 820 "org:opencrx:kernel:product1:Segment:priceListEntry", 821 id, 822 newValue 823 ); 824 } 825 826 protected void addPriceListEntry ( 830 org.opencrx.kernel.product1.cci.PriceListEntry newValue 831 ) { 832 refAddValue( 833 "org:opencrx:kernel:product1:Segment:priceListEntry", 834 newValue 835 ); 836 } 837 838 protected void removePriceListEntry ( 842 String id 843 ) { 844 refRemoveValue( 845 "org:opencrx:kernel:product1:Segment:priceListEntry", 846 id 847 ); 848 } 849 850 public void setPricingRule( 854 java.util.List newValue 855 ) { 856 refSetValue("org:opencrx:kernel:product1:Segment:pricingRule", newValue); 857 } 858 859 public void setPricingRule( 860 org.opencrx.kernel.product1.cci.PricingRule[] newValue 861 ) { 862 refSetValue("org:opencrx:kernel:product1:Segment:pricingRule", newValue); 863 } 864 865 public org.opencrx.kernel.product1.cci.PricingRule getPricingRule( 869 String id 870 ) { 871 return (org.opencrx.kernel.product1.cci.PricingRule)refGetValue( 872 "org:opencrx:kernel:product1:Segment:pricingRule", 873 id 874 ); 875 } 876 877 public java.util.Collection getPricingRule( 881 ) { 882 return (java.util.Collection )refGetValue( 883 "org:opencrx:kernel:product1:Segment:pricingRule" 884 ); 885 } 886 887 public java.util.List getPricingRule( 888 org.opencrx.kernel.product1.cci.PricingRuleFilter filter 889 ) { 890 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 891 "org:opencrx:kernel:product1:Segment:pricingRule" 892 )).toList(filter); 893 } 894 895 public void addPricingRule ( 899 String id, 900 org.opencrx.kernel.product1.cci.PricingRule newValue 901 ) { 902 refAddValue( 903 "org:opencrx:kernel:product1:Segment:pricingRule", 904 id, 905 newValue 906 ); 907 } 908 909 public void addPricingRule ( 913 org.opencrx.kernel.product1.cci.PricingRule newValue 914 ) { 915 refAddValue( 916 "org:opencrx:kernel:product1:Segment:pricingRule", 917 newValue 918 ); 919 } 920 921 public void removePricingRule ( 925 String id 926 ) { 927 refRemoveValue( 928 "org:opencrx:kernel:product1:Segment:pricingRule", 929 id 930 ); 931 } 932 933 public void setProduct( 937 java.util.List newValue 938 ) { 939 refSetValue("org:opencrx:kernel:product1:Segment:product", newValue); 940 } 941 942 public void setProduct( 943 org.opencrx.kernel.product1.cci.Product[] newValue 944 ) { 945 refSetValue("org:opencrx:kernel:product1:Segment:product", newValue); 946 } 947 948 public org.opencrx.kernel.product1.cci.Product getProduct( 952 String id 953 ) { 954 return (org.opencrx.kernel.product1.cci.Product)refGetValue( 955 "org:opencrx:kernel:product1:Segment:product", 956 id 957 ); 958 } 959 960 public java.util.Collection getProduct( 964 ) { 965 return (java.util.Collection )refGetValue( 966 "org:opencrx:kernel:product1:Segment:product" 967 ); 968 } 969 970 public java.util.List getProduct( 971 org.opencrx.kernel.product1.cci.ProductFilter filter 972 ) { 973 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 974 "org:opencrx:kernel:product1:Segment:product" 975 )).toList(filter); 976 } 977 978 public void addProduct ( 982 String id, 983 org.opencrx.kernel.product1.cci.Product newValue 984 ) { 985 refAddValue( 986 "org:opencrx:kernel:product1:Segment:product", 987 id, 988 newValue 989 ); 990 } 991 992 public void addProduct ( 996 org.opencrx.kernel.product1.cci.Product newValue 997 ) { 998 refAddValue( 999 "org:opencrx:kernel:product1:Segment:product", 1000 newValue 1001 ); 1002 } 1003 1004 public void removeProduct ( 1008 String id 1009 ) { 1010 refRemoveValue( 1011 "org:opencrx:kernel:product1:Segment:product", 1012 id 1013 ); 1014 } 1015 1016 public void setProductBundleType( 1020 java.util.List newValue 1021 ) { 1022 refSetValue("org:opencrx:kernel:product1:Segment:productBundleType", newValue); 1023 } 1024 1025 public void setProductBundleType( 1026 org.opencrx.kernel.product1.cci.ProductBundleType[] newValue 1027 ) { 1028 refSetValue("org:opencrx:kernel:product1:Segment:productBundleType", newValue); 1029 } 1030 1031 public org.opencrx.kernel.product1.cci.ProductBundleType getProductBundleType( 1035 String id 1036 ) { 1037 return (org.opencrx.kernel.product1.cci.ProductBundleType)refGetValue( 1038 "org:opencrx:kernel:product1:Segment:productBundleType", 1039 id 1040 ); 1041 } 1042 1043 public java.util.Collection getProductBundleType( 1047 ) { 1048 return (java.util.Collection )refGetValue( 1049 "org:opencrx:kernel:product1:Segment:productBundleType" 1050 ); 1051 } 1052 1053 public java.util.List getProductBundleType( 1054 org.opencrx.kernel.product1.cci.ProductBundleTypeFilter filter 1055 ) { 1056 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1057 "org:opencrx:kernel:product1:Segment:productBundleType" 1058 )).toList(filter); 1059 } 1060 1061 public void addProductBundleType ( 1065 String id, 1066 org.opencrx.kernel.product1.cci.ProductBundleType newValue 1067 ) { 1068 refAddValue( 1069 "org:opencrx:kernel:product1:Segment:productBundleType", 1070 id, 1071 newValue 1072 ); 1073 } 1074 1075 public void addProductBundleType ( 1079 org.opencrx.kernel.product1.cci.ProductBundleType newValue 1080 ) { 1081 refAddValue( 1082 "org:opencrx:kernel:product1:Segment:productBundleType", 1083 newValue 1084 ); 1085 } 1086 1087 public void removeProductBundleType ( 1091 String id 1092 ) { 1093 refRemoveValue( 1094 "org:opencrx:kernel:product1:Segment:productBundleType", 1095 id 1096 ); 1097 } 1098 1099 public void setProductOffering( 1103 java.util.List newValue 1104 ) { 1105 refSetValue("org:opencrx:kernel:product1:Segment:productOffering", newValue); 1106 } 1107 1108 public void setProductOffering( 1109 org.opencrx.kernel.product1.cci.ProductOffering[] newValue 1110 ) { 1111 refSetValue("org:opencrx:kernel:product1:Segment:productOffering", newValue); 1112 } 1113 1114 public org.opencrx.kernel.product1.cci.ProductOffering getProductOffering( 1118 String id 1119 ) { 1120 return (org.opencrx.kernel.product1.cci.ProductOffering)refGetValue( 1121 "org:opencrx:kernel:product1:Segment:productOffering", 1122 id 1123 ); 1124 } 1125 1126 public java.util.Collection getProductOffering( 1130 ) { 1131 return (java.util.Collection )refGetValue( 1132 "org:opencrx:kernel:product1:Segment:productOffering" 1133 ); 1134 } 1135 1136 public java.util.List getProductOffering( 1137 org.opencrx.kernel.product1.cci.ProductOfferingFilter filter 1138 ) { 1139 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1140 "org:opencrx:kernel:product1:Segment:productOffering" 1141 )).toList(filter); 1142 } 1143 1144 public void addProductOffering ( 1148 String id, 1149 org.opencrx.kernel.product1.cci.ProductOffering newValue 1150 ) { 1151 refAddValue( 1152 "org:opencrx:kernel:product1:Segment:productOffering", 1153 id, 1154 newValue 1155 ); 1156 } 1157 1158 public void addProductOffering ( 1162 org.opencrx.kernel.product1.cci.ProductOffering newValue 1163 ) { 1164 refAddValue( 1165 "org:opencrx:kernel:product1:Segment:productOffering", 1166 newValue 1167 ); 1168 } 1169 1170 public void removeProductOffering ( 1174 String id 1175 ) { 1176 refRemoveValue( 1177 "org:opencrx:kernel:product1:Segment:productOffering", 1178 id 1179 ); 1180 } 1181 1182 public void setSalesTaxType( 1186 java.util.List newValue 1187 ) { 1188 refSetValue("org:opencrx:kernel:product1:Segment:salesTaxType", newValue); 1189 } 1190 1191 public void setSalesTaxType( 1192 org.opencrx.kernel.product1.cci.SalesTaxType[] newValue 1193 ) { 1194 refSetValue("org:opencrx:kernel:product1:Segment:salesTaxType", newValue); 1195 } 1196 1197 public org.opencrx.kernel.product1.cci.SalesTaxType getSalesTaxType( 1201 String id 1202 ) { 1203 return (org.opencrx.kernel.product1.cci.SalesTaxType)refGetValue( 1204 "org:opencrx:kernel:product1:Segment:salesTaxType", 1205 id 1206 ); 1207 } 1208 1209 public java.util.Collection getSalesTaxType( 1213 ) { 1214 return (java.util.Collection )refGetValue( 1215 "org:opencrx:kernel:product1:Segment:salesTaxType" 1216 ); 1217 } 1218 1219 public java.util.List getSalesTaxType( 1220 org.opencrx.kernel.product1.cci.SalesTaxTypeFilter filter 1221 ) { 1222 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1223 "org:opencrx:kernel:product1:Segment:salesTaxType" 1224 )).toList(filter); 1225 } 1226 1227 public void addSalesTaxType ( 1231 String id, 1232 org.opencrx.kernel.product1.cci.SalesTaxType newValue 1233 ) { 1234 refAddValue( 1235 "org:opencrx:kernel:product1:Segment:salesTaxType", 1236 id, 1237 newValue 1238 ); 1239 } 1240 1241 public void addSalesTaxType ( 1245 org.opencrx.kernel.product1.cci.SalesTaxType newValue 1246 ) { 1247 refAddValue( 1248 "org:opencrx:kernel:product1:Segment:salesTaxType", 1249 newValue 1250 ); 1251 } 1252 1253 public void removeSalesTaxType ( 1257 String id 1258 ) { 1259 refRemoveValue( 1260 "org:opencrx:kernel:product1:Segment:salesTaxType", 1261 id 1262 ); 1263 } 1264 1265 protected void setContext( 1269 java.util.List newValue 1270 ) { 1271 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 1272 } 1273 1274 protected void setContext( 1275 org.openmdx.base.cci.Context[] newValue 1276 ) { 1277 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 1278 } 1279 1280 public org.openmdx.base.cci.Context getContext( 1284 String id 1285 ) { 1286 return (org.openmdx.base.cci.Context)refGetValue( 1287 "org:openmdx:base:ContextCapable:context", 1288 id 1289 ); 1290 } 1291 1292 public java.util.Collection getContext( 1296 ) { 1297 return (java.util.Collection )refGetValue( 1298 "org:openmdx:base:ContextCapable:context" 1299 ); 1300 } 1301 1302 protected void addContext ( 1306 String id, 1307 org.openmdx.base.cci.Context newValue 1308 ) { 1309 refAddValue( 1310 "org:openmdx:base:ContextCapable:context", 1311 id, 1312 newValue 1313 ); 1314 } 1315 1316 protected void addContext ( 1320 org.openmdx.base.cci.Context newValue 1321 ) { 1322 refAddValue( 1323 "org:openmdx:base:ContextCapable:context", 1324 newValue 1325 ); 1326 } 1327 1328 protected void removeContext ( 1332 String id 1333 ) { 1334 refRemoveValue( 1335 "org:openmdx:base:ContextCapable:context", 1336 id 1337 ); 1338 } 1339 1340 public String getDescription ( 1344 ) { 1345 return (String )this.refGetValue("description", 0); 1346 } 1347 public void setDescription( 1351 String newValue 1352 ) { 1353 refSetValue("org:openmdx:base:Segment:description", 0, newValue); 1354 } 1355 1356 protected void setExtent( 1360 java.util.List newValue 1361 ) { 1362 refSetValue("org:openmdx:base:Segment:extent", newValue); 1363 } 1364 1365 protected void setExtent( 1366 org.openmdx.base.cci.ExtentCapable[] newValue 1367 ) { 1368 refSetValue("org:openmdx:base:Segment:extent", newValue); 1369 } 1370 1371 public org.openmdx.base.cci.ExtentCapable getExtent( 1375 String identity 1376 ) { 1377 return (org.openmdx.base.cci.ExtentCapable)refGetValue( 1378 "org:openmdx:base:Segment:extent", 1379 identity 1380 ); 1381 } 1382 1383 public java.util.Collection getExtent( 1387 ) { 1388 return (java.util.Collection )refGetValue( 1389 "org:openmdx:base:Segment:extent" 1390 ); 1391 } 1392 1393 public java.util.List getExtent( 1394 org.openmdx.base.cci.ExtentCapableFilter filter 1395 ) { 1396 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1397 "org:openmdx:base:Segment:extent" 1398 )).toList(filter); 1399 } 1400 1401 protected void addExtent ( 1405 String identity, 1406 org.openmdx.base.cci.ExtentCapable newValue 1407 ) { 1408 refAddValue( 1409 "org:openmdx:base:Segment:extent", 1410 identity, 1411 newValue 1412 ); 1413 } 1414 1415 protected void addExtent ( 1419 org.openmdx.base.cci.ExtentCapable newValue 1420 ) { 1421 refAddValue( 1422 "org:openmdx:base:Segment:extent", 1423 newValue 1424 ); 1425 } 1426 1427 protected void removeExtent ( 1431 String identity 1432 ) { 1433 refRemoveValue( 1434 "org:openmdx:base:Segment:extent", 1435 identity 1436 ); 1437 } 1438 1439 public org.openmdx.base.cci.Provider getProvider( 1443 ) { 1444 return (org.openmdx.base.cci.Provider)refGetValue( 1445 "org:openmdx:base:Segment:provider" 1446 ); 1447 } 1448 1449 protected void setProvider( 1453 org.openmdx.base.cci.Provider newValue 1454 ) { 1455 refSetValue( 1456 "org:openmdx:base:Segment:provider", 1457 newValue 1458 ); 1459 } 1460 1461 protected void setView( 1465 java.util.List newValue 1466 ) { 1467 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 1468 } 1469 1470 protected void setView( 1471 org.openmdx.compatibility.view1.cci.View[] newValue 1472 ) { 1473 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 1474 } 1475 1476 public org.openmdx.compatibility.view1.cci.View getView( 1480 String namespace 1481 ) { 1482 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 1483 "org:openmdx:compatibility:view1:ViewCapable:view", 1484 namespace 1485 ); 1486 } 1487 1488 public java.util.Collection getView( 1492 ) { 1493 return (java.util.Collection )refGetValue( 1494 "org:openmdx:compatibility:view1:ViewCapable:view" 1495 ); 1496 } 1497 1498 public java.util.List getView( 1499 org.openmdx.compatibility.view1.cci.ViewFilter filter 1500 ) { 1501 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1502 "org:openmdx:compatibility:view1:ViewCapable:view" 1503 )).toList(filter); 1504 } 1505 1506 protected void addView ( 1510 String namespace, 1511 org.openmdx.compatibility.view1.cci.View newValue 1512 ) { 1513 refAddValue( 1514 "org:openmdx:compatibility:view1:ViewCapable:view", 1515 namespace, 1516 newValue 1517 ); 1518 } 1519 1520 protected void addView ( 1524 org.openmdx.compatibility.view1.cci.View newValue 1525 ) { 1526 refAddValue( 1527 "org:openmdx:compatibility:view1:ViewCapable:view", 1528 newValue 1529 ); 1530 } 1531 1532 protected void removeView ( 1536 String namespace 1537 ) { 1538 refRemoveValue( 1539 "org:openmdx:compatibility:view1:ViewCapable:view", 1540 namespace 1541 ); 1542 } 1543 1544} 1548 | Popular Tags |