1 package org.opencrx.kernel.product1.cci; 14 15 public class PricingRuleImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements PricingRule { 18 19 public PricingRuleImpl( 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 setAdditionalExternalLink( 658 java.util.List newValue 659 ) { 660 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 661 } 662 663 public void setAdditionalExternalLink( 664 org.opencrx.kernel.generic.cci.AdditionalExternalLink[] newValue 665 ) { 666 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 667 } 668 669 public org.opencrx.kernel.generic.cci.AdditionalExternalLink getAdditionalExternalLink( 673 String id 674 ) { 675 return (org.opencrx.kernel.generic.cci.AdditionalExternalLink)refGetValue( 676 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 677 id 678 ); 679 } 680 681 public java.util.Collection getAdditionalExternalLink( 685 ) { 686 return (java.util.Collection )refGetValue( 687 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 688 ); 689 } 690 691 public java.util.List getAdditionalExternalLink( 692 org.opencrx.kernel.generic.cci.AdditionalExternalLinkFilter filter 693 ) { 694 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 695 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 696 )).toList(filter); 697 } 698 699 public void addAdditionalExternalLink ( 703 String id, 704 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 705 ) { 706 refAddValue( 707 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 708 id, 709 newValue 710 ); 711 } 712 713 public void addAdditionalExternalLink ( 717 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 718 ) { 719 refAddValue( 720 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 721 newValue 722 ); 723 } 724 725 public void removeAdditionalExternalLink ( 729 String id 730 ) { 731 refRemoveValue( 732 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 733 id 734 ); 735 } 736 737 public void setAttachedDocument( 741 java.util.List newValue 742 ) { 743 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 744 } 745 746 public void setAttachedDocument( 747 org.opencrx.kernel.generic.cci.DocumentAttachment[] newValue 748 ) { 749 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 750 } 751 752 public org.opencrx.kernel.generic.cci.DocumentAttachment getAttachedDocument( 756 String id 757 ) { 758 return (org.opencrx.kernel.generic.cci.DocumentAttachment)refGetValue( 759 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 760 id 761 ); 762 } 763 764 public java.util.Collection getAttachedDocument( 768 ) { 769 return (java.util.Collection )refGetValue( 770 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 771 ); 772 } 773 774 public java.util.List getAttachedDocument( 775 org.opencrx.kernel.generic.cci.DocumentAttachmentFilter filter 776 ) { 777 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 778 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 779 )).toList(filter); 780 } 781 782 public void addAttachedDocument ( 786 String id, 787 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 788 ) { 789 refAddValue( 790 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 791 id, 792 newValue 793 ); 794 } 795 796 public void addAttachedDocument ( 800 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 801 ) { 802 refAddValue( 803 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 804 newValue 805 ); 806 } 807 808 public void removeAttachedDocument ( 812 String id 813 ) { 814 refRemoveValue( 815 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 816 id 817 ); 818 } 819 820 public java.util.List getCategory ( 824 ) { 825 return (java.util.List )this.refGetValue("category"); 826 } 827 public String getCategory( 828 int index 829 ) { 830 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:category", index); 831 } 832 833 public void setCategory( 837 java.util.List newValue 838 ) { 839 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 840 } 841 842 public void setCategory( 843 String [] newValue 844 ) { 845 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 846 } 847 848 public boolean isDisabled( 852 ) { 853 return isDisabled(0); 854 } 855 856 protected boolean isDisabled( 857 int index 858 ) { 859 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:disabled", index)).booleanValue(); 860 } 861 862 public void setDisabled( 866 boolean newValue 867 ) { 868 setDisabled(0, newValue); 869 } 870 871 protected void setDisabled( 872 int index, 873 boolean newValue 874 ) { 875 refSetValue("org:opencrx:kernel:generic:CrxObject:disabled", index, new Boolean (newValue)); 876 } 877 public String getDisabledReason ( 881 ) { 882 return (String )this.refGetValue("disabledReason", 0); 883 } 884 public void setDisabledReason( 888 String newValue 889 ) { 890 refSetValue("org:opencrx:kernel:generic:CrxObject:disabledReason", 0, newValue); 891 } 892 893 public java.util.List getExternalLink ( 897 ) { 898 return (java.util.List )this.refGetValue("externalLink"); 899 } 900 public String getExternalLink( 901 int index 902 ) { 903 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:externalLink", index); 904 } 905 906 public void setExternalLink( 910 java.util.List newValue 911 ) { 912 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 913 } 914 915 public void setExternalLink( 916 String [] newValue 917 ) { 918 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 919 } 920 921 public void setMedia( 925 java.util.List newValue 926 ) { 927 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 928 } 929 930 public void setMedia( 931 org.opencrx.kernel.generic.cci.Media[] newValue 932 ) { 933 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 934 } 935 936 public org.opencrx.kernel.generic.cci.Media getMedia( 940 String id 941 ) { 942 return (org.opencrx.kernel.generic.cci.Media)refGetValue( 943 "org:opencrx:kernel:generic:CrxObject:media", 944 id 945 ); 946 } 947 948 public java.util.Collection getMedia( 952 ) { 953 return (java.util.Collection )refGetValue( 954 "org:opencrx:kernel:generic:CrxObject:media" 955 ); 956 } 957 958 public java.util.List getMedia( 959 org.opencrx.kernel.generic.cci.MediaFilter filter 960 ) { 961 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 962 "org:opencrx:kernel:generic:CrxObject:media" 963 )).toList(filter); 964 } 965 966 public void addMedia ( 970 String id, 971 org.opencrx.kernel.generic.cci.Media newValue 972 ) { 973 refAddValue( 974 "org:opencrx:kernel:generic:CrxObject:media", 975 id, 976 newValue 977 ); 978 } 979 980 public void addMedia ( 984 org.opencrx.kernel.generic.cci.Media newValue 985 ) { 986 refAddValue( 987 "org:opencrx:kernel:generic:CrxObject:media", 988 newValue 989 ); 990 } 991 992 public void removeMedia ( 996 String id 997 ) { 998 refRemoveValue( 999 "org:opencrx:kernel:generic:CrxObject:media", 1000 id 1001 ); 1002 } 1003 1004 public void setNote( 1008 java.util.List newValue 1009 ) { 1010 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1011 } 1012 1013 public void setNote( 1014 org.opencrx.kernel.generic.cci.Note[] newValue 1015 ) { 1016 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1017 } 1018 1019 public org.opencrx.kernel.generic.cci.Note getNote( 1023 String id 1024 ) { 1025 return (org.opencrx.kernel.generic.cci.Note)refGetValue( 1026 "org:opencrx:kernel:generic:CrxObject:note", 1027 id 1028 ); 1029 } 1030 1031 public java.util.Collection getNote( 1035 ) { 1036 return (java.util.Collection )refGetValue( 1037 "org:opencrx:kernel:generic:CrxObject:note" 1038 ); 1039 } 1040 1041 public java.util.List getNote( 1042 org.opencrx.kernel.generic.cci.NoteFilter filter 1043 ) { 1044 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1045 "org:opencrx:kernel:generic:CrxObject:note" 1046 )).toList(filter); 1047 } 1048 1049 public void addNote ( 1053 String id, 1054 org.opencrx.kernel.generic.cci.Note newValue 1055 ) { 1056 refAddValue( 1057 "org:opencrx:kernel:generic:CrxObject:note", 1058 id, 1059 newValue 1060 ); 1061 } 1062 1063 public void addNote ( 1067 org.opencrx.kernel.generic.cci.Note newValue 1068 ) { 1069 refAddValue( 1070 "org:opencrx:kernel:generic:CrxObject:note", 1071 newValue 1072 ); 1073 } 1074 1075 public void removeNote ( 1079 String id 1080 ) { 1081 refRemoveValue( 1082 "org:opencrx:kernel:generic:CrxObject:note", 1083 id 1084 ); 1085 } 1086 1087 public void setRating( 1091 java.util.List newValue 1092 ) { 1093 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1094 } 1095 1096 public void setRating( 1097 org.opencrx.kernel.generic.cci.Rating[] newValue 1098 ) { 1099 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1100 } 1101 1102 public org.opencrx.kernel.generic.cci.Rating getRating( 1106 String id 1107 ) { 1108 return (org.opencrx.kernel.generic.cci.Rating)refGetValue( 1109 "org:opencrx:kernel:generic:CrxObject:rating", 1110 id 1111 ); 1112 } 1113 1114 public java.util.Collection getRating( 1118 ) { 1119 return (java.util.Collection )refGetValue( 1120 "org:opencrx:kernel:generic:CrxObject:rating" 1121 ); 1122 } 1123 1124 public java.util.List getRating( 1125 org.opencrx.kernel.generic.cci.RatingFilter filter 1126 ) { 1127 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1128 "org:opencrx:kernel:generic:CrxObject:rating" 1129 )).toList(filter); 1130 } 1131 1132 public void addRating ( 1136 String id, 1137 org.opencrx.kernel.generic.cci.Rating newValue 1138 ) { 1139 refAddValue( 1140 "org:opencrx:kernel:generic:CrxObject:rating", 1141 id, 1142 newValue 1143 ); 1144 } 1145 1146 public void addRating ( 1150 org.opencrx.kernel.generic.cci.Rating newValue 1151 ) { 1152 refAddValue( 1153 "org:opencrx:kernel:generic:CrxObject:rating", 1154 newValue 1155 ); 1156 } 1157 1158 public void removeRating ( 1162 String id 1163 ) { 1164 refRemoveValue( 1165 "org:opencrx:kernel:generic:CrxObject:rating", 1166 id 1167 ); 1168 } 1169 1170 public Boolean isUserBoolean0 ( 1174 ) { 1175 return (Boolean )this.refGetValue("userBoolean0", 0); 1176 } 1177 public void setUserBoolean0( 1181 Boolean newValue 1182 ) { 1183 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean0", 0, newValue); 1184 } 1185 1186 public Boolean isUserBoolean1 ( 1190 ) { 1191 return (Boolean )this.refGetValue("userBoolean1", 0); 1192 } 1193 public void setUserBoolean1( 1197 Boolean newValue 1198 ) { 1199 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean1", 0, newValue); 1200 } 1201 1202 public Boolean isUserBoolean2 ( 1206 ) { 1207 return (Boolean )this.refGetValue("userBoolean2", 0); 1208 } 1209 public void setUserBoolean2( 1213 Boolean newValue 1214 ) { 1215 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean2", 0, newValue); 1216 } 1217 1218 public Boolean isUserBoolean3 ( 1222 ) { 1223 return (Boolean )this.refGetValue("userBoolean3", 0); 1224 } 1225 public void setUserBoolean3( 1229 Boolean newValue 1230 ) { 1231 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean3", 0, newValue); 1232 } 1233 1234 public java.util.List isUserBoolean4 ( 1238 ) { 1239 return (java.util.List )this.refGetValue("userBoolean4"); 1240 } 1241 public boolean isUserBoolean4( 1242 int index 1243 ) { 1244 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", index)).booleanValue(); 1245 } 1246 1247 public void setUserBoolean4( 1251 java.util.List newValue 1252 ) { 1253 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 1254 } 1255 1256 public void setUserBoolean4( 1257 boolean[] newValue 1258 ) { 1259 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 1260 } 1261 1262 public Short getUserCode0 ( 1266 ) { 1267 return (Short )this.refGetValue("userCode0", 0); 1268 } 1269 public void setUserCode0( 1273 Short newValue 1274 ) { 1275 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode0", 0, newValue); 1276 } 1277 1278 public Short getUserCode1 ( 1282 ) { 1283 return (Short )this.refGetValue("userCode1", 0); 1284 } 1285 public void setUserCode1( 1289 Short newValue 1290 ) { 1291 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode1", 0, newValue); 1292 } 1293 1294 public Short getUserCode2 ( 1298 ) { 1299 return (Short )this.refGetValue("userCode2", 0); 1300 } 1301 public void setUserCode2( 1305 Short newValue 1306 ) { 1307 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode2", 0, newValue); 1308 } 1309 1310 public Short getUserCode3 ( 1314 ) { 1315 return (Short )this.refGetValue("userCode3", 0); 1316 } 1317 public void setUserCode3( 1321 Short newValue 1322 ) { 1323 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode3", 0, newValue); 1324 } 1325 1326 public java.util.List getUserCode4 ( 1330 ) { 1331 return (java.util.List )this.refGetValue("userCode4"); 1332 } 1333 public short getUserCode4( 1334 int index 1335 ) { 1336 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userCode4", index)).shortValue(); 1337 } 1338 1339 public void setUserCode4( 1343 java.util.List newValue 1344 ) { 1345 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 1346 } 1347 1348 public void setUserCode4( 1349 short[] newValue 1350 ) { 1351 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 1352 } 1353 1354 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate0 ( 1358 ) { 1359 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate0", 0); 1360 } 1361 public void setUserDate0( 1365 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1366 ) { 1367 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate0", 0, newValue); 1368 } 1369 1370 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate1 ( 1374 ) { 1375 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate1", 0); 1376 } 1377 public void setUserDate1( 1381 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1382 ) { 1383 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate1", 0, newValue); 1384 } 1385 1386 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate2 ( 1390 ) { 1391 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate2", 0); 1392 } 1393 public void setUserDate2( 1397 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1398 ) { 1399 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate2", 0, newValue); 1400 } 1401 1402 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate3 ( 1406 ) { 1407 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate3", 0); 1408 } 1409 public void setUserDate3( 1413 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 1414 ) { 1415 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate3", 0, newValue); 1416 } 1417 1418 public java.util.List getUserDate4 ( 1422 ) { 1423 return (java.util.List )this.refGetValue("userDate4"); 1424 } 1425 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate4( 1426 int index 1427 ) { 1428 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDate4", index); 1429 } 1430 1431 public void setUserDate4( 1435 java.util.List newValue 1436 ) { 1437 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 1438 } 1439 1440 public void setUserDate4( 1441 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar[] newValue 1442 ) { 1443 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 1444 } 1445 1446 public java.util.Date getUserDateTime0 ( 1450 ) { 1451 return (java.util.Date )this.refGetValue("userDateTime0", 0); 1452 } 1453 public void setUserDateTime0( 1457 java.util.Date newValue 1458 ) { 1459 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime0", 0, newValue); 1460 } 1461 1462 public java.util.Date getUserDateTime1 ( 1466 ) { 1467 return (java.util.Date )this.refGetValue("userDateTime1", 0); 1468 } 1469 public void setUserDateTime1( 1473 java.util.Date newValue 1474 ) { 1475 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime1", 0, newValue); 1476 } 1477 1478 public java.util.Date getUserDateTime2 ( 1482 ) { 1483 return (java.util.Date )this.refGetValue("userDateTime2", 0); 1484 } 1485 public void setUserDateTime2( 1489 java.util.Date newValue 1490 ) { 1491 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime2", 0, newValue); 1492 } 1493 1494 public java.util.Date getUserDateTime3 ( 1498 ) { 1499 return (java.util.Date )this.refGetValue("userDateTime3", 0); 1500 } 1501 public void setUserDateTime3( 1505 java.util.Date newValue 1506 ) { 1507 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime3", 0, newValue); 1508 } 1509 1510 public java.util.List getUserDateTime4 ( 1514 ) { 1515 return (java.util.List )this.refGetValue("userDateTime4"); 1516 } 1517 public java.util.Date getUserDateTime4( 1518 int index 1519 ) { 1520 return (java.util.Date )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", index); 1521 } 1522 1523 public void setUserDateTime4( 1527 java.util.List newValue 1528 ) { 1529 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 1530 } 1531 1532 public void setUserDateTime4( 1533 java.util.Date [] newValue 1534 ) { 1535 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 1536 } 1537 1538 public java.math.BigDecimal getUserNumber0 ( 1542 ) { 1543 return (java.math.BigDecimal )this.refGetValue("userNumber0", 0); 1544 } 1545 public void setUserNumber0( 1549 java.math.BigDecimal newValue 1550 ) { 1551 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber0", 0, newValue); 1552 } 1553 1554 public java.math.BigDecimal getUserNumber1 ( 1558 ) { 1559 return (java.math.BigDecimal )this.refGetValue("userNumber1", 0); 1560 } 1561 public void setUserNumber1( 1565 java.math.BigDecimal newValue 1566 ) { 1567 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber1", 0, newValue); 1568 } 1569 1570 public java.math.BigDecimal getUserNumber2 ( 1574 ) { 1575 return (java.math.BigDecimal )this.refGetValue("userNumber2", 0); 1576 } 1577 public void setUserNumber2( 1581 java.math.BigDecimal newValue 1582 ) { 1583 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber2", 0, newValue); 1584 } 1585 1586 public java.math.BigDecimal getUserNumber3 ( 1590 ) { 1591 return (java.math.BigDecimal )this.refGetValue("userNumber3", 0); 1592 } 1593 public void setUserNumber3( 1597 java.math.BigDecimal newValue 1598 ) { 1599 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber3", 0, newValue); 1600 } 1601 1602 public java.util.List getUserNumber4 ( 1606 ) { 1607 return (java.util.List )this.refGetValue("userNumber4"); 1608 } 1609 public java.math.BigDecimal getUserNumber4( 1610 int index 1611 ) { 1612 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", index); 1613 } 1614 1615 public void setUserNumber4( 1619 java.util.List newValue 1620 ) { 1621 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 1622 } 1623 1624 public void setUserNumber4( 1625 java.math.BigDecimal [] newValue 1626 ) { 1627 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 1628 } 1629 1630 public String getUserString0 ( 1634 ) { 1635 return (String )this.refGetValue("userString0", 0); 1636 } 1637 public void setUserString0( 1641 String newValue 1642 ) { 1643 refSetValue("org:opencrx:kernel:generic:CrxObject:userString0", 0, newValue); 1644 } 1645 1646 public String getUserString1 ( 1650 ) { 1651 return (String )this.refGetValue("userString1", 0); 1652 } 1653 public void setUserString1( 1657 String newValue 1658 ) { 1659 refSetValue("org:opencrx:kernel:generic:CrxObject:userString1", 0, newValue); 1660 } 1661 1662 public String getUserString2 ( 1666 ) { 1667 return (String )this.refGetValue("userString2", 0); 1668 } 1669 public void setUserString2( 1673 String newValue 1674 ) { 1675 refSetValue("org:opencrx:kernel:generic:CrxObject:userString2", 0, newValue); 1676 } 1677 1678 public String getUserString3 ( 1682 ) { 1683 return (String )this.refGetValue("userString3", 0); 1684 } 1685 public void setUserString3( 1689 String newValue 1690 ) { 1691 refSetValue("org:opencrx:kernel:generic:CrxObject:userString3", 0, newValue); 1692 } 1693 1694 public java.util.List getUserString4 ( 1698 ) { 1699 return (java.util.List )this.refGetValue("userString4"); 1700 } 1701 public String getUserString4( 1702 int index 1703 ) { 1704 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userString4", index); 1705 } 1706 1707 public void setUserString4( 1711 java.util.List newValue 1712 ) { 1713 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 1714 } 1715 1716 public void setUserString4( 1717 String [] newValue 1718 ) { 1719 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 1720 } 1721 1722 public String getDescription ( 1726 ) { 1727 return (String )this.refGetValue("description", 0); 1728 } 1729 public void setDescription( 1733 String newValue 1734 ) { 1735 refSetValue("org:opencrx:kernel:product1:PricingRule:description", 0, newValue); 1736 } 1737 1738 public org.opencrx.kernel.product1.cci.GetPriceLevelResult getPriceLevel( 1742 org.opencrx.kernel.product1.cci.GetPriceLevelParams params 1743 ) throws javax.jmi.reflect.RefException { 1744 java.util.List args = new java.util.ArrayList (); 1745 args.add(params); 1746 return (org.opencrx.kernel.product1.cci.GetPriceLevelResult)refInvokeOperation( 1747 "org:opencrx:kernel:product1:PricingRule:getPriceLevel", 1748 args 1749 ); 1750 } 1751 1752 public org.opencrx.kernel.product1.cci.GetPriceLevelResult getPriceLevel( 1753 org.opencrx.kernel.contract1.cci.AbstractContract contract 1754 , org.opencrx.kernel.uom1.cci.Uom priceUom 1755 , java.util.Date pricingDate 1756 , org.opencrx.kernel.product1.cci.AbstractProduct product 1757 , java.math.BigDecimal quantity 1758 ) throws javax.jmi.reflect.RefException { 1759 return getPriceLevel( 1760 ((org.opencrx.kernel.product1.cci.product1Package)refOutermostPackage().refPackage("org:opencrx:kernel:product1")).createGetPriceLevelParams( 1761 contract 1762 , priceUom 1763 , pricingDate 1764 , product 1765 , quantity 1766 ) 1767 ); 1768 } 1769 1770 public String getGetPriceLevelScript ( 1774 ) { 1775 return (String )this.refGetValue("getPriceLevelScript", 0); 1776 } 1777 public void setGetPriceLevelScript( 1781 String newValue 1782 ) { 1783 refSetValue("org:opencrx:kernel:product1:PricingRule:getPriceLevelScript", 0, newValue); 1784 } 1785 1786 public Boolean isDefault ( 1790 ) { 1791 return (Boolean )this.refGetValue("isDefault", 0); 1792 } 1793 public void setDefault_( 1797 Boolean newValue 1798 ) { 1799 refSetValue("org:opencrx:kernel:product1:PricingRule:isDefault", 0, newValue); 1800 } 1801 1802 public String getName( 1806 ) { 1807 return getName(0); 1808 } 1809 1810 protected String getName( 1811 int index 1812 ) { 1813 return (String )this.refGetValue("org:opencrx:kernel:product1:PricingRule:name", index); 1814 } 1815 1816 public void setName( 1820 String newValue 1821 ) { 1822 setName(0, newValue); 1823 } 1824 1825 protected void setName( 1826 int index, 1827 String newValue 1828 ) { 1829 refSetValue("org:opencrx:kernel:product1:PricingRule:name", index, newValue); 1830 } 1831 public java.util.Date getCreatedAt( 1835 ) { 1836 return getCreatedAt(0); 1837 } 1838 1839 protected java.util.Date getCreatedAt( 1840 int index 1841 ) { 1842 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 1843 } 1844 1845 protected void setCreatedAt( 1849 java.util.Date newValue 1850 ) { 1851 setCreatedAt(0, newValue); 1852 } 1853 1854 protected void setCreatedAt( 1855 int index, 1856 java.util.Date newValue 1857 ) { 1858 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 1859 } 1860 public java.util.Set getCreatedBy ( 1864 ) { 1865 return (java.util.Set )this.refGetValue("createdBy"); 1866 } 1867 protected void setCreatedBy( 1871 java.util.Set newValue 1872 ) { 1873 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 1874 } 1875 1876 protected void setCreatedBy( 1877 String [] newValue 1878 ) { 1879 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 1880 } 1881 1882 public java.util.Date getModifiedAt( 1886 ) { 1887 return getModifiedAt(0); 1888 } 1889 1890 protected java.util.Date getModifiedAt( 1891 int index 1892 ) { 1893 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 1894 } 1895 1896 protected void setModifiedAt( 1900 java.util.Date newValue 1901 ) { 1902 setModifiedAt(0, newValue); 1903 } 1904 1905 protected void setModifiedAt( 1906 int index, 1907 java.util.Date newValue 1908 ) { 1909 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 1910 } 1911 public java.util.Set getModifiedBy ( 1915 ) { 1916 return (java.util.Set )this.refGetValue("modifiedBy"); 1917 } 1918 protected void setModifiedBy( 1922 java.util.Set newValue 1923 ) { 1924 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 1925 } 1926 1927 protected void setModifiedBy( 1928 String [] newValue 1929 ) { 1930 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 1931 } 1932 1933 protected void setContext( 1937 java.util.List newValue 1938 ) { 1939 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 1940 } 1941 1942 protected void setContext( 1943 org.openmdx.base.cci.Context[] newValue 1944 ) { 1945 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 1946 } 1947 1948 public org.openmdx.base.cci.Context getContext( 1952 String id 1953 ) { 1954 return (org.openmdx.base.cci.Context)refGetValue( 1955 "org:openmdx:base:ContextCapable:context", 1956 id 1957 ); 1958 } 1959 1960 public java.util.Collection getContext( 1964 ) { 1965 return (java.util.Collection )refGetValue( 1966 "org:openmdx:base:ContextCapable:context" 1967 ); 1968 } 1969 1970 protected void addContext ( 1974 String id, 1975 org.openmdx.base.cci.Context newValue 1976 ) { 1977 refAddValue( 1978 "org:openmdx:base:ContextCapable:context", 1979 id, 1980 newValue 1981 ); 1982 } 1983 1984 protected void addContext ( 1988 org.openmdx.base.cci.Context newValue 1989 ) { 1990 refAddValue( 1991 "org:openmdx:base:ContextCapable:context", 1992 newValue 1993 ); 1994 } 1995 1996 protected void removeContext ( 2000 String id 2001 ) { 2002 refRemoveValue( 2003 "org:openmdx:base:ContextCapable:context", 2004 id 2005 ); 2006 } 2007 2008 public String getIdentity( 2012 ) { 2013 return getIdentity(0); 2014 } 2015 2016 protected String getIdentity( 2017 int index 2018 ) { 2019 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 2020 } 2021 2022 protected void setIdentity( 2026 String newValue 2027 ) { 2028 setIdentity(0, newValue); 2029 } 2030 2031 protected void setIdentity( 2032 int index, 2033 String newValue 2034 ) { 2035 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 2036 } 2037 protected void setView( 2041 java.util.List newValue 2042 ) { 2043 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2044 } 2045 2046 protected void setView( 2047 org.openmdx.compatibility.view1.cci.View[] newValue 2048 ) { 2049 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2050 } 2051 2052 public org.openmdx.compatibility.view1.cci.View getView( 2056 String namespace 2057 ) { 2058 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 2059 "org:openmdx:compatibility:view1:ViewCapable:view", 2060 namespace 2061 ); 2062 } 2063 2064 public java.util.Collection getView( 2068 ) { 2069 return (java.util.Collection )refGetValue( 2070 "org:openmdx:compatibility:view1:ViewCapable:view" 2071 ); 2072 } 2073 2074 public java.util.List getView( 2075 org.openmdx.compatibility.view1.cci.ViewFilter filter 2076 ) { 2077 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2078 "org:openmdx:compatibility:view1:ViewCapable:view" 2079 )).toList(filter); 2080 } 2081 2082 protected void addView ( 2086 String namespace, 2087 org.openmdx.compatibility.view1.cci.View newValue 2088 ) { 2089 refAddValue( 2090 "org:openmdx:compatibility:view1:ViewCapable:view", 2091 namespace, 2092 newValue 2093 ); 2094 } 2095 2096 protected void addView ( 2100 org.openmdx.compatibility.view1.cci.View newValue 2101 ) { 2102 refAddValue( 2103 "org:openmdx:compatibility:view1:ViewCapable:view", 2104 newValue 2105 ); 2106 } 2107 2108 protected void removeView ( 2112 String namespace 2113 ) { 2114 refRemoveValue( 2115 "org:openmdx:compatibility:view1:ViewCapable:view", 2116 namespace 2117 ); 2118 } 2119 2120} 2124 | Popular Tags |