1 package org.opencrx.kernel.contract1.cci; 14 15 public class CustomerContractRoleImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements CustomerContractRole { 18 19 public CustomerContractRoleImpl( 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 short getAccessLevelBrowse( 221 ) { 222 return getAccessLevelBrowse(0); 223 } 224 225 protected short getAccessLevelBrowse( 226 int index 227 ) { 228 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 229 } 230 231 public void setAccessLevelBrowse( 235 short newValue 236 ) { 237 setAccessLevelBrowse(0, newValue); 238 } 239 240 protected void setAccessLevelBrowse( 241 int index, 242 short newValue 243 ) { 244 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 245 } 246 public short getAccessLevelDelete( 250 ) { 251 return getAccessLevelDelete(0); 252 } 253 254 protected short getAccessLevelDelete( 255 int index 256 ) { 257 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 258 } 259 260 public void setAccessLevelDelete( 264 short newValue 265 ) { 266 setAccessLevelDelete(0, newValue); 267 } 268 269 protected void setAccessLevelDelete( 270 int index, 271 short newValue 272 ) { 273 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 274 } 275 public short getAccessLevelUpdate( 279 ) { 280 return getAccessLevelUpdate(0); 281 } 282 283 protected short getAccessLevelUpdate( 284 int index 285 ) { 286 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 287 } 288 289 public void setAccessLevelUpdate( 293 short newValue 294 ) { 295 setAccessLevelUpdate(0, newValue); 296 } 297 298 protected void setAccessLevelUpdate( 299 int index, 300 short newValue 301 ) { 302 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 303 } 304 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 308 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 309 ) throws javax.jmi.reflect.RefException { 310 java.util.List args = new java.util.ArrayList (); 311 args.add(params); 312 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 313 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 314 args 315 ); 316 } 317 318 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 319 org.opencrx.security.realm1.cci.PrincipalGroup group 320 , short mode 321 ) throws javax.jmi.reflect.RefException { 322 return addOwningGroup( 323 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 324 group 325 , mode 326 ) 327 ); 328 } 329 330 public java.util.List getOwner ( 334 ) { 335 return (java.util.List )this.refGetValue("owner"); 336 } 337 public String getOwner( 338 int index 339 ) { 340 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 341 } 342 343 protected void setOwner( 347 java.util.List newValue 348 ) { 349 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 350 } 351 352 protected void setOwner( 353 String [] newValue 354 ) { 355 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 356 } 357 358 public void setOwningGroup( 362 java.util.List newValue 363 ) { 364 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 365 } 366 367 public void setOwningGroup( 368 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 369 ) { 370 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 371 } 372 373 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 377 int index 378 ) { 379 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 380 "org:opencrx:kernel:base:SecureObject:owningGroup", 381 new Integer (index) 382 ); 383 } 384 385 public java.util.Collection getOwningGroup( 389 ) { 390 return (java.util.Collection )refGetValue( 391 "org:opencrx:kernel:base:SecureObject:owningGroup" 392 ); 393 } 394 395 public void addOwningGroup ( 399 int index, 400 org.opencrx.security.realm1.cci.PrincipalGroup newValue 401 ) { 402 refAddValue( 403 "org:opencrx:kernel:base:SecureObject:owningGroup", 404 new Integer (index), 405 newValue 406 ); 407 } 408 409 public void addOwningGroup ( 413 org.opencrx.security.realm1.cci.PrincipalGroup newValue 414 ) { 415 refAddValue( 416 "org:opencrx:kernel:base:SecureObject:owningGroup", 417 newValue 418 ); 419 } 420 421 public void removeOwningGroup ( 425 int index 426 ) { 427 refRemoveValue( 428 "org:opencrx:kernel:base:SecureObject:owningGroup", 429 new Integer (index) 430 ); 431 } 432 433 public org.opencrx.security.realm1.cci.User getOwningUser( 437 ) { 438 return (org.opencrx.security.realm1.cci.User)refGetValue( 439 "org:opencrx:kernel:base:SecureObject:owningUser" 440 ); 441 } 442 443 public void setOwningUser( 447 org.opencrx.security.realm1.cci.User newValue 448 ) { 449 refSetValue( 450 "org:opencrx:kernel:base:SecureObject:owningUser", 451 newValue 452 ); 453 } 454 455 public void removeOwningUser ( 459 ) { 460 refRemoveValue( 461 "org:opencrx:kernel:base:SecureObject:owningUser" 462 ); 463 } 464 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 468 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 469 ) throws javax.jmi.reflect.RefException { 470 java.util.List args = new java.util.ArrayList (); 471 args.add(params); 472 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 473 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 474 args 475 ); 476 } 477 478 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 479 short mode 480 ) throws javax.jmi.reflect.RefException { 481 return removeAllOwningGroup( 482 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 483 mode 484 ) 485 ); 486 } 487 488 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 492 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 493 ) throws javax.jmi.reflect.RefException { 494 java.util.List args = new java.util.ArrayList (); 495 args.add(params); 496 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 497 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 498 args 499 ); 500 } 501 502 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 503 org.opencrx.security.realm1.cci.PrincipalGroup group 504 , short mode 505 ) throws javax.jmi.reflect.RefException { 506 return removeOwningGroup( 507 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 508 group 509 , mode 510 ) 511 ); 512 } 513 514 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 518 org.opencrx.kernel.base.cci.SetAccessLevelParams 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:setAccessLevel", 524 args 525 ); 526 } 527 528 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 529 short accessLevelBrowse 530 , short accessLevelDelete 531 , short accessLevelUpdate 532 , short mode 533 ) throws javax.jmi.reflect.RefException { 534 return setAccessLevel( 535 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 536 accessLevelBrowse 537 , accessLevelDelete 538 , accessLevelUpdate 539 , mode 540 ) 541 ); 542 } 543 544 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 548 org.opencrx.kernel.base.cci.SetOwningUserParams params 549 ) throws javax.jmi.reflect.RefException { 550 java.util.List args = new java.util.ArrayList (); 551 args.add(params); 552 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 553 "org:opencrx:kernel:base:SecureObject:setOwningUser", 554 args 555 ); 556 } 557 558 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 559 short mode 560 , org.opencrx.security.realm1.cci.User user 561 ) throws javax.jmi.reflect.RefException { 562 return setOwningUser( 563 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 564 mode 565 , user 566 ) 567 ); 568 } 569 570 public org.opencrx.kernel.account1.cci.Account getAccount( 574 ) { 575 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 576 "org:opencrx:kernel:contract1:ContractRole:account" 577 ); 578 } 579 580 public void setAccount( 584 org.opencrx.kernel.account1.cci.Account newValue 585 ) { 586 refSetValue( 587 "org:opencrx:kernel:contract1:ContractRole:account", 588 newValue 589 ); 590 } 591 592 public void removeAccount ( 596 ) { 597 refRemoveValue( 598 "org:opencrx:kernel:contract1:ContractRole:account" 599 ); 600 } 601 public org.opencrx.kernel.contract1.cci.AbstractContract getContract( 605 ) { 606 return (org.opencrx.kernel.contract1.cci.AbstractContract)refGetValue( 607 "org:opencrx:kernel:contract1:ContractRole:contract" 608 ); 609 } 610 611 public void setContract( 615 org.opencrx.kernel.contract1.cci.AbstractContract newValue 616 ) { 617 refSetValue( 618 "org:opencrx:kernel:contract1:ContractRole:contract", 619 newValue 620 ); 621 } 622 623 public void removeContract ( 627 ) { 628 refRemoveValue( 629 "org:opencrx:kernel:contract1:ContractRole:contract" 630 ); 631 } 632 public java.util.Date getCreatedAt( 636 ) { 637 return getCreatedAt(0); 638 } 639 640 protected java.util.Date getCreatedAt( 641 int index 642 ) { 643 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 644 } 645 646 protected void setCreatedAt( 650 java.util.Date newValue 651 ) { 652 setCreatedAt(0, newValue); 653 } 654 655 protected void setCreatedAt( 656 int index, 657 java.util.Date newValue 658 ) { 659 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 660 } 661 public java.util.Set getCreatedBy ( 665 ) { 666 return (java.util.Set )this.refGetValue("createdBy"); 667 } 668 protected void setCreatedBy( 672 java.util.Set newValue 673 ) { 674 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 675 } 676 677 protected void setCreatedBy( 678 String [] newValue 679 ) { 680 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 681 } 682 683 public java.util.Date getModifiedAt( 687 ) { 688 return getModifiedAt(0); 689 } 690 691 protected java.util.Date getModifiedAt( 692 int index 693 ) { 694 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 695 } 696 697 protected void setModifiedAt( 701 java.util.Date newValue 702 ) { 703 setModifiedAt(0, newValue); 704 } 705 706 protected void setModifiedAt( 707 int index, 708 java.util.Date newValue 709 ) { 710 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 711 } 712 public java.util.Set getModifiedBy ( 716 ) { 717 return (java.util.Set )this.refGetValue("modifiedBy"); 718 } 719 protected void setModifiedBy( 723 java.util.Set newValue 724 ) { 725 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 726 } 727 728 protected void setModifiedBy( 729 String [] newValue 730 ) { 731 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 732 } 733 734 protected void setContext( 738 java.util.List newValue 739 ) { 740 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 741 } 742 743 protected void setContext( 744 org.openmdx.base.cci.Context[] newValue 745 ) { 746 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 747 } 748 749 public org.openmdx.base.cci.Context getContext( 753 String id 754 ) { 755 return (org.openmdx.base.cci.Context)refGetValue( 756 "org:openmdx:base:ContextCapable:context", 757 id 758 ); 759 } 760 761 public java.util.Collection getContext( 765 ) { 766 return (java.util.Collection )refGetValue( 767 "org:openmdx:base:ContextCapable:context" 768 ); 769 } 770 771 protected void addContext ( 775 String id, 776 org.openmdx.base.cci.Context newValue 777 ) { 778 refAddValue( 779 "org:openmdx:base:ContextCapable:context", 780 id, 781 newValue 782 ); 783 } 784 785 protected void addContext ( 789 org.openmdx.base.cci.Context newValue 790 ) { 791 refAddValue( 792 "org:openmdx:base:ContextCapable:context", 793 newValue 794 ); 795 } 796 797 protected void removeContext ( 801 String id 802 ) { 803 refRemoveValue( 804 "org:openmdx:base:ContextCapable:context", 805 id 806 ); 807 } 808 809 public String getIdentity( 813 ) { 814 return getIdentity(0); 815 } 816 817 protected String getIdentity( 818 int index 819 ) { 820 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 821 } 822 823 protected void setIdentity( 827 String newValue 828 ) { 829 setIdentity(0, newValue); 830 } 831 832 protected void setIdentity( 833 int index, 834 String newValue 835 ) { 836 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 837 } 838 protected void setView( 842 java.util.List newValue 843 ) { 844 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 845 } 846 847 protected void setView( 848 org.openmdx.compatibility.view1.cci.View[] newValue 849 ) { 850 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 851 } 852 853 public org.openmdx.compatibility.view1.cci.View getView( 857 String namespace 858 ) { 859 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 860 "org:openmdx:compatibility:view1:ViewCapable:view", 861 namespace 862 ); 863 } 864 865 public java.util.Collection getView( 869 ) { 870 return (java.util.Collection )refGetValue( 871 "org:openmdx:compatibility:view1:ViewCapable:view" 872 ); 873 } 874 875 public java.util.List getView( 876 org.openmdx.compatibility.view1.cci.ViewFilter filter 877 ) { 878 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 879 "org:openmdx:compatibility:view1:ViewCapable:view" 880 )).toList(filter); 881 } 882 883 protected void addView ( 887 String namespace, 888 org.openmdx.compatibility.view1.cci.View newValue 889 ) { 890 refAddValue( 891 "org:openmdx:compatibility:view1:ViewCapable:view", 892 namespace, 893 newValue 894 ); 895 } 896 897 protected void addView ( 901 org.openmdx.compatibility.view1.cci.View newValue 902 ) { 903 refAddValue( 904 "org:openmdx:compatibility:view1:ViewCapable:view", 905 newValue 906 ); 907 } 908 909 protected void removeView ( 913 String namespace 914 ) { 915 refRemoveValue( 916 "org:openmdx:compatibility:view1:ViewCapable:view", 917 namespace 918 ); 919 } 920 921 } 925 | Popular Tags |