1 package org.opencrx.kernel.account1.cci; 14 15 public class AccountImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Account { 18 19 public AccountImpl( 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 public java.util.List getAccountCategory ( 30 ) { 31 return (java.util.List )this.refGetValue("accountCategory"); 32 } 33 public short getAccountCategory( 34 int index 35 ) { 36 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:accountCategory", index)).shortValue(); 37 } 38 39 public void setAccountCategory( 43 java.util.List newValue 44 ) { 45 refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountCategory", newValue); 46 } 47 48 public void setAccountCategory( 49 short[] newValue 50 ) { 51 refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountCategory", newValue); 52 } 53 54 public short getAccountRating( 58 ) { 59 return getAccountRating(0); 60 } 61 62 protected short getAccountRating( 63 int index 64 ) { 65 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:accountRating", index)).shortValue(); 66 } 67 68 public void setAccountRating( 72 short newValue 73 ) { 74 setAccountRating(0, newValue); 75 } 76 77 protected void setAccountRating( 78 int index, 79 short newValue 80 ) { 81 refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountRating", index, new Short (newValue)); 82 } 83 public short getAccountState( 87 ) { 88 return getAccountState(0); 89 } 90 91 protected short getAccountState( 92 int index 93 ) { 94 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:accountState", index)).shortValue(); 95 } 96 97 public void setAccountState( 101 short newValue 102 ) { 103 setAccountState(0, newValue); 104 } 105 106 protected void setAccountState( 107 int index, 108 short newValue 109 ) { 110 refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountState", index, new Short (newValue)); 111 } 112 public short getAccountType( 116 ) { 117 return getAccountType(0); 118 } 119 120 protected short getAccountType( 121 int index 122 ) { 123 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:accountType", index)).shortValue(); 124 } 125 126 public void setAccountType( 130 short newValue 131 ) { 132 setAccountType(0, newValue); 133 } 134 135 protected void setAccountType( 136 int index, 137 short newValue 138 ) { 139 refSetValue("org:opencrx:kernel:account1:AbstractAccount:accountType", index, new Short (newValue)); 140 } 141 public String getAliasName ( 145 ) { 146 return (String )this.refGetValue("aliasName", 0); 147 } 148 public void setAliasName( 152 String newValue 153 ) { 154 refSetValue("org:opencrx:kernel:account1:AbstractAccount:aliasName", 0, newValue); 155 } 156 157 public java.util.List getBusinessType ( 161 ) { 162 return (java.util.List )this.refGetValue("businessType"); 163 } 164 public short getBusinessType( 165 int index 166 ) { 167 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:account1:AbstractAccount:businessType", index)).shortValue(); 168 } 169 170 public void setBusinessType( 174 java.util.List newValue 175 ) { 176 refSetValue("org:opencrx:kernel:account1:AbstractAccount:businessType", newValue); 177 } 178 179 public void setBusinessType( 180 short[] newValue 181 ) { 182 refSetValue("org:opencrx:kernel:account1:AbstractAccount:businessType", newValue); 183 } 184 185 public String getDescription ( 189 ) { 190 return (String )this.refGetValue("description", 0); 191 } 192 public void setDescription( 196 String newValue 197 ) { 198 refSetValue("org:opencrx:kernel:account1:AbstractAccount:description", 0, newValue); 199 } 200 201 public String getFullName ( 205 ) { 206 return (String )this.refGetValue("fullName", 0); 207 } 208 protected void setFullName( 212 String newValue 213 ) { 214 refSetValue("org:opencrx:kernel:account1:AbstractAccount:fullName", 0, newValue); 215 } 216 217 public void setAddress( 221 java.util.List newValue 222 ) { 223 refSetValue("org:opencrx:kernel:account1:Account:address", newValue); 224 } 225 226 public void setAddress( 227 org.opencrx.kernel.account1.cci.AccountAddress[] newValue 228 ) { 229 refSetValue("org:opencrx:kernel:account1:Account:address", newValue); 230 } 231 232 public org.opencrx.kernel.account1.cci.AccountAddress getAddress( 236 String id 237 ) { 238 return (org.opencrx.kernel.account1.cci.AccountAddress)refGetValue( 239 "org:opencrx:kernel:account1:Account:address", 240 id 241 ); 242 } 243 244 public java.util.Collection getAddress( 248 ) { 249 return (java.util.Collection )refGetValue( 250 "org:opencrx:kernel:account1:Account:address" 251 ); 252 } 253 254 public java.util.List getAddress( 255 org.opencrx.kernel.account1.cci.AccountAddressFilter filter 256 ) { 257 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 258 "org:opencrx:kernel:account1:Account:address" 259 )).toList(filter); 260 } 261 262 public void addAddress ( 266 String id, 267 org.opencrx.kernel.account1.cci.AccountAddress newValue 268 ) { 269 refAddValue( 270 "org:opencrx:kernel:account1:Account:address", 271 id, 272 newValue 273 ); 274 } 275 276 public void addAddress ( 280 org.opencrx.kernel.account1.cci.AccountAddress newValue 281 ) { 282 refAddValue( 283 "org:opencrx:kernel:account1:Account:address", 284 newValue 285 ); 286 } 287 288 public void removeAddress ( 292 String id 293 ) { 294 refRemoveValue( 295 "org:opencrx:kernel:account1:Account:address", 296 id 297 ); 298 } 299 300 protected void setAssignedActivity( 304 java.util.List newValue 305 ) { 306 refSetValue("org:opencrx:kernel:account1:Account:assignedActivity", newValue); 307 } 308 309 protected void setAssignedActivity( 310 org.opencrx.kernel.activity1.cci.Activity[] newValue 311 ) { 312 refSetValue("org:opencrx:kernel:account1:Account:assignedActivity", newValue); 313 } 314 315 public org.opencrx.kernel.activity1.cci.Activity getAssignedActivity( 319 String id 320 ) { 321 return (org.opencrx.kernel.activity1.cci.Activity)refGetValue( 322 "org:opencrx:kernel:account1:Account:assignedActivity", 323 id 324 ); 325 } 326 327 public java.util.Collection getAssignedActivity( 331 ) { 332 return (java.util.Collection )refGetValue( 333 "org:opencrx:kernel:account1:Account:assignedActivity" 334 ); 335 } 336 337 public java.util.List getAssignedActivity( 338 org.opencrx.kernel.activity1.cci.ActivityFilter filter 339 ) { 340 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 341 "org:opencrx:kernel:account1:Account:assignedActivity" 342 )).toList(filter); 343 } 344 345 protected void addAssignedActivity ( 349 String id, 350 org.opencrx.kernel.activity1.cci.Activity newValue 351 ) { 352 refAddValue( 353 "org:opencrx:kernel:account1:Account:assignedActivity", 354 id, 355 newValue 356 ); 357 } 358 359 protected void addAssignedActivity ( 363 org.opencrx.kernel.activity1.cci.Activity newValue 364 ) { 365 refAddValue( 366 "org:opencrx:kernel:account1:Account:assignedActivity", 367 newValue 368 ); 369 } 370 371 protected void removeAssignedActivity ( 375 String id 376 ) { 377 refRemoveValue( 378 "org:opencrx:kernel:account1:Account:assignedActivity", 379 id 380 ); 381 } 382 383 protected void setAssignedContract( 387 java.util.List newValue 388 ) { 389 refSetValue("org:opencrx:kernel:account1:Account:assignedContract", newValue); 390 } 391 392 protected void setAssignedContract( 393 org.opencrx.kernel.contract1.cci.AbstractContract[] newValue 394 ) { 395 refSetValue("org:opencrx:kernel:account1:Account:assignedContract", newValue); 396 } 397 398 public org.opencrx.kernel.contract1.cci.AbstractContract getAssignedContract( 402 String id 403 ) { 404 return (org.opencrx.kernel.contract1.cci.AbstractContract)refGetValue( 405 "org:opencrx:kernel:account1:Account:assignedContract", 406 id 407 ); 408 } 409 410 public java.util.Collection getAssignedContract( 414 ) { 415 return (java.util.Collection )refGetValue( 416 "org:opencrx:kernel:account1:Account:assignedContract" 417 ); 418 } 419 420 public java.util.List getAssignedContract( 421 org.opencrx.kernel.contract1.cci.AbstractContractFilter filter 422 ) { 423 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 424 "org:opencrx:kernel:account1:Account:assignedContract" 425 )).toList(filter); 426 } 427 428 protected void addAssignedContract ( 432 String id, 433 org.opencrx.kernel.contract1.cci.AbstractContract newValue 434 ) { 435 refAddValue( 436 "org:opencrx:kernel:account1:Account:assignedContract", 437 id, 438 newValue 439 ); 440 } 441 442 protected void addAssignedContract ( 446 org.opencrx.kernel.contract1.cci.AbstractContract newValue 447 ) { 448 refAddValue( 449 "org:opencrx:kernel:account1:Account:assignedContract", 450 newValue 451 ); 452 } 453 454 protected void removeAssignedContract ( 458 String id 459 ) { 460 refRemoveValue( 461 "org:opencrx:kernel:account1:Account:assignedContract", 462 id 463 ); 464 } 465 466 public void setContact( 470 java.util.List newValue 471 ) { 472 refSetValue("org:opencrx:kernel:account1:Account:contact", newValue); 473 } 474 475 public void setContact( 476 org.opencrx.kernel.account1.cci.Contact[] newValue 477 ) { 478 refSetValue("org:opencrx:kernel:account1:Account:contact", newValue); 479 } 480 481 public org.opencrx.kernel.account1.cci.Contact getContact( 485 int index 486 ) { 487 return (org.opencrx.kernel.account1.cci.Contact)refGetValue( 488 "org:opencrx:kernel:account1:Account:contact", 489 new Integer (index) 490 ); 491 } 492 493 public java.util.Collection getContact( 497 ) { 498 return (java.util.Collection )refGetValue( 499 "org:opencrx:kernel:account1:Account:contact" 500 ); 501 } 502 503 public void addContact ( 507 int index, 508 org.opencrx.kernel.account1.cci.Contact newValue 509 ) { 510 refAddValue( 511 "org:opencrx:kernel:account1:Account:contact", 512 new Integer (index), 513 newValue 514 ); 515 } 516 517 public void addContact ( 521 org.opencrx.kernel.account1.cci.Contact newValue 522 ) { 523 refAddValue( 524 "org:opencrx:kernel:account1:Account:contact", 525 newValue 526 ); 527 } 528 529 public void removeContact ( 533 int index 534 ) { 535 refRemoveValue( 536 "org:opencrx:kernel:account1:Account:contact", 537 new Integer (index) 538 ); 539 } 540 541 public org.opencrx.kernel.account1.cci.CreateInvoiceResult createInvoice( 545 org.opencrx.kernel.account1.cci.CreateInvoiceParams params 546 ) throws javax.jmi.reflect.RefException { 547 java.util.List args = new java.util.ArrayList (); 548 args.add(params); 549 return (org.opencrx.kernel.account1.cci.CreateInvoiceResult)refInvokeOperation( 550 "org:opencrx:kernel:account1:Account:createInvoice", 551 args 552 ); 553 } 554 555 public org.opencrx.kernel.account1.cci.CreateInvoiceResult createInvoice( 556 org.opencrx.kernel.contract1.cci.Invoice basedOn 557 , String description 558 , String name 559 ) throws javax.jmi.reflect.RefException { 560 return createInvoice( 561 ((org.opencrx.kernel.account1.cci.account1Package)refOutermostPackage().refPackage("org:opencrx:kernel:account1")).createCreateInvoiceParams( 562 basedOn 563 , description 564 , name 565 ) 566 ); 567 } 568 569 public org.opencrx.kernel.account1.cci.CreateLeadResult createLead( 573 org.opencrx.kernel.account1.cci.CreateLeadParams params 574 ) throws javax.jmi.reflect.RefException { 575 java.util.List args = new java.util.ArrayList (); 576 args.add(params); 577 return (org.opencrx.kernel.account1.cci.CreateLeadResult)refInvokeOperation( 578 "org:opencrx:kernel:account1:Account:createLead", 579 args 580 ); 581 } 582 583 public org.opencrx.kernel.account1.cci.CreateLeadResult createLead( 584 org.opencrx.kernel.contract1.cci.Lead basedOn 585 , String description 586 , String name 587 , String nextStep 588 ) throws javax.jmi.reflect.RefException { 589 return createLead( 590 ((org.opencrx.kernel.account1.cci.account1Package)refOutermostPackage().refPackage("org:opencrx:kernel:account1")).createCreateLeadParams( 591 basedOn 592 , description 593 , name 594 , nextStep 595 ) 596 ); 597 } 598 599 public org.opencrx.kernel.account1.cci.CreateOpportunityResult createOpportunity( 603 org.opencrx.kernel.account1.cci.CreateOpportunityParams params 604 ) throws javax.jmi.reflect.RefException { 605 java.util.List args = new java.util.ArrayList (); 606 args.add(params); 607 return (org.opencrx.kernel.account1.cci.CreateOpportunityResult)refInvokeOperation( 608 "org:opencrx:kernel:account1:Account:createOpportunity", 609 args 610 ); 611 } 612 613 public org.opencrx.kernel.account1.cci.CreateOpportunityResult createOpportunity( 614 org.opencrx.kernel.contract1.cci.Opportunity basedOn 615 , String description 616 , String name 617 ) throws javax.jmi.reflect.RefException { 618 return createOpportunity( 619 ((org.opencrx.kernel.account1.cci.account1Package)refOutermostPackage().refPackage("org:opencrx:kernel:account1")).createCreateOpportunityParams( 620 basedOn 621 , description 622 , name 623 ) 624 ); 625 } 626 627 public org.opencrx.kernel.account1.cci.CreateQuoteResult createQuote( 631 org.opencrx.kernel.account1.cci.CreateQuoteParams params 632 ) throws javax.jmi.reflect.RefException { 633 java.util.List args = new java.util.ArrayList (); 634 args.add(params); 635 return (org.opencrx.kernel.account1.cci.CreateQuoteResult)refInvokeOperation( 636 "org:opencrx:kernel:account1:Account:createQuote", 637 args 638 ); 639 } 640 641 public org.opencrx.kernel.account1.cci.CreateQuoteResult createQuote( 642 org.opencrx.kernel.contract1.cci.Quote basedOn 643 , String description 644 , String name 645 ) throws javax.jmi.reflect.RefException { 646 return createQuote( 647 ((org.opencrx.kernel.account1.cci.account1Package)refOutermostPackage().refPackage("org:opencrx:kernel:account1")).createCreateQuoteParams( 648 basedOn 649 , description 650 , name 651 ) 652 ); 653 } 654 655 public org.opencrx.kernel.account1.cci.CreateSalesOrderResult createSalesOrder( 659 org.opencrx.kernel.account1.cci.CreateSalesOrderParams params 660 ) throws javax.jmi.reflect.RefException { 661 java.util.List args = new java.util.ArrayList (); 662 args.add(params); 663 return (org.opencrx.kernel.account1.cci.CreateSalesOrderResult)refInvokeOperation( 664 "org:opencrx:kernel:account1:Account:createSalesOrder", 665 args 666 ); 667 } 668 669 public org.opencrx.kernel.account1.cci.CreateSalesOrderResult createSalesOrder( 670 org.opencrx.kernel.contract1.cci.SalesOrder basedOn 671 , String description 672 , String name 673 ) throws javax.jmi.reflect.RefException { 674 return createSalesOrder( 675 ((org.opencrx.kernel.account1.cci.account1Package)refOutermostPackage().refPackage("org:opencrx:kernel:account1")).createCreateSalesOrderParams( 676 basedOn 677 , description 678 , name 679 ) 680 ); 681 } 682 683 public void setPartner( 687 java.util.List newValue 688 ) { 689 refSetValue("org:opencrx:kernel:account1:Account:partner", newValue); 690 } 691 692 public void setPartner( 693 org.opencrx.kernel.account1.cci.Account[] newValue 694 ) { 695 refSetValue("org:opencrx:kernel:account1:Account:partner", newValue); 696 } 697 698 public org.opencrx.kernel.account1.cci.Account getPartner( 702 int index 703 ) { 704 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 705 "org:opencrx:kernel:account1:Account:partner", 706 new Integer (index) 707 ); 708 } 709 710 public java.util.Collection getPartner( 714 ) { 715 return (java.util.Collection )refGetValue( 716 "org:opencrx:kernel:account1:Account:partner" 717 ); 718 } 719 720 public void addPartner ( 724 int index, 725 org.opencrx.kernel.account1.cci.Account newValue 726 ) { 727 refAddValue( 728 "org:opencrx:kernel:account1:Account:partner", 729 new Integer (index), 730 newValue 731 ); 732 } 733 734 public void addPartner ( 738 org.opencrx.kernel.account1.cci.Account newValue 739 ) { 740 refAddValue( 741 "org:opencrx:kernel:account1:Account:partner", 742 newValue 743 ); 744 } 745 746 public void removePartner ( 750 int index 751 ) { 752 refRemoveValue( 753 "org:opencrx:kernel:account1:Account:partner", 754 new Integer (index) 755 ); 756 } 757 758 protected void setProduct( 762 java.util.List newValue 763 ) { 764 refSetValue("org:opencrx:kernel:account1:Account:product", newValue); 765 } 766 767 protected void setProduct( 768 org.opencrx.kernel.product1.cci.Product[] newValue 769 ) { 770 refSetValue("org:opencrx:kernel:account1:Account:product", newValue); 771 } 772 773 public org.opencrx.kernel.product1.cci.Product getProduct( 777 String id 778 ) { 779 return (org.opencrx.kernel.product1.cci.Product)refGetValue( 780 "org:opencrx:kernel:account1:Account:product", 781 id 782 ); 783 } 784 785 public java.util.Collection getProduct( 789 ) { 790 return (java.util.Collection )refGetValue( 791 "org:opencrx:kernel:account1:Account:product" 792 ); 793 } 794 795 public java.util.List getProduct( 796 org.opencrx.kernel.product1.cci.ProductFilter filter 797 ) { 798 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 799 "org:opencrx:kernel:account1:Account:product" 800 )).toList(filter); 801 } 802 803 protected void addProduct ( 807 String id, 808 org.opencrx.kernel.product1.cci.Product newValue 809 ) { 810 refAddValue( 811 "org:opencrx:kernel:account1:Account:product", 812 id, 813 newValue 814 ); 815 } 816 817 protected void addProduct ( 821 org.opencrx.kernel.product1.cci.Product newValue 822 ) { 823 refAddValue( 824 "org:opencrx:kernel:account1:Account:product", 825 newValue 826 ); 827 } 828 829 protected void removeProduct ( 833 String id 834 ) { 835 refRemoveValue( 836 "org:opencrx:kernel:account1:Account:product", 837 id 838 ); 839 } 840 841 public org.openmdx.base.cci.Void refreshItems( 845 org.openmdx.base.cci.Void params 846 ) throws javax.jmi.reflect.RefException { 847 java.util.List args = new java.util.ArrayList (); 848 args.add(params); 849 return (org.openmdx.base.cci.Void)refInvokeOperation( 850 "org:opencrx:kernel:account1:Account:refreshItems", 851 args 852 ); 853 } 854 855 public org.openmdx.base.cci.Void refreshItems( 856 ) throws javax.jmi.reflect.RefException { 857 return refreshItems( 858 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 859 ) 860 ); 861 } 862 863 protected void setAudit( 867 java.util.List newValue 868 ) { 869 refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue); 870 } 871 872 protected void setAudit( 873 org.opencrx.kernel.base.cci.AuditEntry[] newValue 874 ) { 875 refSetValue("org:opencrx:kernel:base:Auditee:audit", newValue); 876 } 877 878 public org.opencrx.kernel.base.cci.AuditEntry getAudit( 882 String id 883 ) { 884 return (org.opencrx.kernel.base.cci.AuditEntry)refGetValue( 885 "org:opencrx:kernel:base:Auditee:audit", 886 id 887 ); 888 } 889 890 public java.util.Collection getAudit( 894 ) { 895 return (java.util.Collection )refGetValue( 896 "org:opencrx:kernel:base:Auditee:audit" 897 ); 898 } 899 900 public java.util.List getAudit( 901 org.opencrx.kernel.base.cci.AuditEntryFilter filter 902 ) { 903 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 904 "org:opencrx:kernel:base:Auditee:audit" 905 )).toList(filter); 906 } 907 908 protected void addAudit ( 912 String id, 913 org.opencrx.kernel.base.cci.AuditEntry newValue 914 ) { 915 refAddValue( 916 "org:opencrx:kernel:base:Auditee:audit", 917 id, 918 newValue 919 ); 920 } 921 922 protected void addAudit ( 926 org.opencrx.kernel.base.cci.AuditEntry newValue 927 ) { 928 refAddValue( 929 "org:opencrx:kernel:base:Auditee:audit", 930 newValue 931 ); 932 } 933 934 protected void removeAudit ( 938 String id 939 ) { 940 refRemoveValue( 941 "org:opencrx:kernel:base:Auditee:audit", 942 id 943 ); 944 } 945 946 public org.openmdx.base.cci.Void addAsBookmark( 950 org.opencrx.kernel.base.cci.AddAsBookmarkParams params 951 ) throws javax.jmi.reflect.RefException { 952 java.util.List args = new java.util.ArrayList (); 953 args.add(params); 954 return (org.openmdx.base.cci.Void)refInvokeOperation( 955 "org:opencrx:kernel:base:Bookmarkable:addAsBookmark", 956 args 957 ); 958 } 959 960 public org.openmdx.base.cci.Void addAsBookmark( 961 String description 962 ) throws javax.jmi.reflect.RefException { 963 return addAsBookmark( 964 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createAddAsBookmarkParams( 965 description 966 ) 967 ); 968 } 969 970 public org.opencrx.kernel.base.cci.CloneResult clone_( 974 org.opencrx.kernel.base.cci.CloneParams params 975 ) throws javax.jmi.reflect.RefException { 976 java.util.List args = new java.util.ArrayList (); 977 args.add(params); 978 return (org.opencrx.kernel.base.cci.CloneResult)refInvokeOperation( 979 "org:opencrx:kernel:base:Cloneable:clone", 980 args 981 ); 982 } 983 984 public org.opencrx.kernel.base.cci.CloneResult clone_( 985 String referenceFilter 986 ) throws javax.jmi.reflect.RefException { 987 return clone_( 988 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createCloneParams( 989 referenceFilter 990 ) 991 ); 992 } 993 994 public org.opencrx.kernel.base.cci.ImportResult importItem( 998 org.opencrx.kernel.base.cci.ImportParams params 999 ) throws javax.jmi.reflect.RefException { 1000 java.util.List args = new java.util.ArrayList (); 1001 args.add(params); 1002 return (org.opencrx.kernel.base.cci.ImportResult)refInvokeOperation( 1003 "org:opencrx:kernel:base:Importer:importItem", 1004 args 1005 ); 1006 } 1007 1008 public org.opencrx.kernel.base.cci.ImportResult importItem( 1009 byte[] item 1010 , String itemMimeType 1011 , String itemName 1012 , short locale 1013 ) throws javax.jmi.reflect.RefException { 1014 return importItem( 1015 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createImportParams( 1016 item 1017 , itemMimeType 1018 , itemName 1019 , locale 1020 ) 1021 ); 1022 } 1023 1024 public short getAccessLevelBrowse( 1028 ) { 1029 return getAccessLevelBrowse(0); 1030 } 1031 1032 protected short getAccessLevelBrowse( 1033 int index 1034 ) { 1035 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 1036 } 1037 1038 public void setAccessLevelBrowse( 1042 short newValue 1043 ) { 1044 setAccessLevelBrowse(0, newValue); 1045 } 1046 1047 protected void setAccessLevelBrowse( 1048 int index, 1049 short newValue 1050 ) { 1051 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 1052 } 1053 public short getAccessLevelDelete( 1057 ) { 1058 return getAccessLevelDelete(0); 1059 } 1060 1061 protected short getAccessLevelDelete( 1062 int index 1063 ) { 1064 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 1065 } 1066 1067 public void setAccessLevelDelete( 1071 short newValue 1072 ) { 1073 setAccessLevelDelete(0, newValue); 1074 } 1075 1076 protected void setAccessLevelDelete( 1077 int index, 1078 short newValue 1079 ) { 1080 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 1081 } 1082 public short getAccessLevelUpdate( 1086 ) { 1087 return getAccessLevelUpdate(0); 1088 } 1089 1090 protected short getAccessLevelUpdate( 1091 int index 1092 ) { 1093 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 1094 } 1095 1096 public void setAccessLevelUpdate( 1100 short newValue 1101 ) { 1102 setAccessLevelUpdate(0, newValue); 1103 } 1104 1105 protected void setAccessLevelUpdate( 1106 int index, 1107 short newValue 1108 ) { 1109 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 1110 } 1111 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 1115 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 1116 ) throws javax.jmi.reflect.RefException { 1117 java.util.List args = new java.util.ArrayList (); 1118 args.add(params); 1119 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 1120 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 1121 args 1122 ); 1123 } 1124 1125 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 1126 org.opencrx.security.realm1.cci.PrincipalGroup group 1127 , short mode 1128 ) throws javax.jmi.reflect.RefException { 1129 return addOwningGroup( 1130 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 1131 group 1132 , mode 1133 ) 1134 ); 1135 } 1136 1137 public java.util.List getOwner ( 1141 ) { 1142 return (java.util.List )this.refGetValue("owner"); 1143 } 1144 public String getOwner( 1145 int index 1146 ) { 1147 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 1148 } 1149 1150 protected void setOwner( 1154 java.util.List newValue 1155 ) { 1156 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 1157 } 1158 1159 protected void setOwner( 1160 String [] newValue 1161 ) { 1162 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 1163 } 1164 1165 public void setOwningGroup( 1169 java.util.List newValue 1170 ) { 1171 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 1172 } 1173 1174 public void setOwningGroup( 1175 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 1176 ) { 1177 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 1178 } 1179 1180 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 1184 int index 1185 ) { 1186 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 1187 "org:opencrx:kernel:base:SecureObject:owningGroup", 1188 new Integer (index) 1189 ); 1190 } 1191 1192 public java.util.Collection getOwningGroup( 1196 ) { 1197 return (java.util.Collection )refGetValue( 1198 "org:opencrx:kernel:base:SecureObject:owningGroup" 1199 ); 1200 } 1201 1202 public void addOwningGroup ( 1206 int index, 1207 org.opencrx.security.realm1.cci.PrincipalGroup newValue 1208 ) { 1209 refAddValue( 1210 "org:opencrx:kernel:base:SecureObject:owningGroup", 1211 new Integer (index), 1212 newValue 1213 ); 1214 } 1215 1216 public void addOwningGroup ( 1220 org.opencrx.security.realm1.cci.PrincipalGroup newValue 1221 ) { 1222 refAddValue( 1223 "org:opencrx:kernel:base:SecureObject:owningGroup", 1224 newValue 1225 ); 1226 } 1227 1228 public void removeOwningGroup ( 1232 int index 1233 ) { 1234 refRemoveValue( 1235 "org:opencrx:kernel:base:SecureObject:owningGroup", 1236 new Integer (index) 1237 ); 1238 } 1239 1240 public org.opencrx.security.realm1.cci.User getOwningUser( 1244 ) { 1245 return (org.opencrx.security.realm1.cci.User)refGetValue( 1246 "org:opencrx:kernel:base:SecureObject:owningUser" 1247 ); 1248 } 1249 1250 public void setOwningUser( 1254 org.opencrx.security.realm1.cci.User newValue 1255 ) { 1256 refSetValue( 1257 "org:opencrx:kernel:base:SecureObject:owningUser", 1258 newValue 1259 ); 1260 } 1261 1262 public void removeOwningUser ( 1266 ) { 1267 refRemoveValue( 1268 "org:opencrx:kernel:base:SecureObject:owningUser" 1269 ); 1270 } 1271 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 1275 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 1276 ) throws javax.jmi.reflect.RefException { 1277 java.util.List args = new java.util.ArrayList (); 1278 args.add(params); 1279 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 1280 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 1281 args 1282 ); 1283 } 1284 1285 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 1286 short mode 1287 ) throws javax.jmi.reflect.RefException { 1288 return removeAllOwningGroup( 1289 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 1290 mode 1291 ) 1292 ); 1293 } 1294 1295 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 1299 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 1300 ) throws javax.jmi.reflect.RefException { 1301 java.util.List args = new java.util.ArrayList (); 1302 args.add(params); 1303 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 1304 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 1305 args 1306 ); 1307 } 1308 1309 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 1310 org.opencrx.security.realm1.cci.PrincipalGroup group 1311 , short mode 1312 ) throws javax.jmi.reflect.RefException { 1313 return removeOwningGroup( 1314 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 1315 group 1316 , mode 1317 ) 1318 ); 1319 } 1320 1321 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 1325 org.opencrx.kernel.base.cci.SetAccessLevelParams params 1326 ) throws javax.jmi.reflect.RefException { 1327 java.util.List args = new java.util.ArrayList (); 1328 args.add(params); 1329 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 1330 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 1331 args 1332 ); 1333 } 1334 1335 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 1336 short accessLevelBrowse 1337 , short accessLevelDelete 1338 , short accessLevelUpdate 1339 , short mode 1340 ) throws javax.jmi.reflect.RefException { 1341 return setAccessLevel( 1342 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 1343 accessLevelBrowse 1344 , accessLevelDelete 1345 , accessLevelUpdate 1346 , mode 1347 ) 1348 ); 1349 } 1350 1351 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 1355 org.opencrx.kernel.base.cci.SetOwningUserParams params 1356 ) throws javax.jmi.reflect.RefException { 1357 java.util.List args = new java.util.ArrayList (); 1358 args.add(params); 1359 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 1360 "org:opencrx:kernel:base:SecureObject:setOwningUser", 1361 args 1362 ); 1363 } 1364 1365 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 1366 short mode 1367 , org.opencrx.security.realm1.cci.User user 1368 ) throws javax.jmi.reflect.RefException { 1369 return setOwningUser( 1370 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 1371 mode 1372 , user 1373 ) 1374 ); 1375 } 1376 1377 public org.openmdx.base.cci.Void addSubscription( 1381 org.openmdx.base.cci.Void params 1382 ) throws javax.jmi.reflect.RefException { 1383 java.util.List args = new java.util.ArrayList (); 1384 args.add(params); 1385 return (org.openmdx.base.cci.Void)refInvokeOperation( 1386 "org:opencrx:kernel:base:SubscriptionTarget:addSubscription", 1387 args 1388 ); 1389 } 1390 1391 public org.openmdx.base.cci.Void addSubscription( 1392 ) throws javax.jmi.reflect.RefException { 1393 return addSubscription( 1394 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 1395 ) 1396 ); 1397 } 1398 1399 public org.openmdx.base.cci.Void addSubscriptionForParent( 1403 org.openmdx.base.cci.Void params 1404 ) throws javax.jmi.reflect.RefException { 1405 java.util.List args = new java.util.ArrayList (); 1406 args.add(params); 1407 return (org.openmdx.base.cci.Void)refInvokeOperation( 1408 "org:opencrx:kernel:base:SubscriptionTarget:addSubscriptionForParent", 1409 args 1410 ); 1411 } 1412 1413 public org.openmdx.base.cci.Void addSubscriptionForParent( 1414 ) throws javax.jmi.reflect.RefException { 1415 return addSubscriptionForParent( 1416 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 1417 ) 1418 ); 1419 } 1420 1421 public org.openmdx.base.cci.Void removeSubscription( 1425 org.openmdx.base.cci.Void params 1426 ) throws javax.jmi.reflect.RefException { 1427 java.util.List args = new java.util.ArrayList (); 1428 args.add(params); 1429 return (org.openmdx.base.cci.Void)refInvokeOperation( 1430 "org:opencrx:kernel:base:SubscriptionTarget:removeSubscription", 1431 args 1432 ); 1433 } 1434 1435 public org.openmdx.base.cci.Void removeSubscription( 1436 ) throws javax.jmi.reflect.RefException { 1437 return removeSubscription( 1438 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 1439 ) 1440 ); 1441 } 1442 1443 public org.openmdx.base.cci.Void removeSubscriptionForParent( 1447 org.openmdx.base.cci.Void params 1448 ) throws javax.jmi.reflect.RefException { 1449 java.util.List args = new java.util.ArrayList (); 1450 args.add(params); 1451 return (org.openmdx.base.cci.Void)refInvokeOperation( 1452 "org:opencrx:kernel:base:SubscriptionTarget:removeSubscriptionForParent", 1453 args 1454 ); 1455 } 1456 1457 public org.openmdx.base.cci.Void removeSubscriptionForParent( 1458 ) throws javax.jmi.reflect.RefException { 1459 return removeSubscriptionForParent( 1460 ((org.openmdx.base.cci.basePackage)refOutermostPackage().refPackage("org:openmdx:base")).createVoid( 1461 ) 1462 ); 1463 } 1464 1465 public org.opencrx.kernel.base.cci.ExportResult exportXml( 1469 org.opencrx.kernel.base.cci.XmlExportParams params 1470 ) throws javax.jmi.reflect.RefException { 1471 java.util.List args = new java.util.ArrayList (); 1472 args.add(params); 1473 return (org.opencrx.kernel.base.cci.ExportResult)refInvokeOperation( 1474 "org:opencrx:kernel:base:XmlExporter:exportXml", 1475 args 1476 ); 1477 } 1478 1479 public org.opencrx.kernel.base.cci.ExportResult exportXml( 1480 String attributeFilter 1481 , String referenceFilter 1482 ) throws javax.jmi.reflect.RefException { 1483 return exportXml( 1484 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createXmlExportParams( 1485 attributeFilter 1486 , referenceFilter 1487 ) 1488 ); 1489 } 1490 1491 public void setAdditionalExternalLink( 1495 java.util.List newValue 1496 ) { 1497 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 1498 } 1499 1500 public void setAdditionalExternalLink( 1501 org.opencrx.kernel.generic.cci.AdditionalExternalLink[] newValue 1502 ) { 1503 refSetValue("org:opencrx:kernel:generic:CrxObject:additionalExternalLink", newValue); 1504 } 1505 1506 public org.opencrx.kernel.generic.cci.AdditionalExternalLink getAdditionalExternalLink( 1510 String id 1511 ) { 1512 return (org.opencrx.kernel.generic.cci.AdditionalExternalLink)refGetValue( 1513 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 1514 id 1515 ); 1516 } 1517 1518 public java.util.Collection getAdditionalExternalLink( 1522 ) { 1523 return (java.util.Collection )refGetValue( 1524 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 1525 ); 1526 } 1527 1528 public java.util.List getAdditionalExternalLink( 1529 org.opencrx.kernel.generic.cci.AdditionalExternalLinkFilter filter 1530 ) { 1531 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1532 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink" 1533 )).toList(filter); 1534 } 1535 1536 public void addAdditionalExternalLink ( 1540 String id, 1541 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 1542 ) { 1543 refAddValue( 1544 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 1545 id, 1546 newValue 1547 ); 1548 } 1549 1550 public void addAdditionalExternalLink ( 1554 org.opencrx.kernel.generic.cci.AdditionalExternalLink newValue 1555 ) { 1556 refAddValue( 1557 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 1558 newValue 1559 ); 1560 } 1561 1562 public void removeAdditionalExternalLink ( 1566 String id 1567 ) { 1568 refRemoveValue( 1569 "org:opencrx:kernel:generic:CrxObject:additionalExternalLink", 1570 id 1571 ); 1572 } 1573 1574 public void setAttachedDocument( 1578 java.util.List newValue 1579 ) { 1580 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 1581 } 1582 1583 public void setAttachedDocument( 1584 org.opencrx.kernel.generic.cci.DocumentAttachment[] newValue 1585 ) { 1586 refSetValue("org:opencrx:kernel:generic:CrxObject:attachedDocument", newValue); 1587 } 1588 1589 public org.opencrx.kernel.generic.cci.DocumentAttachment getAttachedDocument( 1593 String id 1594 ) { 1595 return (org.opencrx.kernel.generic.cci.DocumentAttachment)refGetValue( 1596 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1597 id 1598 ); 1599 } 1600 1601 public java.util.Collection getAttachedDocument( 1605 ) { 1606 return (java.util.Collection )refGetValue( 1607 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 1608 ); 1609 } 1610 1611 public java.util.List getAttachedDocument( 1612 org.opencrx.kernel.generic.cci.DocumentAttachmentFilter filter 1613 ) { 1614 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1615 "org:opencrx:kernel:generic:CrxObject:attachedDocument" 1616 )).toList(filter); 1617 } 1618 1619 public void addAttachedDocument ( 1623 String id, 1624 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 1625 ) { 1626 refAddValue( 1627 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1628 id, 1629 newValue 1630 ); 1631 } 1632 1633 public void addAttachedDocument ( 1637 org.opencrx.kernel.generic.cci.DocumentAttachment newValue 1638 ) { 1639 refAddValue( 1640 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1641 newValue 1642 ); 1643 } 1644 1645 public void removeAttachedDocument ( 1649 String id 1650 ) { 1651 refRemoveValue( 1652 "org:opencrx:kernel:generic:CrxObject:attachedDocument", 1653 id 1654 ); 1655 } 1656 1657 public java.util.List getCategory ( 1661 ) { 1662 return (java.util.List )this.refGetValue("category"); 1663 } 1664 public String getCategory( 1665 int index 1666 ) { 1667 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:category", index); 1668 } 1669 1670 public void setCategory( 1674 java.util.List newValue 1675 ) { 1676 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 1677 } 1678 1679 public void setCategory( 1680 String [] newValue 1681 ) { 1682 refSetValue("org:opencrx:kernel:generic:CrxObject:category", newValue); 1683 } 1684 1685 public boolean isDisabled( 1689 ) { 1690 return isDisabled(0); 1691 } 1692 1693 protected boolean isDisabled( 1694 int index 1695 ) { 1696 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:disabled", index)).booleanValue(); 1697 } 1698 1699 public void setDisabled( 1703 boolean newValue 1704 ) { 1705 setDisabled(0, newValue); 1706 } 1707 1708 protected void setDisabled( 1709 int index, 1710 boolean newValue 1711 ) { 1712 refSetValue("org:opencrx:kernel:generic:CrxObject:disabled", index, new Boolean (newValue)); 1713 } 1714 public String getDisabledReason ( 1718 ) { 1719 return (String )this.refGetValue("disabledReason", 0); 1720 } 1721 public void setDisabledReason( 1725 String newValue 1726 ) { 1727 refSetValue("org:opencrx:kernel:generic:CrxObject:disabledReason", 0, newValue); 1728 } 1729 1730 public java.util.List getExternalLink ( 1734 ) { 1735 return (java.util.List )this.refGetValue("externalLink"); 1736 } 1737 public String getExternalLink( 1738 int index 1739 ) { 1740 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:externalLink", index); 1741 } 1742 1743 public void setExternalLink( 1747 java.util.List newValue 1748 ) { 1749 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 1750 } 1751 1752 public void setExternalLink( 1753 String [] newValue 1754 ) { 1755 refSetValue("org:opencrx:kernel:generic:CrxObject:externalLink", newValue); 1756 } 1757 1758 public void setMedia( 1762 java.util.List newValue 1763 ) { 1764 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 1765 } 1766 1767 public void setMedia( 1768 org.opencrx.kernel.generic.cci.Media[] newValue 1769 ) { 1770 refSetValue("org:opencrx:kernel:generic:CrxObject:media", newValue); 1771 } 1772 1773 public org.opencrx.kernel.generic.cci.Media getMedia( 1777 String id 1778 ) { 1779 return (org.opencrx.kernel.generic.cci.Media)refGetValue( 1780 "org:opencrx:kernel:generic:CrxObject:media", 1781 id 1782 ); 1783 } 1784 1785 public java.util.Collection getMedia( 1789 ) { 1790 return (java.util.Collection )refGetValue( 1791 "org:opencrx:kernel:generic:CrxObject:media" 1792 ); 1793 } 1794 1795 public java.util.List getMedia( 1796 org.opencrx.kernel.generic.cci.MediaFilter filter 1797 ) { 1798 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1799 "org:opencrx:kernel:generic:CrxObject:media" 1800 )).toList(filter); 1801 } 1802 1803 public void addMedia ( 1807 String id, 1808 org.opencrx.kernel.generic.cci.Media newValue 1809 ) { 1810 refAddValue( 1811 "org:opencrx:kernel:generic:CrxObject:media", 1812 id, 1813 newValue 1814 ); 1815 } 1816 1817 public void addMedia ( 1821 org.opencrx.kernel.generic.cci.Media newValue 1822 ) { 1823 refAddValue( 1824 "org:opencrx:kernel:generic:CrxObject:media", 1825 newValue 1826 ); 1827 } 1828 1829 public void removeMedia ( 1833 String id 1834 ) { 1835 refRemoveValue( 1836 "org:opencrx:kernel:generic:CrxObject:media", 1837 id 1838 ); 1839 } 1840 1841 public void setNote( 1845 java.util.List newValue 1846 ) { 1847 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1848 } 1849 1850 public void setNote( 1851 org.opencrx.kernel.generic.cci.Note[] newValue 1852 ) { 1853 refSetValue("org:opencrx:kernel:generic:CrxObject:note", newValue); 1854 } 1855 1856 public org.opencrx.kernel.generic.cci.Note getNote( 1860 String id 1861 ) { 1862 return (org.opencrx.kernel.generic.cci.Note)refGetValue( 1863 "org:opencrx:kernel:generic:CrxObject:note", 1864 id 1865 ); 1866 } 1867 1868 public java.util.Collection getNote( 1872 ) { 1873 return (java.util.Collection )refGetValue( 1874 "org:opencrx:kernel:generic:CrxObject:note" 1875 ); 1876 } 1877 1878 public java.util.List getNote( 1879 org.opencrx.kernel.generic.cci.NoteFilter filter 1880 ) { 1881 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1882 "org:opencrx:kernel:generic:CrxObject:note" 1883 )).toList(filter); 1884 } 1885 1886 public void addNote ( 1890 String id, 1891 org.opencrx.kernel.generic.cci.Note newValue 1892 ) { 1893 refAddValue( 1894 "org:opencrx:kernel:generic:CrxObject:note", 1895 id, 1896 newValue 1897 ); 1898 } 1899 1900 public void addNote ( 1904 org.opencrx.kernel.generic.cci.Note newValue 1905 ) { 1906 refAddValue( 1907 "org:opencrx:kernel:generic:CrxObject:note", 1908 newValue 1909 ); 1910 } 1911 1912 public void removeNote ( 1916 String id 1917 ) { 1918 refRemoveValue( 1919 "org:opencrx:kernel:generic:CrxObject:note", 1920 id 1921 ); 1922 } 1923 1924 public void setRating( 1928 java.util.List newValue 1929 ) { 1930 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1931 } 1932 1933 public void setRating( 1934 org.opencrx.kernel.generic.cci.Rating[] newValue 1935 ) { 1936 refSetValue("org:opencrx:kernel:generic:CrxObject:rating", newValue); 1937 } 1938 1939 public org.opencrx.kernel.generic.cci.Rating getRating( 1943 String id 1944 ) { 1945 return (org.opencrx.kernel.generic.cci.Rating)refGetValue( 1946 "org:opencrx:kernel:generic:CrxObject:rating", 1947 id 1948 ); 1949 } 1950 1951 public java.util.Collection getRating( 1955 ) { 1956 return (java.util.Collection )refGetValue( 1957 "org:opencrx:kernel:generic:CrxObject:rating" 1958 ); 1959 } 1960 1961 public java.util.List getRating( 1962 org.opencrx.kernel.generic.cci.RatingFilter filter 1963 ) { 1964 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 1965 "org:opencrx:kernel:generic:CrxObject:rating" 1966 )).toList(filter); 1967 } 1968 1969 public void addRating ( 1973 String id, 1974 org.opencrx.kernel.generic.cci.Rating newValue 1975 ) { 1976 refAddValue( 1977 "org:opencrx:kernel:generic:CrxObject:rating", 1978 id, 1979 newValue 1980 ); 1981 } 1982 1983 public void addRating ( 1987 org.opencrx.kernel.generic.cci.Rating newValue 1988 ) { 1989 refAddValue( 1990 "org:opencrx:kernel:generic:CrxObject:rating", 1991 newValue 1992 ); 1993 } 1994 1995 public void removeRating ( 1999 String id 2000 ) { 2001 refRemoveValue( 2002 "org:opencrx:kernel:generic:CrxObject:rating", 2003 id 2004 ); 2005 } 2006 2007 public Boolean isUserBoolean0 ( 2011 ) { 2012 return (Boolean )this.refGetValue("userBoolean0", 0); 2013 } 2014 public void setUserBoolean0( 2018 Boolean newValue 2019 ) { 2020 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean0", 0, newValue); 2021 } 2022 2023 public Boolean isUserBoolean1 ( 2027 ) { 2028 return (Boolean )this.refGetValue("userBoolean1", 0); 2029 } 2030 public void setUserBoolean1( 2034 Boolean newValue 2035 ) { 2036 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean1", 0, newValue); 2037 } 2038 2039 public Boolean isUserBoolean2 ( 2043 ) { 2044 return (Boolean )this.refGetValue("userBoolean2", 0); 2045 } 2046 public void setUserBoolean2( 2050 Boolean newValue 2051 ) { 2052 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean2", 0, newValue); 2053 } 2054 2055 public Boolean isUserBoolean3 ( 2059 ) { 2060 return (Boolean )this.refGetValue("userBoolean3", 0); 2061 } 2062 public void setUserBoolean3( 2066 Boolean newValue 2067 ) { 2068 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean3", 0, newValue); 2069 } 2070 2071 public java.util.List isUserBoolean4 ( 2075 ) { 2076 return (java.util.List )this.refGetValue("userBoolean4"); 2077 } 2078 public boolean isUserBoolean4( 2079 int index 2080 ) { 2081 return ((Boolean )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", index)).booleanValue(); 2082 } 2083 2084 public void setUserBoolean4( 2088 java.util.List newValue 2089 ) { 2090 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 2091 } 2092 2093 public void setUserBoolean4( 2094 boolean[] newValue 2095 ) { 2096 refSetValue("org:opencrx:kernel:generic:CrxObject:userBoolean4", newValue); 2097 } 2098 2099 public Short getUserCode0 ( 2103 ) { 2104 return (Short )this.refGetValue("userCode0", 0); 2105 } 2106 public void setUserCode0( 2110 Short newValue 2111 ) { 2112 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode0", 0, newValue); 2113 } 2114 2115 public Short getUserCode1 ( 2119 ) { 2120 return (Short )this.refGetValue("userCode1", 0); 2121 } 2122 public void setUserCode1( 2126 Short newValue 2127 ) { 2128 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode1", 0, newValue); 2129 } 2130 2131 public Short getUserCode2 ( 2135 ) { 2136 return (Short )this.refGetValue("userCode2", 0); 2137 } 2138 public void setUserCode2( 2142 Short newValue 2143 ) { 2144 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode2", 0, newValue); 2145 } 2146 2147 public Short getUserCode3 ( 2151 ) { 2152 return (Short )this.refGetValue("userCode3", 0); 2153 } 2154 public void setUserCode3( 2158 Short newValue 2159 ) { 2160 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode3", 0, newValue); 2161 } 2162 2163 public java.util.List getUserCode4 ( 2167 ) { 2168 return (java.util.List )this.refGetValue("userCode4"); 2169 } 2170 public short getUserCode4( 2171 int index 2172 ) { 2173 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userCode4", index)).shortValue(); 2174 } 2175 2176 public void setUserCode4( 2180 java.util.List newValue 2181 ) { 2182 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 2183 } 2184 2185 public void setUserCode4( 2186 short[] newValue 2187 ) { 2188 refSetValue("org:opencrx:kernel:generic:CrxObject:userCode4", newValue); 2189 } 2190 2191 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate0 ( 2195 ) { 2196 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate0", 0); 2197 } 2198 public void setUserDate0( 2202 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 2203 ) { 2204 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate0", 0, newValue); 2205 } 2206 2207 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate1 ( 2211 ) { 2212 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate1", 0); 2213 } 2214 public void setUserDate1( 2218 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 2219 ) { 2220 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate1", 0, newValue); 2221 } 2222 2223 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate2 ( 2227 ) { 2228 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate2", 0); 2229 } 2230 public void setUserDate2( 2234 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 2235 ) { 2236 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate2", 0, newValue); 2237 } 2238 2239 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate3 ( 2243 ) { 2244 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("userDate3", 0); 2245 } 2246 public void setUserDate3( 2250 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar newValue 2251 ) { 2252 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate3", 0, newValue); 2253 } 2254 2255 public java.util.List getUserDate4 ( 2259 ) { 2260 return (java.util.List )this.refGetValue("userDate4"); 2261 } 2262 public org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar getUserDate4( 2263 int index 2264 ) { 2265 return (org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar)this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDate4", index); 2266 } 2267 2268 public void setUserDate4( 2272 java.util.List newValue 2273 ) { 2274 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 2275 } 2276 2277 public void setUserDate4( 2278 org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar[] newValue 2279 ) { 2280 refSetValue("org:opencrx:kernel:generic:CrxObject:userDate4", newValue); 2281 } 2282 2283 public java.util.Date getUserDateTime0 ( 2287 ) { 2288 return (java.util.Date )this.refGetValue("userDateTime0", 0); 2289 } 2290 public void setUserDateTime0( 2294 java.util.Date newValue 2295 ) { 2296 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime0", 0, newValue); 2297 } 2298 2299 public java.util.Date getUserDateTime1 ( 2303 ) { 2304 return (java.util.Date )this.refGetValue("userDateTime1", 0); 2305 } 2306 public void setUserDateTime1( 2310 java.util.Date newValue 2311 ) { 2312 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime1", 0, newValue); 2313 } 2314 2315 public java.util.Date getUserDateTime2 ( 2319 ) { 2320 return (java.util.Date )this.refGetValue("userDateTime2", 0); 2321 } 2322 public void setUserDateTime2( 2326 java.util.Date newValue 2327 ) { 2328 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime2", 0, newValue); 2329 } 2330 2331 public java.util.Date getUserDateTime3 ( 2335 ) { 2336 return (java.util.Date )this.refGetValue("userDateTime3", 0); 2337 } 2338 public void setUserDateTime3( 2342 java.util.Date newValue 2343 ) { 2344 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime3", 0, newValue); 2345 } 2346 2347 public java.util.List getUserDateTime4 ( 2351 ) { 2352 return (java.util.List )this.refGetValue("userDateTime4"); 2353 } 2354 public java.util.Date getUserDateTime4( 2355 int index 2356 ) { 2357 return (java.util.Date )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", index); 2358 } 2359 2360 public void setUserDateTime4( 2364 java.util.List newValue 2365 ) { 2366 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 2367 } 2368 2369 public void setUserDateTime4( 2370 java.util.Date [] newValue 2371 ) { 2372 refSetValue("org:opencrx:kernel:generic:CrxObject:userDateTime4", newValue); 2373 } 2374 2375 public java.math.BigDecimal getUserNumber0 ( 2379 ) { 2380 return (java.math.BigDecimal )this.refGetValue("userNumber0", 0); 2381 } 2382 public void setUserNumber0( 2386 java.math.BigDecimal newValue 2387 ) { 2388 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber0", 0, newValue); 2389 } 2390 2391 public java.math.BigDecimal getUserNumber1 ( 2395 ) { 2396 return (java.math.BigDecimal )this.refGetValue("userNumber1", 0); 2397 } 2398 public void setUserNumber1( 2402 java.math.BigDecimal newValue 2403 ) { 2404 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber1", 0, newValue); 2405 } 2406 2407 public java.math.BigDecimal getUserNumber2 ( 2411 ) { 2412 return (java.math.BigDecimal )this.refGetValue("userNumber2", 0); 2413 } 2414 public void setUserNumber2( 2418 java.math.BigDecimal newValue 2419 ) { 2420 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber2", 0, newValue); 2421 } 2422 2423 public java.math.BigDecimal getUserNumber3 ( 2427 ) { 2428 return (java.math.BigDecimal )this.refGetValue("userNumber3", 0); 2429 } 2430 public void setUserNumber3( 2434 java.math.BigDecimal newValue 2435 ) { 2436 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber3", 0, newValue); 2437 } 2438 2439 public java.util.List getUserNumber4 ( 2443 ) { 2444 return (java.util.List )this.refGetValue("userNumber4"); 2445 } 2446 public java.math.BigDecimal getUserNumber4( 2447 int index 2448 ) { 2449 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", index); 2450 } 2451 2452 public void setUserNumber4( 2456 java.util.List newValue 2457 ) { 2458 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 2459 } 2460 2461 public void setUserNumber4( 2462 java.math.BigDecimal [] newValue 2463 ) { 2464 refSetValue("org:opencrx:kernel:generic:CrxObject:userNumber4", newValue); 2465 } 2466 2467 public String getUserString0 ( 2471 ) { 2472 return (String )this.refGetValue("userString0", 0); 2473 } 2474 public void setUserString0( 2478 String newValue 2479 ) { 2480 refSetValue("org:opencrx:kernel:generic:CrxObject:userString0", 0, newValue); 2481 } 2482 2483 public String getUserString1 ( 2487 ) { 2488 return (String )this.refGetValue("userString1", 0); 2489 } 2490 public void setUserString1( 2494 String newValue 2495 ) { 2496 refSetValue("org:opencrx:kernel:generic:CrxObject:userString1", 0, newValue); 2497 } 2498 2499 public String getUserString2 ( 2503 ) { 2504 return (String )this.refGetValue("userString2", 0); 2505 } 2506 public void setUserString2( 2510 String newValue 2511 ) { 2512 refSetValue("org:opencrx:kernel:generic:CrxObject:userString2", 0, newValue); 2513 } 2514 2515 public String getUserString3 ( 2519 ) { 2520 return (String )this.refGetValue("userString3", 0); 2521 } 2522 public void setUserString3( 2526 String newValue 2527 ) { 2528 refSetValue("org:opencrx:kernel:generic:CrxObject:userString3", 0, newValue); 2529 } 2530 2531 public java.util.List getUserString4 ( 2535 ) { 2536 return (java.util.List )this.refGetValue("userString4"); 2537 } 2538 public String getUserString4( 2539 int index 2540 ) { 2541 return (String )this.refGetValue("org:opencrx:kernel:generic:CrxObject:userString4", index); 2542 } 2543 2544 public void setUserString4( 2548 java.util.List newValue 2549 ) { 2550 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 2551 } 2552 2553 public void setUserString4( 2554 String [] newValue 2555 ) { 2556 refSetValue("org:opencrx:kernel:generic:CrxObject:userString4", newValue); 2557 } 2558 2559 public java.util.Date getCreatedAt( 2563 ) { 2564 return getCreatedAt(0); 2565 } 2566 2567 protected java.util.Date getCreatedAt( 2568 int index 2569 ) { 2570 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 2571 } 2572 2573 protected void setCreatedAt( 2577 java.util.Date newValue 2578 ) { 2579 setCreatedAt(0, newValue); 2580 } 2581 2582 protected void setCreatedAt( 2583 int index, 2584 java.util.Date newValue 2585 ) { 2586 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 2587 } 2588 public java.util.Set getCreatedBy ( 2592 ) { 2593 return (java.util.Set )this.refGetValue("createdBy"); 2594 } 2595 protected void setCreatedBy( 2599 java.util.Set newValue 2600 ) { 2601 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2602 } 2603 2604 protected void setCreatedBy( 2605 String [] newValue 2606 ) { 2607 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 2608 } 2609 2610 public java.util.Date getModifiedAt( 2614 ) { 2615 return getModifiedAt(0); 2616 } 2617 2618 protected java.util.Date getModifiedAt( 2619 int index 2620 ) { 2621 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 2622 } 2623 2624 protected void setModifiedAt( 2628 java.util.Date newValue 2629 ) { 2630 setModifiedAt(0, newValue); 2631 } 2632 2633 protected void setModifiedAt( 2634 int index, 2635 java.util.Date newValue 2636 ) { 2637 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 2638 } 2639 public java.util.Set getModifiedBy ( 2643 ) { 2644 return (java.util.Set )this.refGetValue("modifiedBy"); 2645 } 2646 protected void setModifiedBy( 2650 java.util.Set newValue 2651 ) { 2652 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2653 } 2654 2655 protected void setModifiedBy( 2656 String [] newValue 2657 ) { 2658 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 2659 } 2660 2661 protected void setContext( 2665 java.util.List newValue 2666 ) { 2667 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2668 } 2669 2670 protected void setContext( 2671 org.openmdx.base.cci.Context[] newValue 2672 ) { 2673 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 2674 } 2675 2676 public org.openmdx.base.cci.Context getContext( 2680 String id 2681 ) { 2682 return (org.openmdx.base.cci.Context)refGetValue( 2683 "org:openmdx:base:ContextCapable:context", 2684 id 2685 ); 2686 } 2687 2688 public java.util.Collection getContext( 2692 ) { 2693 return (java.util.Collection )refGetValue( 2694 "org:openmdx:base:ContextCapable:context" 2695 ); 2696 } 2697 2698 protected void addContext ( 2702 String id, 2703 org.openmdx.base.cci.Context newValue 2704 ) { 2705 refAddValue( 2706 "org:openmdx:base:ContextCapable:context", 2707 id, 2708 newValue 2709 ); 2710 } 2711 2712 protected void addContext ( 2716 org.openmdx.base.cci.Context newValue 2717 ) { 2718 refAddValue( 2719 "org:openmdx:base:ContextCapable:context", 2720 newValue 2721 ); 2722 } 2723 2724 protected void removeContext ( 2728 String id 2729 ) { 2730 refRemoveValue( 2731 "org:openmdx:base:ContextCapable:context", 2732 id 2733 ); 2734 } 2735 2736 public String getIdentity( 2740 ) { 2741 return getIdentity(0); 2742 } 2743 2744 protected String getIdentity( 2745 int index 2746 ) { 2747 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 2748 } 2749 2750 protected void setIdentity( 2754 String newValue 2755 ) { 2756 setIdentity(0, newValue); 2757 } 2758 2759 protected void setIdentity( 2760 int index, 2761 String newValue 2762 ) { 2763 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 2764 } 2765 protected void setView( 2769 java.util.List newValue 2770 ) { 2771 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2772 } 2773 2774 protected void setView( 2775 org.openmdx.compatibility.view1.cci.View[] newValue 2776 ) { 2777 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 2778 } 2779 2780 public org.openmdx.compatibility.view1.cci.View getView( 2784 String namespace 2785 ) { 2786 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 2787 "org:openmdx:compatibility:view1:ViewCapable:view", 2788 namespace 2789 ); 2790 } 2791 2792 public java.util.Collection getView( 2796 ) { 2797 return (java.util.Collection )refGetValue( 2798 "org:openmdx:compatibility:view1:ViewCapable:view" 2799 ); 2800 } 2801 2802 public java.util.List getView( 2803 org.openmdx.compatibility.view1.cci.ViewFilter filter 2804 ) { 2805 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 2806 "org:openmdx:compatibility:view1:ViewCapable:view" 2807 )).toList(filter); 2808 } 2809 2810 protected void addView ( 2814 String namespace, 2815 org.openmdx.compatibility.view1.cci.View newValue 2816 ) { 2817 refAddValue( 2818 "org:openmdx:compatibility:view1:ViewCapable:view", 2819 namespace, 2820 newValue 2821 ); 2822 } 2823 2824 protected void addView ( 2828 org.openmdx.compatibility.view1.cci.View newValue 2829 ) { 2830 refAddValue( 2831 "org:openmdx:compatibility:view1:ViewCapable:view", 2832 newValue 2833 ); 2834 } 2835 2836 protected void removeView ( 2840 String namespace 2841 ) { 2842 refRemoveValue( 2843 "org:openmdx:compatibility:view1:ViewCapable:view", 2844 namespace 2845 ); 2846 } 2847 2848} 2852 | Popular Tags |