1 package org.opencrx.kernel.product1.cci; 14 15 public class ProductImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Product { 18 19 public ProductImpl( 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 setAdditionalDescription( 1809 java.util.List newValue 1810 ) { 1811 refSetValue("org:opencrx:kernel:generic:DescriptionContainer:additionalDescription", newValue); 1812 } 1813 1814 public void setAdditionalDescription( 1815 org.opencrx.kernel.generic.cci.Description[] newValue 1816 ) { 1817 refSetValue("org:opencrx:kernel:generic:DescriptionContainer:additionalDescription", newValue); 1818 } 1819 1820 public org.opencrx.kernel.generic.cci.Description getAdditionalDescription( 1824 String id 1825 ) { 1826 return (org.opencrx.kernel.generic.cci.Description)refGetValue( 1827 "org:opencrx:kernel:generic:DescriptionContainer:additionalDescription", 1828 id 1829 ); 1830 } 1831 1832 public java.util.Collection getAdditionalDescription( 1836 ) { 1837 return (java.util.Collection )refGetValue( 1838 "org:opencrx:kernel:generic:DescriptionContainer:additionalDescription" 1839 ); 1840 } 1841 1842 public java.util.List getAdditionalDescription( 1843 org.opencrx.kernel.generic.cci.DescriptionFilter filter 1844 ) { 1845 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1846 "org:opencrx:kernel:generic:DescriptionContainer:additionalDescription" 1847 )).toList(filter); 1848 } 1849 1850 public void addAdditionalDescription ( 1854 String id, 1855 org.opencrx.kernel.generic.cci.Description newValue 1856 ) { 1857 refAddValue( 1858 "org:opencrx:kernel:generic:DescriptionContainer:additionalDescription", 1859 id, 1860 newValue 1861 ); 1862 } 1863 1864 public void addAdditionalDescription ( 1868 org.opencrx.kernel.generic.cci.Description newValue 1869 ) { 1870 refAddValue( 1871 "org:opencrx:kernel:generic:DescriptionContainer:additionalDescription", 1872 newValue 1873 ); 1874 } 1875 1876 public void removeAdditionalDescription ( 1880 String id 1881 ) { 1882 refRemoveValue( 1883 "org:opencrx:kernel:generic:DescriptionContainer:additionalDescription", 1884 id 1885 ); 1886 } 1887 1888 public org.opencrx.kernel.document1.cci.Media getPicture( 1892 ) { 1893 return (org.opencrx.kernel.document1.cci.Media)refGetValue( 1894 "org:opencrx:kernel:generic:Pictured:picture" 1895 ); 1896 } 1897 1898 public void setPicture( 1902 org.opencrx.kernel.document1.cci.Media newValue 1903 ) { 1904 refSetValue( 1905 "org:opencrx:kernel:generic:Pictured:picture", 1906 newValue 1907 ); 1908 } 1909 1910 public void removePicture ( 1914 ) { 1915 refRemoveValue( 1916 "org:opencrx:kernel:generic:Pictured:picture" 1917 ); 1918 } 1919 public byte[] getPictureContent ( 1923 ) { 1924 return (byte[])this.refGetValue("pictureContent", 0); 1925 } 1926 protected void setPictureContent( 1930 byte[] newValue 1931 ) { 1932 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContent", 0, newValue); 1933 } 1934 1935 public String getPictureContentMimeType ( 1939 ) { 1940 return (String )this.refGetValue("pictureContentMimeType", 0); 1941 } 1942 protected void setPictureContentMimeType( 1946 String newValue 1947 ) { 1948 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentMimeType", 0, newValue); 1949 } 1950 1951 public String getPictureContentName ( 1955 ) { 1956 return (String )this.refGetValue("pictureContentName", 0); 1957 } 1958 protected void setPictureContentName( 1962 String newValue 1963 ) { 1964 refSetValue("org:opencrx:kernel:generic:Pictured:pictureContentName", 0, newValue); 1965 } 1966 1967 public void setBasePrice( 1971 java.util.List newValue 1972 ) { 1973 refSetValue("org:opencrx:kernel:product1:AbstractProduct:basePrice", newValue); 1974 } 1975 1976 public void setBasePrice( 1977 org.opencrx.kernel.product1.cci.ProductBasePrice[] newValue 1978 ) { 1979 refSetValue("org:opencrx:kernel:product1:AbstractProduct:basePrice", newValue); 1980 } 1981 1982 public org.opencrx.kernel.product1.cci.ProductBasePrice getBasePrice( 1986 String id 1987 ) { 1988 return (org.opencrx.kernel.product1.cci.ProductBasePrice)refGetValue( 1989 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1990 id 1991 ); 1992 } 1993 1994 public java.util.Collection getBasePrice( 1998 ) { 1999 return (java.util.Collection )refGetValue( 2000 "org:opencrx:kernel:product1:AbstractProduct:basePrice" 2001 ); 2002 } 2003 2004 public java.util.List getBasePrice( 2005 org.opencrx.kernel.product1.cci.ProductBasePriceFilter filter 2006 ) { 2007 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2008 "org:opencrx:kernel:product1:AbstractProduct:basePrice" 2009 )).toList(filter); 2010 } 2011 2012 public void addBasePrice ( 2016 String id, 2017 org.opencrx.kernel.product1.cci.ProductBasePrice newValue 2018 ) { 2019 refAddValue( 2020 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 2021 id, 2022 newValue 2023 ); 2024 } 2025 2026 public void addBasePrice ( 2030 org.opencrx.kernel.product1.cci.ProductBasePrice newValue 2031 ) { 2032 refAddValue( 2033 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 2034 newValue 2035 ); 2036 } 2037 2038 public void removeBasePrice ( 2042 String id 2043 ) { 2044 refRemoveValue( 2045 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 2046 id 2047 ); 2048 } 2049 2050 public org.opencrx.kernel.account1.cci.Competitor getCompetitor( 2054 ) { 2055 return (org.opencrx.kernel.account1.cci.Competitor)refGetValue( 2056 "org:opencrx:kernel:product1:AbstractProduct:competitor" 2057 ); 2058 } 2059 2060 public void setCompetitor( 2064 org.opencrx.kernel.account1.cci.Competitor newValue 2065 ) { 2066 refSetValue( 2067 "org:opencrx:kernel:product1:AbstractProduct:competitor", 2068 newValue 2069 ); 2070 } 2071 2072 public void removeCompetitor ( 2076 ) { 2077 refRemoveValue( 2078 "org:opencrx:kernel:product1:AbstractProduct:competitor" 2079 ); 2080 } 2081 public org.opencrx.kernel.product1.cci.PriceLevel getDefaultPriceLevel( 2085 ) { 2086 return (org.opencrx.kernel.product1.cci.PriceLevel)refGetValue( 2087 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel" 2088 ); 2089 } 2090 2091 public void setDefaultPriceLevel( 2095 org.opencrx.kernel.product1.cci.PriceLevel newValue 2096 ) { 2097 refSetValue( 2098 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel", 2099 newValue 2100 ); 2101 } 2102 2103 public void removeDefaultPriceLevel ( 2107 ) { 2108 refRemoveValue( 2109 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel" 2110 ); 2111 } 2112 public org.opencrx.kernel.uom1.cci.Uom getDefaultUom( 2116 ) { 2117 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 2118 "org:opencrx:kernel:product1:AbstractProduct:defaultUom" 2119 ); 2120 } 2121 2122 public void setDefaultUom( 2126 org.opencrx.kernel.uom1.cci.Uom newValue 2127 ) { 2128 refSetValue( 2129 "org:opencrx:kernel:product1:AbstractProduct:defaultUom", 2130 newValue 2131 ); 2132 } 2133 2134 public void removeDefaultUom ( 2138 ) { 2139 refRemoveValue( 2140 "org:opencrx:kernel:product1:AbstractProduct:defaultUom" 2141 ); 2142 } 2143 public String getDescription ( 2147 ) { 2148 return (String )this.refGetValue("description", 0); 2149 } 2150 public void setDescription( 2154 String newValue 2155 ) { 2156 refSetValue("org:opencrx:kernel:product1:AbstractProduct:description", 0, newValue); 2157 } 2158 2159 public String getDetailedDescription ( 2163 ) { 2164 return (String )this.refGetValue("detailedDescription", 0); 2165 } 2166 public void setDetailedDescription( 2170 String newValue 2171 ) { 2172 refSetValue("org:opencrx:kernel:product1:AbstractProduct:detailedDescription", 0, newValue); 2173 } 2174 2175 public String getName( 2179 ) { 2180 return getName(0); 2181 } 2182 2183 protected String getName( 2184 int index 2185 ) { 2186 return (String )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:name", index); 2187 } 2188 2189 public void setName( 2193 String newValue 2194 ) { 2195 setName(0, newValue); 2196 } 2197 2198 protected void setName( 2199 int index, 2200 String newValue 2201 ) { 2202 refSetValue("org:opencrx:kernel:product1:AbstractProduct:name", index, newValue); 2203 } 2204 public void setPriceUom( 2208 java.util.List newValue 2209 ) { 2210 refSetValue("org:opencrx:kernel:product1:AbstractProduct:priceUom", newValue); 2211 } 2212 2213 public void setPriceUom( 2214 org.opencrx.kernel.uom1.cci.Uom[] newValue 2215 ) { 2216 refSetValue("org:opencrx:kernel:product1:AbstractProduct:priceUom", newValue); 2217 } 2218 2219 public org.opencrx.kernel.uom1.cci.Uom getPriceUom( 2223 int index 2224 ) { 2225 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 2226 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2227 new Integer (index) 2228 ); 2229 } 2230 2231 public java.util.Collection getPriceUom( 2235 ) { 2236 return (java.util.Collection )refGetValue( 2237 "org:opencrx:kernel:product1:AbstractProduct:priceUom" 2238 ); 2239 } 2240 2241 public void addPriceUom ( 2245 int index, 2246 org.opencrx.kernel.uom1.cci.Uom newValue 2247 ) { 2248 refAddValue( 2249 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2250 new Integer (index), 2251 newValue 2252 ); 2253 } 2254 2255 public void addPriceUom ( 2259 org.opencrx.kernel.uom1.cci.Uom newValue 2260 ) { 2261 refAddValue( 2262 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2263 newValue 2264 ); 2265 } 2266 2267 public void removePriceUom ( 2271 int index 2272 ) { 2273 refRemoveValue( 2274 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2275 new Integer (index) 2276 ); 2277 } 2278 2279 public String getProductNumber( 2283 ) { 2284 return getProductNumber(0); 2285 } 2286 2287 protected String getProductNumber( 2288 int index 2289 ) { 2290 return (String )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productNumber", index); 2291 } 2292 2293 public void setProductNumber( 2297 String newValue 2298 ) { 2299 setProductNumber(0, newValue); 2300 } 2301 2302 protected void setProductNumber( 2303 int index, 2304 String newValue 2305 ) { 2306 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productNumber", index, newValue); 2307 } 2308 public short getProductState( 2312 ) { 2313 return getProductState(0); 2314 } 2315 2316 protected short getProductState( 2317 int index 2318 ) { 2319 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productState", index)).shortValue(); 2320 } 2321 2322 public void setProductState( 2326 short newValue 2327 ) { 2328 setProductState(0, newValue); 2329 } 2330 2331 protected void setProductState( 2332 int index, 2333 short newValue 2334 ) { 2335 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productState", index, new Short (newValue)); 2336 } 2337 public short getProductType( 2341 ) { 2342 return getProductType(0); 2343 } 2344 2345 protected short getProductType( 2346 int index 2347 ) { 2348 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productType", index)).shortValue(); 2349 } 2350 2351 public void setProductType( 2355 short newValue 2356 ) { 2357 setProductType(0, newValue); 2358 } 2359 2360 protected void setProductType( 2361 int index, 2362 short newValue 2363 ) { 2364 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productType", index, new Short (newValue)); 2365 } 2366 public org.opencrx.kernel.activity1.cci.ActivityTracker getProductUsage( 2370 ) { 2371 return (org.opencrx.kernel.activity1.cci.ActivityTracker)refGetValue( 2372 "org:opencrx:kernel:product1:AbstractProduct:productUsage" 2373 ); 2374 } 2375 2376 public void setProductUsage( 2380 org.opencrx.kernel.activity1.cci.ActivityTracker newValue 2381 ) { 2382 refSetValue( 2383 "org:opencrx:kernel:product1:AbstractProduct:productUsage", 2384 newValue 2385 ); 2386 } 2387 2388 public void removeProductUsage ( 2392 ) { 2393 refRemoveValue( 2394 "org:opencrx:kernel:product1:AbstractProduct:productUsage" 2395 ); 2396 } 2397 public org.opencrx.kernel.product1.cci.SalesTaxType getSalesTaxType( 2401 ) { 2402 return (org.opencrx.kernel.product1.cci.SalesTaxType)refGetValue( 2403 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType" 2404 ); 2405 } 2406 2407 public void setSalesTaxType( 2411 org.opencrx.kernel.product1.cci.SalesTaxType newValue 2412 ) { 2413 refSetValue( 2414 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType", 2415 newValue 2416 ); 2417 } 2418 2419 public void removeSalesTaxType ( 2423 ) { 2424 refRemoveValue( 2425 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType" 2426 ); 2427 } 2428 public void setSupplier( 2432 java.util.List newValue 2433 ) { 2434 refSetValue("org:opencrx:kernel:product1:AbstractProduct:supplier", newValue); 2435 } 2436 2437 public void setSupplier( 2438 org.opencrx.kernel.account1.cci.Account[] newValue 2439 ) { 2440 refSetValue("org:opencrx:kernel:product1:AbstractProduct:supplier", newValue); 2441 } 2442 2443 public org.opencrx.kernel.account1.cci.Account getSupplier( 2447 int index 2448 ) { 2449 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 2450 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2451 new Integer (index) 2452 ); 2453 } 2454 2455 public java.util.Collection getSupplier( 2459 ) { 2460 return (java.util.Collection )refGetValue( 2461 "org:opencrx:kernel:product1:AbstractProduct:supplier" 2462 ); 2463 } 2464 2465 public void addSupplier ( 2469 int index, 2470 org.opencrx.kernel.account1.cci.Account newValue 2471 ) { 2472 refAddValue( 2473 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2474 new Integer (index), 2475 newValue 2476 ); 2477 } 2478 2479 public void addSupplier ( 2483 org.opencrx.kernel.account1.cci.Account newValue 2484 ) { 2485 refAddValue( 2486 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2487 newValue 2488 ); 2489 } 2490 2491 public void removeSupplier ( 2495 int index 2496 ) { 2497 refRemoveValue( 2498 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2499 new Integer (index) 2500 ); 2501 } 2502 2503 public Boolean isAllowModification ( 2507 ) { 2508 return (Boolean )this.refGetValue("allowModification", 0); 2509 } 2510 public void setAllowModification( 2514 Boolean newValue 2515 ) { 2516 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:allowModification", 0, newValue); 2517 } 2518 2519 public Boolean isAllowRemoval ( 2523 ) { 2524 return (Boolean )this.refGetValue("allowRemoval", 0); 2525 } 2526 public void setAllowRemoval( 2530 Boolean newValue 2531 ) { 2532 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:allowRemoval", 0, newValue); 2533 } 2534 2535 public Integer getDefaultPositions ( 2539 ) { 2540 return (Integer )this.refGetValue("defaultPositions", 0); 2541 } 2542 public void setDefaultPositions( 2546 Integer newValue 2547 ) { 2548 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:defaultPositions", 0, newValue); 2549 } 2550 2551 public java.math.BigDecimal getDefaultQuantity ( 2555 ) { 2556 return (java.math.BigDecimal )this.refGetValue("defaultQuantity", 0); 2557 } 2558 public void setDefaultQuantity( 2562 java.math.BigDecimal newValue 2563 ) { 2564 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:defaultQuantity", 0, newValue); 2565 } 2566 2567 public int getItemNumber( 2571 ) { 2572 return getItemNumber(0); 2573 } 2574 2575 protected int getItemNumber( 2576 int index 2577 ) { 2578 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:ContractPositionConstrained:itemNumber", index)).intValue(); 2579 } 2580 2581 public void setItemNumber( 2585 int newValue 2586 ) { 2587 setItemNumber(0, newValue); 2588 } 2589 2590 protected void setItemNumber( 2591 int index, 2592 int newValue 2593 ) { 2594 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:itemNumber", index, new Integer (newValue)); 2595 } 2596 public Integer getMaxPositions ( 2600 ) { 2601 return (Integer )this.refGetValue("maxPositions", 0); 2602 } 2603 public void setMaxPositions( 2607 Integer newValue 2608 ) { 2609 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:maxPositions", 0, newValue); 2610 } 2611 2612 public java.math.BigDecimal getMaxQuantity ( 2616 ) { 2617 return (java.math.BigDecimal )this.refGetValue("maxQuantity", 0); 2618 } 2619 public void setMaxQuantity( 2623 java.math.BigDecimal newValue 2624 ) { 2625 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:maxQuantity", 0, newValue); 2626 } 2627 2628 public short getMinMaxQuantityHandling( 2632 ) { 2633 return getMinMaxQuantityHandling(0); 2634 } 2635 2636 protected short getMinMaxQuantityHandling( 2637 int index 2638 ) { 2639 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minMaxQuantityHandling", index)).shortValue(); 2640 } 2641 2642 public void setMinMaxQuantityHandling( 2646 short newValue 2647 ) { 2648 setMinMaxQuantityHandling(0, newValue); 2649 } 2650 2651 protected void setMinMaxQuantityHandling( 2652 int index, 2653 short newValue 2654 ) { 2655 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minMaxQuantityHandling", index, new Short (newValue)); 2656 } 2657 public Integer getMinPositions ( 2661 ) { 2662 return (Integer )this.refGetValue("minPositions", 0); 2663 } 2664 public void setMinPositions( 2668 Integer newValue 2669 ) { 2670 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minPositions", 0, newValue); 2671 } 2672 2673 public java.math.BigDecimal getMinQuantity ( 2677 ) { 2678 return (java.math.BigDecimal )this.refGetValue("minQuantity", 0); 2679 } 2680 public void setMinQuantity( 2684 java.math.BigDecimal newValue 2685 ) { 2686 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minQuantity", 0, newValue); 2687 } 2688 2689 public java.math.BigDecimal getOffsetQuantity ( 2693 ) { 2694 return (java.math.BigDecimal )this.refGetValue("offsetQuantity", 0); 2695 } 2696 public void setOffsetQuantity( 2700 java.math.BigDecimal newValue 2701 ) { 2702 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:offsetQuantity", 0, newValue); 2703 } 2704 2705 public java.math.BigDecimal getGrossWeightKilogram ( 2709 ) { 2710 return (java.math.BigDecimal )this.refGetValue("grossWeightKilogram", 0); 2711 } 2712 public void setGrossWeightKilogram( 2716 java.math.BigDecimal newValue 2717 ) { 2718 refSetValue("org:opencrx:kernel:product1:Product:grossWeightKilogram", 0, newValue); 2719 } 2720 2721 public Boolean isStockItem ( 2725 ) { 2726 return (Boolean )this.refGetValue("isStockItem", 0); 2727 } 2728 public void setStockItem( 2732 Boolean newValue 2733 ) { 2734 refSetValue("org:opencrx:kernel:product1:Product:isStockItem", 0, newValue); 2735 } 2736 2737 public java.math.BigDecimal getNetWeightKilogram ( 2741 ) { 2742 return (java.math.BigDecimal )this.refGetValue("netWeightKilogram", 0); 2743 } 2744 public void setNetWeightKilogram( 2748 java.math.BigDecimal newValue 2749 ) { 2750 refSetValue("org:opencrx:kernel:product1:Product:netWeightKilogram", 0, newValue); 2751 } 2752 2753 public String getProductDimension ( 2757 ) { 2758 return (String )this.refGetValue("productDimension", 0); 2759 } 2760 public void setProductDimension( 2764 String newValue 2765 ) { 2766 refSetValue("org:opencrx:kernel:product1:Product:productDimension", 0, newValue); 2767 } 2768 2769 public void setRelatedProduct( 2773 java.util.List newValue 2774 ) { 2775 refSetValue("org:opencrx:kernel:product1:Product:relatedProduct", newValue); 2776 } 2777 2778 public void setRelatedProduct( 2779 org.opencrx.kernel.product1.cci.RelatedProduct[] newValue 2780 ) { 2781 refSetValue("org:opencrx:kernel:product1:Product:relatedProduct", newValue); 2782 } 2783 2784 public org.opencrx.kernel.product1.cci.RelatedProduct getRelatedProduct( 2788 String id 2789 ) { 2790 return (org.opencrx.kernel.product1.cci.RelatedProduct)refGetValue( 2791 "org:opencrx:kernel:product1:Product:relatedProduct", 2792 id 2793 ); 2794 } 2795 2796 public java.util.Collection getRelatedProduct( 2800 ) { 2801 return (java.util.Collection )refGetValue( 2802 "org:opencrx:kernel:product1:Product:relatedProduct" 2803 ); 2804 } 2805 2806 public java.util.List getRelatedProduct( 2807 org.opencrx.kernel.product1.cci.RelatedProductFilter filter 2808 ) { 2809 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2810 "org:opencrx:kernel:product1:Product:relatedProduct" 2811 )).toList(filter); 2812 } 2813 2814 public void addRelatedProduct ( 2818 String id, 2819 org.opencrx.kernel.product1.cci.RelatedProduct newValue 2820 ) { 2821 refAddValue( 2822 "org:opencrx:kernel:product1:Product:relatedProduct", 2823 id, 2824 newValue 2825 ); 2826 } 2827 2828 public void addRelatedProduct ( 2832 org.opencrx.kernel.product1.cci.RelatedProduct newValue 2833 ) { 2834 refAddValue( 2835 "org:opencrx:kernel:product1:Product:relatedProduct", 2836 newValue 2837 ); 2838 } 2839 2840 public void removeRelatedProduct ( 2844 String id 2845 ) { 2846 refRemoveValue( 2847 "org:opencrx:kernel:product1:Product:relatedProduct", 2848 id 2849 ); 2850 } 2851 2852 public org.openmdx.base.cci.Void setConfigurationType( 2856 org.opencrx.kernel.product1.cci.SetConfigurationTypeParams params 2857 ) throws javax.jmi.reflect.RefException { 2858 java.util.List args = new java.util.ArrayList (); 2859 args.add(params); 2860 return (org.openmdx.base.cci.Void)refInvokeOperation( 2861 "org:opencrx:kernel:product1:Product:setConfigurationType", 2862 args 2863 ); 2864 } 2865 2866 public org.openmdx.base.cci.Void setConfigurationType( 2867 org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet configurationType 2868 ) throws javax.jmi.reflect.RefException { 2869 return setConfigurationType( 2870 ((org.opencrx.kernel.product1.cci.product1Package)refOutermostPackage().refPackage("org:opencrx:kernel:product1")).createSetConfigurationTypeParams( 2871 configurationType 2872 ) 2873 ); 2874 } 2875 2876 public org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet getConfigType( 2880 ) { 2881 return (org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet)refGetValue( 2882 "org:opencrx:kernel:product1:ProductConfigurationSet:configType" 2883 ); 2884 } 2885 2886 protected void setConfigType( 2890 org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet newValue 2891 ) { 2892 refSetValue( 2893 "org:opencrx:kernel:product1:ProductConfigurationSet:configType", 2894 newValue 2895 ); 2896 } 2897 2898 protected void removeConfigType ( 2902 ) { 2903 refRemoveValue( 2904 "org:opencrx:kernel:product1:ProductConfigurationSet:configType" 2905 ); 2906 } 2907 public void setConfiguration( 2911 java.util.List newValue 2912 ) { 2913 refSetValue("org:opencrx:kernel:product1:ProductConfigurationSet:configuration", newValue); 2914 } 2915 2916 public void setConfiguration( 2917 org.opencrx.kernel.product1.cci.ProductConfiguration[] newValue 2918 ) { 2919 refSetValue("org:opencrx:kernel:product1:ProductConfigurationSet:configuration", newValue); 2920 } 2921 2922 public org.opencrx.kernel.product1.cci.ProductConfiguration getConfiguration( 2926 String id 2927 ) { 2928 return (org.opencrx.kernel.product1.cci.ProductConfiguration)refGetValue( 2929 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration", 2930 id 2931 ); 2932 } 2933 2934 public java.util.Collection getConfiguration( 2938 ) { 2939 return (java.util.Collection )refGetValue( 2940 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration" 2941 ); 2942 } 2943 2944 public java.util.List getConfiguration( 2945 org.opencrx.kernel.product1.cci.ProductConfigurationFilter filter 2946 ) { 2947 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2948 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration" 2949 )).toList(filter); 2950 } 2951 2952 public void addConfiguration ( 2956 String id, 2957 org.opencrx.kernel.product1.cci.ProductConfiguration newValue 2958 ) { 2959 refAddValue( 2960 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration", 2961 id, 2962 newValue 2963 ); 2964 } 2965 2966 public void addConfiguration ( 2970 org.opencrx.kernel.product1.cci.ProductConfiguration newValue 2971 ) { 2972 refAddValue( 2973 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration", 2974 newValue 2975 ); 2976 } 2977 2978 public void removeConfiguration ( 2982 String id 2983 ) { 2984 refRemoveValue( 2985 "org:opencrx:kernel:product1:ProductConfigurationSet:configuration", 2986 id 2987 ); 2988 } 2989 2990 public org.openmdx.base.cci.Void unsetConfigurationType( 2994 org.openmdx.base.cci.Void params 2995 ) throws javax.jmi.reflect.RefException { 2996 java.util.List args = new java.util.ArrayList (); 2997 args.add(params); 2998 return (org.openmdx.base.cci.Void)refInvokeOperation( 2999 "org:opencrx:kernel:product1:ProductConfigurationSet:unsetConfigurationType", 3000 args 3001 ); 3002 } 3003 3004 public org.openmdx.base.cci.Void unsetConfigurationType( 3005 ) throws javax.jmi.reflect.RefException { 3006 return unsetConfigurationType( 3007 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 3008 ) 3009 ); 3010 } 3011 3012 public java.util.Date getCreatedAt( 3016 ) { 3017 return getCreatedAt(0); 3018 } 3019 3020 protected java.util.Date getCreatedAt( 3021 int index 3022 ) { 3023 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 3024 } 3025 3026 protected void setCreatedAt( 3030 java.util.Date newValue 3031 ) { 3032 setCreatedAt(0, newValue); 3033 } 3034 3035 protected void setCreatedAt( 3036 int index, 3037 java.util.Date newValue 3038 ) { 3039 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 3040 } 3041 public java.util.Set getCreatedBy ( 3045 ) { 3046 return (java.util.Set )this.refGetValue("createdBy"); 3047 } 3048 protected void setCreatedBy( 3052 java.util.Set newValue 3053 ) { 3054 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 3055 } 3056 3057 protected void setCreatedBy( 3058 String [] newValue 3059 ) { 3060 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 3061 } 3062 3063 public java.util.Date getModifiedAt( 3067 ) { 3068 return getModifiedAt(0); 3069 } 3070 3071 protected java.util.Date getModifiedAt( 3072 int index 3073 ) { 3074 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 3075 } 3076 3077 protected void setModifiedAt( 3081 java.util.Date newValue 3082 ) { 3083 setModifiedAt(0, newValue); 3084 } 3085 3086 protected void setModifiedAt( 3087 int index, 3088 java.util.Date newValue 3089 ) { 3090 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 3091 } 3092 public java.util.Set getModifiedBy ( 3096 ) { 3097 return (java.util.Set )this.refGetValue("modifiedBy"); 3098 } 3099 protected void setModifiedBy( 3103 java.util.Set newValue 3104 ) { 3105 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 3106 } 3107 3108 protected void setModifiedBy( 3109 String [] newValue 3110 ) { 3111 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 3112 } 3113 3114 protected void setContext( 3118 java.util.List newValue 3119 ) { 3120 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 3121 } 3122 3123 protected void setContext( 3124 org.openmdx.base.cci.Context[] newValue 3125 ) { 3126 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 3127 } 3128 3129 public org.openmdx.base.cci.Context getContext( 3133 String id 3134 ) { 3135 return (org.openmdx.base.cci.Context)refGetValue( 3136 "org:openmdx:base:ContextCapable:context", 3137 id 3138 ); 3139 } 3140 3141 public java.util.Collection getContext( 3145 ) { 3146 return (java.util.Collection )refGetValue( 3147 "org:openmdx:base:ContextCapable:context" 3148 ); 3149 } 3150 3151 protected void addContext ( 3155 String id, 3156 org.openmdx.base.cci.Context newValue 3157 ) { 3158 refAddValue( 3159 "org:openmdx:base:ContextCapable:context", 3160 id, 3161 newValue 3162 ); 3163 } 3164 3165 protected void addContext ( 3169 org.openmdx.base.cci.Context newValue 3170 ) { 3171 refAddValue( 3172 "org:openmdx:base:ContextCapable:context", 3173 newValue 3174 ); 3175 } 3176 3177 protected void removeContext ( 3181 String id 3182 ) { 3183 refRemoveValue( 3184 "org:openmdx:base:ContextCapable:context", 3185 id 3186 ); 3187 } 3188 3189 public String getIdentity( 3193 ) { 3194 return getIdentity(0); 3195 } 3196 3197 protected String getIdentity( 3198 int index 3199 ) { 3200 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 3201 } 3202 3203 protected void setIdentity( 3207 String newValue 3208 ) { 3209 setIdentity(0, newValue); 3210 } 3211 3212 protected void setIdentity( 3213 int index, 3214 String newValue 3215 ) { 3216 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 3217 } 3218 protected void setView( 3222 java.util.List newValue 3223 ) { 3224 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 3225 } 3226 3227 protected void setView( 3228 org.openmdx.compatibility.view1.cci.View[] newValue 3229 ) { 3230 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 3231 } 3232 3233 public org.openmdx.compatibility.view1.cci.View getView( 3237 String namespace 3238 ) { 3239 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 3240 "org:openmdx:compatibility:view1:ViewCapable:view", 3241 namespace 3242 ); 3243 } 3244 3245 public java.util.Collection getView( 3249 ) { 3250 return (java.util.Collection )refGetValue( 3251 "org:openmdx:compatibility:view1:ViewCapable:view" 3252 ); 3253 } 3254 3255 public java.util.List getView( 3256 org.openmdx.compatibility.view1.cci.ViewFilter filter 3257 ) { 3258 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 3259 "org:openmdx:compatibility:view1:ViewCapable:view" 3260 )).toList(filter); 3261 } 3262 3263 protected void addView ( 3267 String namespace, 3268 org.openmdx.compatibility.view1.cci.View newValue 3269 ) { 3270 refAddValue( 3271 "org:openmdx:compatibility:view1:ViewCapable:view", 3272 namespace, 3273 newValue 3274 ); 3275 } 3276 3277 protected void addView ( 3281 org.openmdx.compatibility.view1.cci.View newValue 3282 ) { 3283 refAddValue( 3284 "org:openmdx:compatibility:view1:ViewCapable:view", 3285 newValue 3286 ); 3287 } 3288 3289 protected void removeView ( 3293 String namespace 3294 ) { 3295 refRemoveValue( 3296 "org:openmdx:compatibility:view1:ViewCapable:view", 3297 namespace 3298 ); 3299 } 3300 3301} 3305 | Popular Tags |