1 package org.opencrx.kernel.product1.cci; 14 15 public class ProductBundleImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ProductBundle { 18 19 public ProductBundleImpl( 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.openmdx.base.cci.Void addAsBookmark( 113 org.opencrx.kernel.base.cci.AddAsBookmarkParams params 114 ) throws javax.jmi.reflect.RefException { 115 java.util.List args = new java.util.ArrayList (); 116 args.add(params); 117 return (org.openmdx.base.cci.Void)refInvokeOperation( 118 "org:opencrx:kernel:base:Bookmarkable:addAsBookmark", 119 args 120 ); 121 } 122 123 public org.openmdx.base.cci.Void addAsBookmark( 124 String description 125 ) throws javax.jmi.reflect.RefException { 126 return addAsBookmark( 127 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createAddAsBookmarkParams( 128 description 129 ) 130 ); 131 } 132 133 public org.opencrx.kernel.base.cci.CloneResult clone_( 137 org.opencrx.kernel.base.cci.CloneParams params 138 ) throws javax.jmi.reflect.RefException { 139 java.util.List args = new java.util.ArrayList (); 140 args.add(params); 141 return (org.opencrx.kernel.base.cci.CloneResult)refInvokeOperation( 142 "org:opencrx:kernel:base:Cloneable:clone", 143 args 144 ); 145 } 146 147 public org.opencrx.kernel.base.cci.CloneResult clone_( 148 String referenceFilter 149 ) throws javax.jmi.reflect.RefException { 150 return clone_( 151 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createCloneParams( 152 referenceFilter 153 ) 154 ); 155 } 156 157 public org.opencrx.kernel.base.cci.ImportResult importItem( 161 org.opencrx.kernel.base.cci.ImportParams params 162 ) throws javax.jmi.reflect.RefException { 163 java.util.List args = new java.util.ArrayList (); 164 args.add(params); 165 return (org.opencrx.kernel.base.cci.ImportResult)refInvokeOperation( 166 "org:opencrx:kernel:base:Importer:importItem", 167 args 168 ); 169 } 170 171 public org.opencrx.kernel.base.cci.ImportResult importItem( 172 byte[] item 173 , String itemMimeType 174 , String itemName 175 , short locale 176 ) throws javax.jmi.reflect.RefException { 177 return importItem( 178 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createImportParams( 179 item 180 , itemMimeType 181 , itemName 182 , locale 183 ) 184 ); 185 } 186 187 public short getAccessLevelBrowse( 191 ) { 192 return getAccessLevelBrowse(0); 193 } 194 195 protected short getAccessLevelBrowse( 196 int index 197 ) { 198 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 199 } 200 201 public void setAccessLevelBrowse( 205 short newValue 206 ) { 207 setAccessLevelBrowse(0, newValue); 208 } 209 210 protected void setAccessLevelBrowse( 211 int index, 212 short newValue 213 ) { 214 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 215 } 216 public short getAccessLevelDelete( 220 ) { 221 return getAccessLevelDelete(0); 222 } 223 224 protected short getAccessLevelDelete( 225 int index 226 ) { 227 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 228 } 229 230 public void setAccessLevelDelete( 234 short newValue 235 ) { 236 setAccessLevelDelete(0, newValue); 237 } 238 239 protected void setAccessLevelDelete( 240 int index, 241 short newValue 242 ) { 243 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 244 } 245 public short getAccessLevelUpdate( 249 ) { 250 return getAccessLevelUpdate(0); 251 } 252 253 protected short getAccessLevelUpdate( 254 int index 255 ) { 256 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 257 } 258 259 public void setAccessLevelUpdate( 263 short newValue 264 ) { 265 setAccessLevelUpdate(0, newValue); 266 } 267 268 protected void setAccessLevelUpdate( 269 int index, 270 short newValue 271 ) { 272 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 273 } 274 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 278 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 279 ) throws javax.jmi.reflect.RefException { 280 java.util.List args = new java.util.ArrayList (); 281 args.add(params); 282 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 283 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 284 args 285 ); 286 } 287 288 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 289 org.opencrx.security.realm1.cci.PrincipalGroup group 290 , short mode 291 ) throws javax.jmi.reflect.RefException { 292 return addOwningGroup( 293 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 294 group 295 , mode 296 ) 297 ); 298 } 299 300 public java.util.List getOwner ( 304 ) { 305 return (java.util.List )this.refGetValue("owner"); 306 } 307 public String getOwner( 308 int index 309 ) { 310 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 311 } 312 313 protected void setOwner( 317 java.util.List newValue 318 ) { 319 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 320 } 321 322 protected void setOwner( 323 String [] newValue 324 ) { 325 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 326 } 327 328 public void setOwningGroup( 332 java.util.List newValue 333 ) { 334 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 335 } 336 337 public void setOwningGroup( 338 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 339 ) { 340 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 341 } 342 343 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 347 int index 348 ) { 349 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 350 "org:opencrx:kernel:base:SecureObject:owningGroup", 351 new Integer (index) 352 ); 353 } 354 355 public java.util.Collection getOwningGroup( 359 ) { 360 return (java.util.Collection )refGetValue( 361 "org:opencrx:kernel:base:SecureObject:owningGroup" 362 ); 363 } 364 365 public void addOwningGroup ( 369 int index, 370 org.opencrx.security.realm1.cci.PrincipalGroup newValue 371 ) { 372 refAddValue( 373 "org:opencrx:kernel:base:SecureObject:owningGroup", 374 new Integer (index), 375 newValue 376 ); 377 } 378 379 public void addOwningGroup ( 383 org.opencrx.security.realm1.cci.PrincipalGroup newValue 384 ) { 385 refAddValue( 386 "org:opencrx:kernel:base:SecureObject:owningGroup", 387 newValue 388 ); 389 } 390 391 public void removeOwningGroup ( 395 int index 396 ) { 397 refRemoveValue( 398 "org:opencrx:kernel:base:SecureObject:owningGroup", 399 new Integer (index) 400 ); 401 } 402 403 public org.opencrx.security.realm1.cci.User getOwningUser( 407 ) { 408 return (org.opencrx.security.realm1.cci.User)refGetValue( 409 "org:opencrx:kernel:base:SecureObject:owningUser" 410 ); 411 } 412 413 public void setOwningUser( 417 org.opencrx.security.realm1.cci.User newValue 418 ) { 419 refSetValue( 420 "org:opencrx:kernel:base:SecureObject:owningUser", 421 newValue 422 ); 423 } 424 425 public void removeOwningUser ( 429 ) { 430 refRemoveValue( 431 "org:opencrx:kernel:base:SecureObject:owningUser" 432 ); 433 } 434 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 438 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 439 ) throws javax.jmi.reflect.RefException { 440 java.util.List args = new java.util.ArrayList (); 441 args.add(params); 442 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 443 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 444 args 445 ); 446 } 447 448 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 449 short mode 450 ) throws javax.jmi.reflect.RefException { 451 return removeAllOwningGroup( 452 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 453 mode 454 ) 455 ); 456 } 457 458 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 462 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 463 ) throws javax.jmi.reflect.RefException { 464 java.util.List args = new java.util.ArrayList (); 465 args.add(params); 466 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 467 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 468 args 469 ); 470 } 471 472 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 473 org.opencrx.security.realm1.cci.PrincipalGroup group 474 , short mode 475 ) throws javax.jmi.reflect.RefException { 476 return removeOwningGroup( 477 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 478 group 479 , mode 480 ) 481 ); 482 } 483 484 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 488 org.opencrx.kernel.base.cci.SetAccessLevelParams params 489 ) throws javax.jmi.reflect.RefException { 490 java.util.List args = new java.util.ArrayList (); 491 args.add(params); 492 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 493 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 494 args 495 ); 496 } 497 498 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 499 short accessLevelBrowse 500 , short accessLevelDelete 501 , short accessLevelUpdate 502 , short mode 503 ) throws javax.jmi.reflect.RefException { 504 return setAccessLevel( 505 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 506 accessLevelBrowse 507 , accessLevelDelete 508 , accessLevelUpdate 509 , mode 510 ) 511 ); 512 } 513 514 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 518 org.opencrx.kernel.base.cci.SetOwningUserParams params 519 ) throws javax.jmi.reflect.RefException { 520 java.util.List args = new java.util.ArrayList (); 521 args.add(params); 522 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 523 "org:opencrx:kernel:base:SecureObject:setOwningUser", 524 args 525 ); 526 } 527 528 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 529 short mode 530 , org.opencrx.security.realm1.cci.User user 531 ) throws javax.jmi.reflect.RefException { 532 return setOwningUser( 533 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 534 mode 535 , user 536 ) 537 ); 538 } 539 540 public org.openmdx.base.cci.Void addSubscription( 544 org.openmdx.base.cci.Void params 545 ) throws javax.jmi.reflect.RefException { 546 java.util.List args = new java.util.ArrayList (); 547 args.add(params); 548 return (org.openmdx.base.cci.Void)refInvokeOperation( 549 "org:opencrx:kernel:base:SubscriptionTarget:addSubscription", 550 args 551 ); 552 } 553 554 public org.openmdx.base.cci.Void addSubscription( 555 ) throws javax.jmi.reflect.RefException { 556 return addSubscription( 557 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 558 ) 559 ); 560 } 561 562 public org.openmdx.base.cci.Void addSubscriptionForParent( 566 org.openmdx.base.cci.Void params 567 ) throws javax.jmi.reflect.RefException { 568 java.util.List args = new java.util.ArrayList (); 569 args.add(params); 570 return (org.openmdx.base.cci.Void)refInvokeOperation( 571 "org:opencrx:kernel:base:SubscriptionTarget:addSubscriptionForParent", 572 args 573 ); 574 } 575 576 public org.openmdx.base.cci.Void addSubscriptionForParent( 577 ) throws javax.jmi.reflect.RefException { 578 return addSubscriptionForParent( 579 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 580 ) 581 ); 582 } 583 584 public org.openmdx.base.cci.Void removeSubscription( 588 org.openmdx.base.cci.Void params 589 ) throws javax.jmi.reflect.RefException { 590 java.util.List args = new java.util.ArrayList (); 591 args.add(params); 592 return (org.openmdx.base.cci.Void)refInvokeOperation( 593 "org:opencrx:kernel:base:SubscriptionTarget:removeSubscription", 594 args 595 ); 596 } 597 598 public org.openmdx.base.cci.Void removeSubscription( 599 ) throws javax.jmi.reflect.RefException { 600 return removeSubscription( 601 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 602 ) 603 ); 604 } 605 606 public org.openmdx.base.cci.Void removeSubscriptionForParent( 610 org.openmdx.base.cci.Void params 611 ) throws javax.jmi.reflect.RefException { 612 java.util.List args = new java.util.ArrayList (); 613 args.add(params); 614 return (org.openmdx.base.cci.Void)refInvokeOperation( 615 "org:opencrx:kernel:base:SubscriptionTarget:removeSubscriptionForParent", 616 args 617 ); 618 } 619 620 public org.openmdx.base.cci.Void removeSubscriptionForParent( 621 ) throws javax.jmi.reflect.RefException { 622 return removeSubscriptionForParent( 623 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 624 ) 625 ); 626 } 627 628 public org.opencrx.kernel.base.cci.ExportResult exportXml( 632 org.opencrx.kernel.base.cci.XmlExportParams params 633 ) throws javax.jmi.reflect.RefException { 634 java.util.List args = new java.util.ArrayList (); 635 args.add(params); 636 return (org.opencrx.kernel.base.cci.ExportResult)refInvokeOperation( 637 "org:opencrx:kernel:base:XmlExporter:exportXml", 638 args 639 ); 640 } 641 642 public org.opencrx.kernel.base.cci.ExportResult exportXml( 643 String attributeFilter 644 , String referenceFilter 645 ) throws javax.jmi.reflect.RefException { 646 return exportXml( 647 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createXmlExportParams( 648 attributeFilter 649 , referenceFilter 650 ) 651 ); 652 } 653 654 public void setDepotReference( 658 java.util.List newValue 659 ) { 660 refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue); 661 } 662 663 public void setDepotReference( 664 org.opencrx.kernel.depot1.cci.DepotReference[] newValue 665 ) { 666 refSetValue("org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", newValue); 667 } 668 669 public org.opencrx.kernel.depot1.cci.DepotReference getDepotReference( 673 String id 674 ) { 675 return (org.opencrx.kernel.depot1.cci.DepotReference)refGetValue( 676 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 677 id 678 ); 679 } 680 681 public java.util.Collection getDepotReference( 685 ) { 686 return (java.util.Collection )refGetValue( 687 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference" 688 ); 689 } 690 691 public java.util.List getDepotReference( 692 org.opencrx.kernel.depot1.cci.DepotReferenceFilter filter 693 ) { 694 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 695 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference" 696 )).toList(filter); 697 } 698 699 public void addDepotReference ( 703 String id, 704 org.opencrx.kernel.depot1.cci.DepotReference newValue 705 ) { 706 refAddValue( 707 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 708 id, 709 newValue 710 ); 711 } 712 713 public void addDepotReference ( 717 org.opencrx.kernel.depot1.cci.DepotReference newValue 718 ) { 719 refAddValue( 720 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 721 newValue 722 ); 723 } 724 725 public void removeDepotReference ( 729 String id 730 ) { 731 refRemoveValue( 732 "org:opencrx:kernel:depot1:DepotReferenceHolder:depotReference", 733 id 734 ); 735 } 736 737 public void setAdditionalExternalLink( 741 java.util.List newValue 742 ) { 743 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 744 } 745 746 public void setAdditionalExternalLink( 747 org.opencrx.kernel.generic.cci.AdditionalExternalLink[] newValue 748 ) { 749 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 750 } 751 752 public org.opencrx.kernel.generic.cci.AdditionalExternalLink getAdditionalExternalLink( 756 String id 757 ) { 758 return (org.opencrx.kernel.generic.cci.AdditionalExternalLink)refGetValue( 759 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 760 id 761 ); 762 } 763 764 public java.util.Collection getAdditionalExternalLink( 768 ) { 769 return (java.util.Collection )refGetValue( 770 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 771 ); 772 } 773 774 public java.util.List getAdditionalExternalLink( 775 org.opencrx.kernel.generic.cci.AdditionalExternalLinkFilter filter 776 ) { 777 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 778 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 779 )).toList(filter); 780 } 781 782 public void addAdditionalExternalLink ( 786 String id, 787 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 788 ) { 789 refAddValue( 790 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 791 id, 792 newValue 793 ); 794 } 795 796 public void addAdditionalExternalLink ( 800 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 801 ) { 802 refAddValue( 803 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 804 newValue 805 ); 806 } 807 808 public void removeAdditionalExternalLink ( 812 String id 813 ) { 814 refRemoveValue( 815 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 816 id 817 ); 818 } 819 820 public void setAttachedDocument( 824 java.util.List newValue 825 ) { 826 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 827 } 828 829 public void setAttachedDocument( 830 org.opencrx.kernel.generic.cci.DocumentAttachment[] newValue 831 ) { 832 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 833 } 834 835 public org.opencrx.kernel.generic.cci.DocumentAttachment getAttachedDocument( 839 String id 840 ) { 841 return (org.opencrx.kernel.generic.cci.DocumentAttachment)refGetValue( 842 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 843 id 844 ); 845 } 846 847 public java.util.Collection getAttachedDocument( 851 ) { 852 return (java.util.Collection )refGetValue( 853 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 854 ); 855 } 856 857 public java.util.List getAttachedDocument( 858 org.opencrx.kernel.generic.cci.DocumentAttachmentFilter filter 859 ) { 860 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 861 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 862 )).toList(filter); 863 } 864 865 public void addAttachedDocument ( 869 String id, 870 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 871 ) { 872 refAddValue( 873 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 874 id, 875 newValue 876 ); 877 } 878 879 public void addAttachedDocument ( 883 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 884 ) { 885 refAddValue( 886 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 887 newValue 888 ); 889 } 890 891 public void removeAttachedDocument ( 895 String id 896 ) { 897 refRemoveValue( 898 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 899 id 900 ); 901 } 902 903 public java.util.List getCategory ( 907 ) { 908 return (java.util.List )this.refGetValue("category"); 909 } 910 public String getCategory( 911 int index 912 ) { 913 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:category", index); 914 } 915 916 public void setCategory( 920 java.util.List newValue 921 ) { 922 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 923 } 924 925 public void setCategory( 926 String [] newValue 927 ) { 928 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 929 } 930 931 public boolean isDisabled( 935 ) { 936 return isDisabled(0); 937 } 938 939 protected boolean isDisabled( 940 int index 941 ) { 942 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:disabled", index)).booleanValue(); 943 } 944 945 public void setDisabled( 949 boolean newValue 950 ) { 951 setDisabled(0, newValue); 952 } 953 954 protected void setDisabled( 955 int index, 956 boolean newValue 957 ) { 958 refSetValue("org:opencrx:kernel:generic:CrxObject:disabled", index, new Boolean (newValue)); 959 } 960 public String getDisabledReason ( 964 ) { 965 return (String )this.refGetValue("disabledReason", 0); 966 } 967 public void setDisabledReason( 971 String newValue 972 ) { 973 refSetValue("org:opencrx:kernel:generic:CrxObject:disabledReason", 0, newValue); 974 } 975 976 public java.util.List getExternalLink ( 980 ) { 981 return (java.util.List )this.refGetValue("externalLink"); 982 } 983 public String getExternalLink( 984 int index 985 ) { 986 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:externalLink", index); 987 } 988 989 public void setExternalLink( 993 java.util.List newValue 994 ) { 995 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 996 } 997 998 public void setExternalLink( 999 String [] newValue 1000 ) { 1001 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 1002 } 1003 1004 public void setMedia( 1008 java.util.List newValue 1009 ) { 1010 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 1011 } 1012 1013 public void setMedia( 1014 org.opencrx.kernel.generic.cci.Media[] newValue 1015 ) { 1016 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 1017 } 1018 1019 public org.opencrx.kernel.generic.cci.Media getMedia( 1023 String id 1024 ) { 1025 return (org.opencrx.kernel.generic.cci.Media)refGetValue( 1026 "org:opencrx:kernel:generic:CrxObject:media", 1027 id 1028 ); 1029 } 1030 1031 public java.util.Collection getMedia( 1035 ) { 1036 return (java.util.Collection )refGetValue( 1037 "org:opencrx:kernel:generic:CrxObject:media" 1038 ); 1039 } 1040 1041 public java.util.List getMedia( 1042 org.opencrx.kernel.generic.cci.MediaFilter filter 1043 ) { 1044 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1045 "org:opencrx:kernel:generic:CrxObject:media" 1046 )).toList(filter); 1047 } 1048 1049 public void addMedia ( 1053 String id, 1054 org.opencrx.kernel.generic.cci.Media newValue 1055 ) { 1056 refAddValue( 1057 "org:opencrx:kernel:generic:CrxObject:media", 1058 id, 1059 newValue 1060 ); 1061 } 1062 1063 public void addMedia ( 1067 org.opencrx.kernel.generic.cci.Media newValue 1068 ) { 1069 refAddValue( 1070 "org:opencrx:kernel:generic:CrxObject:media", 1071 newValue 1072 ); 1073 } 1074 1075 public void removeMedia ( 1079 String id 1080 ) { 1081 refRemoveValue( 1082 "org:opencrx:kernel:generic:CrxObject:media", 1083 id 1084 ); 1085 } 1086 1087 public void setNote( 1091 java.util.List newValue 1092 ) { 1093 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1094 } 1095 1096 public void setNote( 1097 org.opencrx.kernel.generic.cci.Note[] newValue 1098 ) { 1099 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1100 } 1101 1102 public org.opencrx.kernel.generic.cci.Note getNote( 1106 String id 1107 ) { 1108 return (org.opencrx.kernel.generic.cci.Note)refGetValue( 1109 "org:opencrx:kernel:generic:CrxObject:note", 1110 id 1111 ); 1112 } 1113 1114 public java.util.Collection getNote( 1118 ) { 1119 return (java.util.Collection )refGetValue( 1120 "org:opencrx:kernel:generic:CrxObject:note" 1121 ); 1122 } 1123 1124 public java.util.List getNote( 1125 org.opencrx.kernel.generic.cci.NoteFilter filter 1126 ) { 1127 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1128 "org:opencrx:kernel:generic:CrxObject:note" 1129 )).toList(filter); 1130 } 1131 1132 public void addNote ( 1136 String id, 1137 org.opencrx.kernel.generic.cci.Note newValue 1138 ) { 1139 refAddValue( 1140 "org:opencrx:kernel:generic:CrxObject:note", 1141 id, 1142 newValue 1143 ); 1144 } 1145 1146 public void addNote ( 1150 org.opencrx.kernel.generic.cci.Note newValue 1151 ) { 1152 refAddValue( 1153 "org:opencrx:kernel:generic:CrxObject:note", 1154 newValue 1155 ); 1156 } 1157 1158 public void removeNote ( 1162 String id 1163 ) { 1164 refRemoveValue( 1165 "org:opencrx:kernel:generic:CrxObject:note", 1166 id 1167 ); 1168 } 1169 1170 public void setRating( 1174 java.util.List newValue 1175 ) { 1176 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1177 } 1178 1179 public void setRating( 1180 org.opencrx.kernel.generic.cci.Rating[] newValue 1181 ) { 1182 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1183 } 1184 1185 public org.opencrx.kernel.generic.cci.Rating getRating( 1189 String id 1190 ) { 1191 return (org.opencrx.kernel.generic.cci.Rating)refGetValue( 1192 "org:opencrx:kernel:generic:CrxObject:rating", 1193 id 1194 ); 1195 } 1196 1197 public java.util.Collection getRating( 1201 ) { 1202 return (java.util.Collection )refGetValue( 1203 "org:opencrx:kernel:generic:CrxObject:rating" 1204 ); 1205 } 1206 1207 public java.util.List getRating( 1208 org.opencrx.kernel.generic.cci.RatingFilter filter 1209 ) { 1210 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1211 "org:opencrx:kernel:generic:CrxObject:rating" 1212 )).toList(filter); 1213 } 1214 1215 public void addRating ( 1219 String id, 1220 org.opencrx.kernel.generic.cci.Rating newValue 1221 ) { 1222 refAddValue( 1223 "org:opencrx:kernel:generic:CrxObject:rating", 1224 id, 1225 newValue 1226 ); 1227 } 1228 1229 public void addRating ( 1233 org.opencrx.kernel.generic.cci.Rating newValue 1234 ) { 1235 refAddValue( 1236 "org:opencrx:kernel:generic:CrxObject:rating", 1237 newValue 1238 ); 1239 } 1240 1241 public void removeRating ( 1245 String id 1246 ) { 1247 refRemoveValue( 1248 "org:opencrx:kernel:generic:CrxObject:rating", 1249 id 1250 ); 1251 } 1252 1253 public Boolean isUserBoolean0 ( 1257 ) { 1258 return (Boolean )this.refGetValue("userBoolean0", 0); 1259 } 1260 public void setUserBoolean0( 1264 Boolean newValue 1265 ) { 1266 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean0", 0, newValue); 1267 } 1268 1269 public Boolean isUserBoolean1 ( 1273 ) { 1274 return (Boolean )this.refGetValue("userBoolean1", 0); 1275 } 1276 public void setUserBoolean1( 1280 Boolean newValue 1281 ) { 1282 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean1", 0, newValue); 1283 } 1284 1285 public Boolean isUserBoolean2 ( 1289 ) { 1290 return (Boolean )this.refGetValue("userBoolean2", 0); 1291 } 1292 public void setUserBoolean2( 1296 Boolean newValue 1297 ) { 1298 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean2", 0, newValue); 1299 } 1300 1301 public Boolean isUserBoolean3 ( 1305 ) { 1306 return (Boolean )this.refGetValue("userBoolean3", 0); 1307 } 1308 public void setUserBoolean3( 1312 Boolean newValue 1313 ) { 1314 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean3", 0, newValue); 1315 } 1316 1317 public java.util.List isUserBoolean4 ( 1321 ) { 1322 return (java.util.List )this.refGetValue("userBoolean4"); 1323 } 1324 public boolean isUserBoolean4( 1325 int index 1326 ) { 1327 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", index)).booleanValue(); 1328 } 1329 1330 public void setUserBoolean4( 1334 java.util.List newValue 1335 ) { 1336 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 1337 } 1338 1339 public void setUserBoolean4( 1340 boolean[] newValue 1341 ) { 1342 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 1343 } 1344 1345 public Short getUserCode0 ( 1349 ) { 1350 return (Short )this.refGetValue("userCode0", 0); 1351 } 1352 public void setUserCode0( 1356 Short newValue 1357 ) { 1358 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode0", 0, newValue); 1359 } 1360 1361 public Short getUserCode1 ( 1365 ) { 1366 return (Short )this.refGetValue("userCode1", 0); 1367 } 1368 public void setUserCode1( 1372 Short newValue 1373 ) { 1374 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode1", 0, newValue); 1375 } 1376 1377 public Short getUserCode2 ( 1381 ) { 1382 return (Short )this.refGetValue("userCode2", 0); 1383 } 1384 public void setUserCode2( 1388 Short newValue 1389 ) { 1390 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode2", 0, newValue); 1391 } 1392 1393 public Short getUserCode3 ( 1397 ) { 1398 return (Short )this.refGetValue("userCode3", 0); 1399 } 1400 public void setUserCode3( 1404 Short newValue 1405 ) { 1406 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode3", 0, newValue); 1407 } 1408 1409 public java.util.List getUserCode4 ( 1413 ) { 1414 return (java.util.List )this.refGetValue("userCode4"); 1415 } 1416 public short getUserCode4( 1417 int index 1418 ) { 1419 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userCode4", index)).shortValue(); 1420 } 1421 1422 public void setUserCode4( 1426 java.util.List newValue 1427 ) { 1428 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 1429 } 1430 1431 public void setUserCode4( 1432 short[] newValue 1433 ) { 1434 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 1435 } 1436 1437 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate0 ( 1441 ) { 1442 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate0", 0); 1443 } 1444 public void setUserDate0( 1448 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1449 ) { 1450 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate0", 0, newValue); 1451 } 1452 1453 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate1 ( 1457 ) { 1458 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate1", 0); 1459 } 1460 public void setUserDate1( 1464 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1465 ) { 1466 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate1", 0, newValue); 1467 } 1468 1469 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate2 ( 1473 ) { 1474 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate2", 0); 1475 } 1476 public void setUserDate2( 1480 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1481 ) { 1482 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate2", 0, newValue); 1483 } 1484 1485 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate3 ( 1489 ) { 1490 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate3", 0); 1491 } 1492 public void setUserDate3( 1496 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1497 ) { 1498 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate3", 0, newValue); 1499 } 1500 1501 public java.util.List getUserDate4 ( 1505 ) { 1506 return (java.util.List )this.refGetValue("userDate4"); 1507 } 1508 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate4( 1509 int index 1510 ) { 1511 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDate4", index); 1512 } 1513 1514 public void setUserDate4( 1518 java.util.List newValue 1519 ) { 1520 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 1521 } 1522 1523 public void setUserDate4( 1524 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar[] newValue 1525 ) { 1526 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 1527 } 1528 1529 public java.util.Date getUserDateTime0 ( 1533 ) { 1534 return (java.util.Date )this.refGetValue("userDateTime0", 0); 1535 } 1536 public void setUserDateTime0( 1540 java.util.Date newValue 1541 ) { 1542 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime0", 0, newValue); 1543 } 1544 1545 public java.util.Date getUserDateTime1 ( 1549 ) { 1550 return (java.util.Date )this.refGetValue("userDateTime1", 0); 1551 } 1552 public void setUserDateTime1( 1556 java.util.Date newValue 1557 ) { 1558 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime1", 0, newValue); 1559 } 1560 1561 public java.util.Date getUserDateTime2 ( 1565 ) { 1566 return (java.util.Date )this.refGetValue("userDateTime2", 0); 1567 } 1568 public void setUserDateTime2( 1572 java.util.Date newValue 1573 ) { 1574 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime2", 0, newValue); 1575 } 1576 1577 public java.util.Date getUserDateTime3 ( 1581 ) { 1582 return (java.util.Date )this.refGetValue("userDateTime3", 0); 1583 } 1584 public void setUserDateTime3( 1588 java.util.Date newValue 1589 ) { 1590 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime3", 0, newValue); 1591 } 1592 1593 public java.util.List getUserDateTime4 ( 1597 ) { 1598 return (java.util.List )this.refGetValue("userDateTime4"); 1599 } 1600 public java.util.Date getUserDateTime4( 1601 int index 1602 ) { 1603 return (java.util.Date )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", index); 1604 } 1605 1606 public void setUserDateTime4( 1610 java.util.List newValue 1611 ) { 1612 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 1613 } 1614 1615 public void setUserDateTime4( 1616 java.util.Date [] newValue 1617 ) { 1618 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 1619 } 1620 1621 public java.math.BigDecimal getUserNumber0 ( 1625 ) { 1626 return (java.math.BigDecimal )this.refGetValue("userNumber0", 0); 1627 } 1628 public void setUserNumber0( 1632 java.math.BigDecimal newValue 1633 ) { 1634 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber0", 0, newValue); 1635 } 1636 1637 public java.math.BigDecimal getUserNumber1 ( 1641 ) { 1642 return (java.math.BigDecimal )this.refGetValue("userNumber1", 0); 1643 } 1644 public void setUserNumber1( 1648 java.math.BigDecimal newValue 1649 ) { 1650 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber1", 0, newValue); 1651 } 1652 1653 public java.math.BigDecimal getUserNumber2 ( 1657 ) { 1658 return (java.math.BigDecimal )this.refGetValue("userNumber2", 0); 1659 } 1660 public void setUserNumber2( 1664 java.math.BigDecimal newValue 1665 ) { 1666 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber2", 0, newValue); 1667 } 1668 1669 public java.math.BigDecimal getUserNumber3 ( 1673 ) { 1674 return (java.math.BigDecimal )this.refGetValue("userNumber3", 0); 1675 } 1676 public void setUserNumber3( 1680 java.math.BigDecimal newValue 1681 ) { 1682 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber3", 0, newValue); 1683 } 1684 1685 public java.util.List getUserNumber4 ( 1689 ) { 1690 return (java.util.List )this.refGetValue("userNumber4"); 1691 } 1692 public java.math.BigDecimal getUserNumber4( 1693 int index 1694 ) { 1695 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", index); 1696 } 1697 1698 public void setUserNumber4( 1702 java.util.List newValue 1703 ) { 1704 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 1705 } 1706 1707 public void setUserNumber4( 1708 java.math.BigDecimal [] newValue 1709 ) { 1710 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 1711 } 1712 1713 public String getUserString0 ( 1717 ) { 1718 return (String )this.refGetValue("userString0", 0); 1719 } 1720 public void setUserString0( 1724 String newValue 1725 ) { 1726 refSetValue("org:opencrx:kernel:generic:CrxObject:userString0", 0, newValue); 1727 } 1728 1729 public String getUserString1 ( 1733 ) { 1734 return (String )this.refGetValue("userString1", 0); 1735 } 1736 public void setUserString1( 1740 String newValue 1741 ) { 1742 refSetValue("org:opencrx:kernel:generic:CrxObject:userString1", 0, newValue); 1743 } 1744 1745 public String getUserString2 ( 1749 ) { 1750 return (String )this.refGetValue("userString2", 0); 1751 } 1752 public void setUserString2( 1756 String newValue 1757 ) { 1758 refSetValue("org:opencrx:kernel:generic:CrxObject:userString2", 0, newValue); 1759 } 1760 1761 public String getUserString3 ( 1765 ) { 1766 return (String )this.refGetValue("userString3", 0); 1767 } 1768 public void setUserString3( 1772 String newValue 1773 ) { 1774 refSetValue("org:opencrx:kernel:generic:CrxObject:userString3", 0, newValue); 1775 } 1776 1777 public java.util.List getUserString4 ( 1781 ) { 1782 return (java.util.List )this.refGetValue("userString4"); 1783 } 1784 public String getUserString4( 1785 int index 1786 ) { 1787 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userString4", index); 1788 } 1789 1790 public void setUserString4( 1794 java.util.List newValue 1795 ) { 1796 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 1797 } 1798 1799 public void setUserString4( 1800 String [] newValue 1801 ) { 1802 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 1803 } 1804 1805 public void setBasePrice( 1809 java.util.List newValue 1810 ) { 1811 refSetValue("org:opencrx:kernel:product1:AbstractProduct:basePrice", newValue); 1812 } 1813 1814 public void setBasePrice( 1815 org.opencrx.kernel.product1.cci.ProductBasePrice[] newValue 1816 ) { 1817 refSetValue("org:opencrx:kernel:product1:AbstractProduct:basePrice", newValue); 1818 } 1819 1820 public org.opencrx.kernel.product1.cci.ProductBasePrice getBasePrice( 1824 String id 1825 ) { 1826 return (org.opencrx.kernel.product1.cci.ProductBasePrice)refGetValue( 1827 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1828 id 1829 ); 1830 } 1831 1832 public java.util.Collection getBasePrice( 1836 ) { 1837 return (java.util.Collection )refGetValue( 1838 "org:opencrx:kernel:product1:AbstractProduct:basePrice" 1839 ); 1840 } 1841 1842 public java.util.List getBasePrice( 1843 org.opencrx.kernel.product1.cci.ProductBasePriceFilter filter 1844 ) { 1845 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1846 "org:opencrx:kernel:product1:AbstractProduct:basePrice" 1847 )).toList(filter); 1848 } 1849 1850 public void addBasePrice ( 1854 String id, 1855 org.opencrx.kernel.product1.cci.ProductBasePrice newValue 1856 ) { 1857 refAddValue( 1858 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1859 id, 1860 newValue 1861 ); 1862 } 1863 1864 public void addBasePrice ( 1868 org.opencrx.kernel.product1.cci.ProductBasePrice newValue 1869 ) { 1870 refAddValue( 1871 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1872 newValue 1873 ); 1874 } 1875 1876 public void removeBasePrice ( 1880 String id 1881 ) { 1882 refRemoveValue( 1883 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1884 id 1885 ); 1886 } 1887 1888 public org.opencrx.kernel.account1.cci.Competitor getCompetitor( 1892 ) { 1893 return (org.opencrx.kernel.account1.cci.Competitor)refGetValue( 1894 "org:opencrx:kernel:product1:AbstractProduct:competitor" 1895 ); 1896 } 1897 1898 public void setCompetitor( 1902 org.opencrx.kernel.account1.cci.Competitor newValue 1903 ) { 1904 refSetValue( 1905 "org:opencrx:kernel:product1:AbstractProduct:competitor", 1906 newValue 1907 ); 1908 } 1909 1910 public void removeCompetitor ( 1914 ) { 1915 refRemoveValue( 1916 "org:opencrx:kernel:product1:AbstractProduct:competitor" 1917 ); 1918 } 1919 public org.opencrx.kernel.product1.cci.PriceLevel getDefaultPriceLevel( 1923 ) { 1924 return (org.opencrx.kernel.product1.cci.PriceLevel)refGetValue( 1925 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel" 1926 ); 1927 } 1928 1929 public void setDefaultPriceLevel( 1933 org.opencrx.kernel.product1.cci.PriceLevel newValue 1934 ) { 1935 refSetValue( 1936 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel", 1937 newValue 1938 ); 1939 } 1940 1941 public void removeDefaultPriceLevel ( 1945 ) { 1946 refRemoveValue( 1947 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel" 1948 ); 1949 } 1950 public org.opencrx.kernel.uom1.cci.Uom getDefaultUom( 1954 ) { 1955 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 1956 "org:opencrx:kernel:product1:AbstractProduct:defaultUom" 1957 ); 1958 } 1959 1960 public void setDefaultUom( 1964 org.opencrx.kernel.uom1.cci.Uom newValue 1965 ) { 1966 refSetValue( 1967 "org:opencrx:kernel:product1:AbstractProduct:defaultUom", 1968 newValue 1969 ); 1970 } 1971 1972 public void removeDefaultUom ( 1976 ) { 1977 refRemoveValue( 1978 "org:opencrx:kernel:product1:AbstractProduct:defaultUom" 1979 ); 1980 } 1981 public String getDescription ( 1985 ) { 1986 return (String )this.refGetValue("description", 0); 1987 } 1988 public void setDescription( 1992 String newValue 1993 ) { 1994 refSetValue("org:opencrx:kernel:product1:AbstractProduct:description", 0, newValue); 1995 } 1996 1997 public String getDetailedDescription ( 2001 ) { 2002 return (String )this.refGetValue("detailedDescription", 0); 2003 } 2004 public void setDetailedDescription( 2008 String newValue 2009 ) { 2010 refSetValue("org:opencrx:kernel:product1:AbstractProduct:detailedDescription", 0, newValue); 2011 } 2012 2013 public String getName( 2017 ) { 2018 return getName(0); 2019 } 2020 2021 protected String getName( 2022 int index 2023 ) { 2024 return (String )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:name", index); 2025 } 2026 2027 public void setName( 2031 String newValue 2032 ) { 2033 setName(0, newValue); 2034 } 2035 2036 protected void setName( 2037 int index, 2038 String newValue 2039 ) { 2040 refSetValue("org:opencrx:kernel:product1:AbstractProduct:name", index, newValue); 2041 } 2042 public void setPriceUom( 2046 java.util.List newValue 2047 ) { 2048 refSetValue("org:opencrx:kernel:product1:AbstractProduct:priceUom", newValue); 2049 } 2050 2051 public void setPriceUom( 2052 org.opencrx.kernel.uom1.cci.Uom[] newValue 2053 ) { 2054 refSetValue("org:opencrx:kernel:product1:AbstractProduct:priceUom", newValue); 2055 } 2056 2057 public org.opencrx.kernel.uom1.cci.Uom getPriceUom( 2061 int index 2062 ) { 2063 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 2064 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2065 new Integer (index) 2066 ); 2067 } 2068 2069 public java.util.Collection getPriceUom( 2073 ) { 2074 return (java.util.Collection )refGetValue( 2075 "org:opencrx:kernel:product1:AbstractProduct:priceUom" 2076 ); 2077 } 2078 2079 public void addPriceUom ( 2083 int index, 2084 org.opencrx.kernel.uom1.cci.Uom newValue 2085 ) { 2086 refAddValue( 2087 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2088 new Integer (index), 2089 newValue 2090 ); 2091 } 2092 2093 public void addPriceUom ( 2097 org.opencrx.kernel.uom1.cci.Uom newValue 2098 ) { 2099 refAddValue( 2100 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2101 newValue 2102 ); 2103 } 2104 2105 public void removePriceUom ( 2109 int index 2110 ) { 2111 refRemoveValue( 2112 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2113 new Integer (index) 2114 ); 2115 } 2116 2117 public String getProductNumber( 2121 ) { 2122 return getProductNumber(0); 2123 } 2124 2125 protected String getProductNumber( 2126 int index 2127 ) { 2128 return (String )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productNumber", index); 2129 } 2130 2131 public void setProductNumber( 2135 String newValue 2136 ) { 2137 setProductNumber(0, newValue); 2138 } 2139 2140 protected void setProductNumber( 2141 int index, 2142 String newValue 2143 ) { 2144 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productNumber", index, newValue); 2145 } 2146 public short getProductState( 2150 ) { 2151 return getProductState(0); 2152 } 2153 2154 protected short getProductState( 2155 int index 2156 ) { 2157 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productState", index)).shortValue(); 2158 } 2159 2160 public void setProductState( 2164 short newValue 2165 ) { 2166 setProductState(0, newValue); 2167 } 2168 2169 protected void setProductState( 2170 int index, 2171 short newValue 2172 ) { 2173 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productState", index, new Short (newValue)); 2174 } 2175 public short getProductType( 2179 ) { 2180 return getProductType(0); 2181 } 2182 2183 protected short getProductType( 2184 int index 2185 ) { 2186 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productType", index)).shortValue(); 2187 } 2188 2189 public void setProductType( 2193 short newValue 2194 ) { 2195 setProductType(0, newValue); 2196 } 2197 2198 protected void setProductType( 2199 int index, 2200 short newValue 2201 ) { 2202 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productType", index, new Short (newValue)); 2203 } 2204 public org.opencrx.kernel.activity1.cci.ActivityTracker getProductUsage( 2208 ) { 2209 return (org.opencrx.kernel.activity1.cci.ActivityTracker)refGetValue( 2210 "org:opencrx:kernel:product1:AbstractProduct:productUsage" 2211 ); 2212 } 2213 2214 public void setProductUsage( 2218 org.opencrx.kernel.activity1.cci.ActivityTracker newValue 2219 ) { 2220 refSetValue( 2221 "org:opencrx:kernel:product1:AbstractProduct:productUsage", 2222 newValue 2223 ); 2224 } 2225 2226 public void removeProductUsage ( 2230 ) { 2231 refRemoveValue( 2232 "org:opencrx:kernel:product1:AbstractProduct:productUsage" 2233 ); 2234 } 2235 public org.opencrx.kernel.product1.cci.SalesTaxType getSalesTaxType( 2239 ) { 2240 return (org.opencrx.kernel.product1.cci.SalesTaxType)refGetValue( 2241 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType" 2242 ); 2243 } 2244 2245 public void setSalesTaxType( 2249 org.opencrx.kernel.product1.cci.SalesTaxType newValue 2250 ) { 2251 refSetValue( 2252 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType", 2253 newValue 2254 ); 2255 } 2256 2257 public void removeSalesTaxType ( 2261 ) { 2262 refRemoveValue( 2263 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType" 2264 ); 2265 } 2266 public void setSupplier( 2270 java.util.List newValue 2271 ) { 2272 refSetValue("org:opencrx:kernel:product1:AbstractProduct:supplier", newValue); 2273 } 2274 2275 public void setSupplier( 2276 org.opencrx.kernel.account1.cci.Account[] newValue 2277 ) { 2278 refSetValue("org:opencrx:kernel:product1:AbstractProduct:supplier", newValue); 2279 } 2280 2281 public org.opencrx.kernel.account1.cci.Account getSupplier( 2285 int index 2286 ) { 2287 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 2288 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2289 new Integer (index) 2290 ); 2291 } 2292 2293 public java.util.Collection getSupplier( 2297 ) { 2298 return (java.util.Collection )refGetValue( 2299 "org:opencrx:kernel:product1:AbstractProduct:supplier" 2300 ); 2301 } 2302 2303 public void addSupplier ( 2307 int index, 2308 org.opencrx.kernel.account1.cci.Account newValue 2309 ) { 2310 refAddValue( 2311 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2312 new Integer (index), 2313 newValue 2314 ); 2315 } 2316 2317 public void addSupplier ( 2321 org.opencrx.kernel.account1.cci.Account newValue 2322 ) { 2323 refAddValue( 2324 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2325 newValue 2326 ); 2327 } 2328 2329 public void removeSupplier ( 2333 int index 2334 ) { 2335 refRemoveValue( 2336 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2337 new Integer (index) 2338 ); 2339 } 2340 2341 public Boolean isAllowModification ( 2345 ) { 2346 return (Boolean )this.refGetValue("allowModification", 0); 2347 } 2348 public void setAllowModification( 2352 Boolean newValue 2353 ) { 2354 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:allowModification", 0, newValue); 2355 } 2356 2357 public Boolean isAllowRemoval ( 2361 ) { 2362 return (Boolean )this.refGetValue("allowRemoval", 0); 2363 } 2364 public void setAllowRemoval( 2368 Boolean newValue 2369 ) { 2370 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:allowRemoval", 0, newValue); 2371 } 2372 2373 public Integer getDefaultPositions ( 2377 ) { 2378 return (Integer )this.refGetValue("defaultPositions", 0); 2379 } 2380 public void setDefaultPositions( 2384 Integer newValue 2385 ) { 2386 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:defaultPositions", 0, newValue); 2387 } 2388 2389 public java.math.BigDecimal getDefaultQuantity ( 2393 ) { 2394 return (java.math.BigDecimal )this.refGetValue("defaultQuantity", 0); 2395 } 2396 public void setDefaultQuantity( 2400 java.math.BigDecimal newValue 2401 ) { 2402 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:defaultQuantity", 0, newValue); 2403 } 2404 2405 public int getItemNumber( 2409 ) { 2410 return getItemNumber(0); 2411 } 2412 2413 protected int getItemNumber( 2414 int index 2415 ) { 2416 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:ContractPositionConstrained:itemNumber", index)).intValue(); 2417 } 2418 2419 public void setItemNumber( 2423 int newValue 2424 ) { 2425 setItemNumber(0, newValue); 2426 } 2427 2428 protected void setItemNumber( 2429 int index, 2430 int newValue 2431 ) { 2432 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:itemNumber", index, new Integer (newValue)); 2433 } 2434 public Integer getMaxPositions ( 2438 ) { 2439 return (Integer )this.refGetValue("maxPositions", 0); 2440 } 2441 public void setMaxPositions( 2445 Integer newValue 2446 ) { 2447 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:maxPositions", 0, newValue); 2448 } 2449 2450 public java.math.BigDecimal getMaxQuantity ( 2454 ) { 2455 return (java.math.BigDecimal )this.refGetValue("maxQuantity", 0); 2456 } 2457 public void setMaxQuantity( 2461 java.math.BigDecimal newValue 2462 ) { 2463 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:maxQuantity", 0, newValue); 2464 } 2465 2466 public short getMinMaxQuantityHandling( 2470 ) { 2471 return getMinMaxQuantityHandling(0); 2472 } 2473 2474 protected short getMinMaxQuantityHandling( 2475 int index 2476 ) { 2477 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minMaxQuantityHandling", index)).shortValue(); 2478 } 2479 2480 public void setMinMaxQuantityHandling( 2484 short newValue 2485 ) { 2486 setMinMaxQuantityHandling(0, newValue); 2487 } 2488 2489 protected void setMinMaxQuantityHandling( 2490 int index, 2491 short newValue 2492 ) { 2493 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minMaxQuantityHandling", index, new Short (newValue)); 2494 } 2495 public Integer getMinPositions ( 2499 ) { 2500 return (Integer )this.refGetValue("minPositions", 0); 2501 } 2502 public void setMinPositions( 2506 Integer newValue 2507 ) { 2508 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minPositions", 0, newValue); 2509 } 2510 2511 public java.math.BigDecimal getMinQuantity ( 2515 ) { 2516 return (java.math.BigDecimal )this.refGetValue("minQuantity", 0); 2517 } 2518 public void setMinQuantity( 2522 java.math.BigDecimal newValue 2523 ) { 2524 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minQuantity", 0, newValue); 2525 } 2526 2527 public java.math.BigDecimal getOffsetQuantity ( 2531 ) { 2532 return (java.math.BigDecimal )this.refGetValue("offsetQuantity", 0); 2533 } 2534 public void setOffsetQuantity( 2538 java.math.BigDecimal newValue 2539 ) { 2540 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:offsetQuantity", 0, newValue); 2541 } 2542 2543 public java.math.BigDecimal getDiscount ( 2547 ) { 2548 return (java.math.BigDecimal )this.refGetValue("discount", 0); 2549 } 2550 public void setDiscount( 2554 java.math.BigDecimal newValue 2555 ) { 2556 refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:discount", 0, newValue); 2557 } 2558 2559 public Boolean isDiscountIsPercentage ( 2563 ) { 2564 return (Boolean )this.refGetValue("discountIsPercentage", 0); 2565 } 2566 public void setDiscountIsPercentage( 2570 Boolean newValue 2571 ) { 2572 refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:discountIsPercentage", 0, newValue); 2573 } 2574 2575 public Boolean isOverridePrice ( 2579 ) { 2580 return (Boolean )this.refGetValue("overridePrice", 0); 2581 } 2582 public void setOverridePrice( 2586 Boolean newValue 2587 ) { 2588 refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:overridePrice", 0, newValue); 2589 } 2590 2591 public org.opencrx.kernel.product1.cci.PricingRule getPricingRule( 2595 ) { 2596 return (org.opencrx.kernel.product1.cci.PricingRule)refGetValue( 2597 "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule" 2598 ); 2599 } 2600 2601 public void setPricingRule( 2605 org.opencrx.kernel.product1.cci.PricingRule newValue 2606 ) { 2607 refSetValue( 2608 "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule", 2609 newValue 2610 ); 2611 } 2612 2613 public void removePricingRule ( 2617 ) { 2618 refRemoveValue( 2619 "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule" 2620 ); 2621 } 2622 public org.opencrx.kernel.product1.cci.ProductBundleType getBundleType( 2626 ) { 2627 return (org.opencrx.kernel.product1.cci.ProductBundleType)refGetValue( 2628 "org:opencrx:kernel:product1:ProductBundle:bundleType" 2629 ); 2630 } 2631 2632 public void setBundleType( 2636 org.opencrx.kernel.product1.cci.ProductBundleType newValue 2637 ) { 2638 refSetValue( 2639 "org:opencrx:kernel:product1:ProductBundle:bundleType", 2640 newValue 2641 ); 2642 } 2643 2644 public void removeBundleType ( 2648 ) { 2649 refRemoveValue( 2650 "org:opencrx:kernel:product1:ProductBundle:bundleType" 2651 ); 2652 } 2653 public java.util.Date getCreatedAt( 2657 ) { 2658 return getCreatedAt(0); 2659 } 2660 2661 protected java.util.Date getCreatedAt( 2662 int index 2663 ) { 2664 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 2665 } 2666 2667 protected void setCreatedAt( 2671 java.util.Date newValue 2672 ) { 2673 setCreatedAt(0, newValue); 2674 } 2675 2676 protected void setCreatedAt( 2677 int index, 2678 java.util.Date newValue 2679 ) { 2680 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 2681 } 2682 public java.util.Set getCreatedBy ( 2686 ) { 2687 return (java.util.Set )this.refGetValue("createdBy"); 2688 } 2689 protected void setCreatedBy( 2693 java.util.Set newValue 2694 ) { 2695 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2696 } 2697 2698 protected void setCreatedBy( 2699 String [] newValue 2700 ) { 2701 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2702 } 2703 2704 public java.util.Date getModifiedAt( 2708 ) { 2709 return getModifiedAt(0); 2710 } 2711 2712 protected java.util.Date getModifiedAt( 2713 int index 2714 ) { 2715 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 2716 } 2717 2718 protected void setModifiedAt( 2722 java.util.Date newValue 2723 ) { 2724 setModifiedAt(0, newValue); 2725 } 2726 2727 protected void setModifiedAt( 2728 int index, 2729 java.util.Date newValue 2730 ) { 2731 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 2732 } 2733 public java.util.Set getModifiedBy ( 2737 ) { 2738 return (java.util.Set )this.refGetValue("modifiedBy"); 2739 } 2740 protected void setModifiedBy( 2744 java.util.Set newValue 2745 ) { 2746 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2747 } 2748 2749 protected void setModifiedBy( 2750 String [] newValue 2751 ) { 2752 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2753 } 2754 2755 protected void setContext( 2759 java.util.List newValue 2760 ) { 2761 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2762 } 2763 2764 protected void setContext( 2765 org.openmdx.base.cci.Context[] newValue 2766 ) { 2767 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2768 } 2769 2770 public org.openmdx.base.cci.Context getContext( 2774 String id 2775 ) { 2776 return (org.openmdx.base.cci.Context)refGetValue( 2777 "org:openmdx:base:ContextCapable:context", 2778 id 2779 ); 2780 } 2781 2782 public java.util.Collection getContext( 2786 ) { 2787 return (java.util.Collection )refGetValue( 2788 "org:openmdx:base:ContextCapable:context" 2789 ); 2790 } 2791 2792 protected void addContext ( 2796 String id, 2797 org.openmdx.base.cci.Context newValue 2798 ) { 2799 refAddValue( 2800 "org:openmdx:base:ContextCapable:context", 2801 id, 2802 newValue 2803 ); 2804 } 2805 2806 protected void addContext ( 2810 org.openmdx.base.cci.Context newValue 2811 ) { 2812 refAddValue( 2813 "org:openmdx:base:ContextCapable:context", 2814 newValue 2815 ); 2816 } 2817 2818 protected void removeContext ( 2822 String id 2823 ) { 2824 refRemoveValue( 2825 "org:openmdx:base:ContextCapable:context", 2826 id 2827 ); 2828 } 2829 2830 public String getIdentity( 2834 ) { 2835 return getIdentity(0); 2836 } 2837 2838 protected String getIdentity( 2839 int index 2840 ) { 2841 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 2842 } 2843 2844 protected void setIdentity( 2848 String newValue 2849 ) { 2850 setIdentity(0, newValue); 2851 } 2852 2853 protected void setIdentity( 2854 int index, 2855 String newValue 2856 ) { 2857 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 2858 } 2859 protected void setView( 2863 java.util.List newValue 2864 ) { 2865 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2866 } 2867 2868 protected void setView( 2869 org.openmdx.compatibility.view1.cci.View[] newValue 2870 ) { 2871 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2872 } 2873 2874 public org.openmdx.compatibility.view1.cci.View getView( 2878 String namespace 2879 ) { 2880 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 2881 "org:openmdx:compatibility:view1:ViewCapable:view", 2882 namespace 2883 ); 2884 } 2885 2886 public java.util.Collection getView( 2890 ) { 2891 return (java.util.Collection )refGetValue( 2892 "org:openmdx:compatibility:view1:ViewCapable:view" 2893 ); 2894 } 2895 2896 public java.util.List getView( 2897 org.openmdx.compatibility.view1.cci.ViewFilter filter 2898 ) { 2899 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2900 "org:openmdx:compatibility:view1:ViewCapable:view" 2901 )).toList(filter); 2902 } 2903 2904 protected void addView ( 2908 String namespace, 2909 org.openmdx.compatibility.view1.cci.View newValue 2910 ) { 2911 refAddValue( 2912 "org:openmdx:compatibility:view1:ViewCapable:view", 2913 namespace, 2914 newValue 2915 ); 2916 } 2917 2918 protected void addView ( 2922 org.openmdx.compatibility.view1.cci.View newValue 2923 ) { 2924 refAddValue( 2925 "org:openmdx:compatibility:view1:ViewCapable:view", 2926 newValue 2927 ); 2928 } 2929 2930 protected void removeView ( 2934 String namespace 2935 ) { 2936 refRemoveValue( 2937 "org:openmdx:compatibility:view1:ViewCapable:view", 2938 namespace 2939 ); 2940 } 2941 2942} 2946 | Popular Tags |