1 package org.opencrx.kernel.product1.cci; 14 15 public class AbstractProductImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements AbstractProduct { 18 19 public AbstractProductImpl( 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 void setBasePrice( 1726 java.util.List newValue 1727 ) { 1728 refSetValue("org:opencrx:kernel:product1:AbstractProduct:basePrice", newValue); 1729 } 1730 1731 public void setBasePrice( 1732 org.opencrx.kernel.product1.cci.ProductBasePrice[] newValue 1733 ) { 1734 refSetValue("org:opencrx:kernel:product1:AbstractProduct:basePrice", newValue); 1735 } 1736 1737 public org.opencrx.kernel.product1.cci.ProductBasePrice getBasePrice( 1741 String id 1742 ) { 1743 return (org.opencrx.kernel.product1.cci.ProductBasePrice)refGetValue( 1744 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1745 id 1746 ); 1747 } 1748 1749 public java.util.Collection getBasePrice( 1753 ) { 1754 return (java.util.Collection )refGetValue( 1755 "org:opencrx:kernel:product1:AbstractProduct:basePrice" 1756 ); 1757 } 1758 1759 public java.util.List getBasePrice( 1760 org.opencrx.kernel.product1.cci.ProductBasePriceFilter filter 1761 ) { 1762 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1763 "org:opencrx:kernel:product1:AbstractProduct:basePrice" 1764 )).toList(filter); 1765 } 1766 1767 public void addBasePrice ( 1771 String id, 1772 org.opencrx.kernel.product1.cci.ProductBasePrice newValue 1773 ) { 1774 refAddValue( 1775 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1776 id, 1777 newValue 1778 ); 1779 } 1780 1781 public void addBasePrice ( 1785 org.opencrx.kernel.product1.cci.ProductBasePrice newValue 1786 ) { 1787 refAddValue( 1788 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1789 newValue 1790 ); 1791 } 1792 1793 public void removeBasePrice ( 1797 String id 1798 ) { 1799 refRemoveValue( 1800 "org:opencrx:kernel:product1:AbstractProduct:basePrice", 1801 id 1802 ); 1803 } 1804 1805 public org.opencrx.kernel.account1.cci.Competitor getCompetitor( 1809 ) { 1810 return (org.opencrx.kernel.account1.cci.Competitor)refGetValue( 1811 "org:opencrx:kernel:product1:AbstractProduct:competitor" 1812 ); 1813 } 1814 1815 public void setCompetitor( 1819 org.opencrx.kernel.account1.cci.Competitor newValue 1820 ) { 1821 refSetValue( 1822 "org:opencrx:kernel:product1:AbstractProduct:competitor", 1823 newValue 1824 ); 1825 } 1826 1827 public void removeCompetitor ( 1831 ) { 1832 refRemoveValue( 1833 "org:opencrx:kernel:product1:AbstractProduct:competitor" 1834 ); 1835 } 1836 public org.opencrx.kernel.product1.cci.PriceLevel getDefaultPriceLevel( 1840 ) { 1841 return (org.opencrx.kernel.product1.cci.PriceLevel)refGetValue( 1842 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel" 1843 ); 1844 } 1845 1846 public void setDefaultPriceLevel( 1850 org.opencrx.kernel.product1.cci.PriceLevel newValue 1851 ) { 1852 refSetValue( 1853 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel", 1854 newValue 1855 ); 1856 } 1857 1858 public void removeDefaultPriceLevel ( 1862 ) { 1863 refRemoveValue( 1864 "org:opencrx:kernel:product1:AbstractProduct:defaultPriceLevel" 1865 ); 1866 } 1867 public org.opencrx.kernel.uom1.cci.Uom getDefaultUom( 1871 ) { 1872 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 1873 "org:opencrx:kernel:product1:AbstractProduct:defaultUom" 1874 ); 1875 } 1876 1877 public void setDefaultUom( 1881 org.opencrx.kernel.uom1.cci.Uom newValue 1882 ) { 1883 refSetValue( 1884 "org:opencrx:kernel:product1:AbstractProduct:defaultUom", 1885 newValue 1886 ); 1887 } 1888 1889 public void removeDefaultUom ( 1893 ) { 1894 refRemoveValue( 1895 "org:opencrx:kernel:product1:AbstractProduct:defaultUom" 1896 ); 1897 } 1898 public String getDescription ( 1902 ) { 1903 return (String )this.refGetValue("description", 0); 1904 } 1905 public void setDescription( 1909 String newValue 1910 ) { 1911 refSetValue("org:opencrx:kernel:product1:AbstractProduct:description", 0, newValue); 1912 } 1913 1914 public String getDetailedDescription ( 1918 ) { 1919 return (String )this.refGetValue("detailedDescription", 0); 1920 } 1921 public void setDetailedDescription( 1925 String newValue 1926 ) { 1927 refSetValue("org:opencrx:kernel:product1:AbstractProduct:detailedDescription", 0, newValue); 1928 } 1929 1930 public String getName( 1934 ) { 1935 return getName(0); 1936 } 1937 1938 protected String getName( 1939 int index 1940 ) { 1941 return (String )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:name", index); 1942 } 1943 1944 public void setName( 1948 String newValue 1949 ) { 1950 setName(0, newValue); 1951 } 1952 1953 protected void setName( 1954 int index, 1955 String newValue 1956 ) { 1957 refSetValue("org:opencrx:kernel:product1:AbstractProduct:name", index, newValue); 1958 } 1959 public void setPriceUom( 1963 java.util.List newValue 1964 ) { 1965 refSetValue("org:opencrx:kernel:product1:AbstractProduct:priceUom", newValue); 1966 } 1967 1968 public void setPriceUom( 1969 org.opencrx.kernel.uom1.cci.Uom[] newValue 1970 ) { 1971 refSetValue("org:opencrx:kernel:product1:AbstractProduct:priceUom", newValue); 1972 } 1973 1974 public org.opencrx.kernel.uom1.cci.Uom getPriceUom( 1978 int index 1979 ) { 1980 return (org.opencrx.kernel.uom1.cci.Uom)refGetValue( 1981 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 1982 new Integer (index) 1983 ); 1984 } 1985 1986 public java.util.Collection getPriceUom( 1990 ) { 1991 return (java.util.Collection )refGetValue( 1992 "org:opencrx:kernel:product1:AbstractProduct:priceUom" 1993 ); 1994 } 1995 1996 public void addPriceUom ( 2000 int index, 2001 org.opencrx.kernel.uom1.cci.Uom newValue 2002 ) { 2003 refAddValue( 2004 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2005 new Integer (index), 2006 newValue 2007 ); 2008 } 2009 2010 public void addPriceUom ( 2014 org.opencrx.kernel.uom1.cci.Uom newValue 2015 ) { 2016 refAddValue( 2017 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2018 newValue 2019 ); 2020 } 2021 2022 public void removePriceUom ( 2026 int index 2027 ) { 2028 refRemoveValue( 2029 "org:opencrx:kernel:product1:AbstractProduct:priceUom", 2030 new Integer (index) 2031 ); 2032 } 2033 2034 public String getProductNumber( 2038 ) { 2039 return getProductNumber(0); 2040 } 2041 2042 protected String getProductNumber( 2043 int index 2044 ) { 2045 return (String )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productNumber", index); 2046 } 2047 2048 public void setProductNumber( 2052 String newValue 2053 ) { 2054 setProductNumber(0, newValue); 2055 } 2056 2057 protected void setProductNumber( 2058 int index, 2059 String newValue 2060 ) { 2061 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productNumber", index, newValue); 2062 } 2063 public short getProductState( 2067 ) { 2068 return getProductState(0); 2069 } 2070 2071 protected short getProductState( 2072 int index 2073 ) { 2074 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productState", index)).shortValue(); 2075 } 2076 2077 public void setProductState( 2081 short newValue 2082 ) { 2083 setProductState(0, newValue); 2084 } 2085 2086 protected void setProductState( 2087 int index, 2088 short newValue 2089 ) { 2090 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productState", index, new Short (newValue)); 2091 } 2092 public short getProductType( 2096 ) { 2097 return getProductType(0); 2098 } 2099 2100 protected short getProductType( 2101 int index 2102 ) { 2103 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:AbstractProduct:productType", index)).shortValue(); 2104 } 2105 2106 public void setProductType( 2110 short newValue 2111 ) { 2112 setProductType(0, newValue); 2113 } 2114 2115 protected void setProductType( 2116 int index, 2117 short newValue 2118 ) { 2119 refSetValue("org:opencrx:kernel:product1:AbstractProduct:productType", index, new Short (newValue)); 2120 } 2121 public org.opencrx.kernel.activity1.cci.ActivityTracker getProductUsage( 2125 ) { 2126 return (org.opencrx.kernel.activity1.cci.ActivityTracker)refGetValue( 2127 "org:opencrx:kernel:product1:AbstractProduct:productUsage" 2128 ); 2129 } 2130 2131 public void setProductUsage( 2135 org.opencrx.kernel.activity1.cci.ActivityTracker newValue 2136 ) { 2137 refSetValue( 2138 "org:opencrx:kernel:product1:AbstractProduct:productUsage", 2139 newValue 2140 ); 2141 } 2142 2143 public void removeProductUsage ( 2147 ) { 2148 refRemoveValue( 2149 "org:opencrx:kernel:product1:AbstractProduct:productUsage" 2150 ); 2151 } 2152 public org.opencrx.kernel.product1.cci.SalesTaxType getSalesTaxType( 2156 ) { 2157 return (org.opencrx.kernel.product1.cci.SalesTaxType)refGetValue( 2158 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType" 2159 ); 2160 } 2161 2162 public void setSalesTaxType( 2166 org.opencrx.kernel.product1.cci.SalesTaxType newValue 2167 ) { 2168 refSetValue( 2169 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType", 2170 newValue 2171 ); 2172 } 2173 2174 public void removeSalesTaxType ( 2178 ) { 2179 refRemoveValue( 2180 "org:opencrx:kernel:product1:AbstractProduct:salesTaxType" 2181 ); 2182 } 2183 public void setSupplier( 2187 java.util.List newValue 2188 ) { 2189 refSetValue("org:opencrx:kernel:product1:AbstractProduct:supplier", newValue); 2190 } 2191 2192 public void setSupplier( 2193 org.opencrx.kernel.account1.cci.Account[] newValue 2194 ) { 2195 refSetValue("org:opencrx:kernel:product1:AbstractProduct:supplier", newValue); 2196 } 2197 2198 public org.opencrx.kernel.account1.cci.Account getSupplier( 2202 int index 2203 ) { 2204 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 2205 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2206 new Integer (index) 2207 ); 2208 } 2209 2210 public java.util.Collection getSupplier( 2214 ) { 2215 return (java.util.Collection )refGetValue( 2216 "org:opencrx:kernel:product1:AbstractProduct:supplier" 2217 ); 2218 } 2219 2220 public void addSupplier ( 2224 int index, 2225 org.opencrx.kernel.account1.cci.Account newValue 2226 ) { 2227 refAddValue( 2228 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2229 new Integer (index), 2230 newValue 2231 ); 2232 } 2233 2234 public void addSupplier ( 2238 org.opencrx.kernel.account1.cci.Account newValue 2239 ) { 2240 refAddValue( 2241 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2242 newValue 2243 ); 2244 } 2245 2246 public void removeSupplier ( 2250 int index 2251 ) { 2252 refRemoveValue( 2253 "org:opencrx:kernel:product1:AbstractProduct:supplier", 2254 new Integer (index) 2255 ); 2256 } 2257 2258 public java.util.Date getCreatedAt( 2262 ) { 2263 return getCreatedAt(0); 2264 } 2265 2266 protected java.util.Date getCreatedAt( 2267 int index 2268 ) { 2269 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 2270 } 2271 2272 protected void setCreatedAt( 2276 java.util.Date newValue 2277 ) { 2278 setCreatedAt(0, newValue); 2279 } 2280 2281 protected void setCreatedAt( 2282 int index, 2283 java.util.Date newValue 2284 ) { 2285 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 2286 } 2287 public java.util.Set getCreatedBy ( 2291 ) { 2292 return (java.util.Set )this.refGetValue("createdBy"); 2293 } 2294 protected void setCreatedBy( 2298 java.util.Set newValue 2299 ) { 2300 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2301 } 2302 2303 protected void setCreatedBy( 2304 String [] newValue 2305 ) { 2306 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2307 } 2308 2309 public java.util.Date getModifiedAt( 2313 ) { 2314 return getModifiedAt(0); 2315 } 2316 2317 protected java.util.Date getModifiedAt( 2318 int index 2319 ) { 2320 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 2321 } 2322 2323 protected void setModifiedAt( 2327 java.util.Date newValue 2328 ) { 2329 setModifiedAt(0, newValue); 2330 } 2331 2332 protected void setModifiedAt( 2333 int index, 2334 java.util.Date newValue 2335 ) { 2336 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 2337 } 2338 public java.util.Set getModifiedBy ( 2342 ) { 2343 return (java.util.Set )this.refGetValue("modifiedBy"); 2344 } 2345 protected void setModifiedBy( 2349 java.util.Set newValue 2350 ) { 2351 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2352 } 2353 2354 protected void setModifiedBy( 2355 String [] newValue 2356 ) { 2357 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2358 } 2359 2360 protected void setContext( 2364 java.util.List newValue 2365 ) { 2366 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2367 } 2368 2369 protected void setContext( 2370 org.openmdx.base.cci.Context[] newValue 2371 ) { 2372 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2373 } 2374 2375 public org.openmdx.base.cci.Context getContext( 2379 String id 2380 ) { 2381 return (org.openmdx.base.cci.Context)refGetValue( 2382 "org:openmdx:base:ContextCapable:context", 2383 id 2384 ); 2385 } 2386 2387 public java.util.Collection getContext( 2391 ) { 2392 return (java.util.Collection )refGetValue( 2393 "org:openmdx:base:ContextCapable:context" 2394 ); 2395 } 2396 2397 protected void addContext ( 2401 String id, 2402 org.openmdx.base.cci.Context newValue 2403 ) { 2404 refAddValue( 2405 "org:openmdx:base:ContextCapable:context", 2406 id, 2407 newValue 2408 ); 2409 } 2410 2411 protected void addContext ( 2415 org.openmdx.base.cci.Context newValue 2416 ) { 2417 refAddValue( 2418 "org:openmdx:base:ContextCapable:context", 2419 newValue 2420 ); 2421 } 2422 2423 protected void removeContext ( 2427 String id 2428 ) { 2429 refRemoveValue( 2430 "org:openmdx:base:ContextCapable:context", 2431 id 2432 ); 2433 } 2434 2435 public String getIdentity( 2439 ) { 2440 return getIdentity(0); 2441 } 2442 2443 protected String getIdentity( 2444 int index 2445 ) { 2446 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 2447 } 2448 2449 protected void setIdentity( 2453 String newValue 2454 ) { 2455 setIdentity(0, newValue); 2456 } 2457 2458 protected void setIdentity( 2459 int index, 2460 String newValue 2461 ) { 2462 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 2463 } 2464 protected void setView( 2468 java.util.List newValue 2469 ) { 2470 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2471 } 2472 2473 protected void setView( 2474 org.openmdx.compatibility.view1.cci.View[] newValue 2475 ) { 2476 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2477 } 2478 2479 public org.openmdx.compatibility.view1.cci.View getView( 2483 String namespace 2484 ) { 2485 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 2486 "org:openmdx:compatibility:view1:ViewCapable:view", 2487 namespace 2488 ); 2489 } 2490 2491 public java.util.Collection getView( 2495 ) { 2496 return (java.util.Collection )refGetValue( 2497 "org:openmdx:compatibility:view1:ViewCapable:view" 2498 ); 2499 } 2500 2501 public java.util.List getView( 2502 org.openmdx.compatibility.view1.cci.ViewFilter filter 2503 ) { 2504 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2505 "org:openmdx:compatibility:view1:ViewCapable:view" 2506 )).toList(filter); 2507 } 2508 2509 protected void addView ( 2513 String namespace, 2514 org.openmdx.compatibility.view1.cci.View newValue 2515 ) { 2516 refAddValue( 2517 "org:openmdx:compatibility:view1:ViewCapable:view", 2518 namespace, 2519 newValue 2520 ); 2521 } 2522 2523 protected void addView ( 2527 org.openmdx.compatibility.view1.cci.View newValue 2528 ) { 2529 refAddValue( 2530 "org:openmdx:compatibility:view1:ViewCapable:view", 2531 newValue 2532 ); 2533 } 2534 2535 protected void removeView ( 2539 String namespace 2540 ) { 2541 refRemoveValue( 2542 "org:openmdx:compatibility:view1:ViewCapable:view", 2543 namespace 2544 ); 2545 } 2546 2547} 2551 | Popular Tags |