1 package org.opencrx.kernel.code1.cci; 14 15 public class CodeValueEntryImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements CodeValueEntry { 18 19 public CodeValueEntryImpl( 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 short getAccessLevelBrowse( 30 ) { 31 return getAccessLevelBrowse(0); 32 } 33 34 protected short getAccessLevelBrowse( 35 int index 36 ) { 37 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue(); 38 } 39 40 public void setAccessLevelBrowse( 44 short newValue 45 ) { 46 setAccessLevelBrowse(0, newValue); 47 } 48 49 protected void setAccessLevelBrowse( 50 int index, 51 short newValue 52 ) { 53 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short (newValue)); 54 } 55 public short getAccessLevelDelete( 59 ) { 60 return getAccessLevelDelete(0); 61 } 62 63 protected short getAccessLevelDelete( 64 int index 65 ) { 66 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue(); 67 } 68 69 public void setAccessLevelDelete( 73 short newValue 74 ) { 75 setAccessLevelDelete(0, newValue); 76 } 77 78 protected void setAccessLevelDelete( 79 int index, 80 short newValue 81 ) { 82 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short (newValue)); 83 } 84 public short getAccessLevelUpdate( 88 ) { 89 return getAccessLevelUpdate(0); 90 } 91 92 protected short getAccessLevelUpdate( 93 int index 94 ) { 95 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue(); 96 } 97 98 public void setAccessLevelUpdate( 102 short newValue 103 ) { 104 setAccessLevelUpdate(0, newValue); 105 } 106 107 protected void setAccessLevelUpdate( 108 int index, 109 short newValue 110 ) { 111 refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short (newValue)); 112 } 113 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 117 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 118 ) throws javax.jmi.reflect.RefException { 119 java.util.List args = new java.util.ArrayList (); 120 args.add(params); 121 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 122 "org:opencrx:kernel:base:SecureObject:addOwningGroup", 123 args 124 ); 125 } 126 127 public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup( 128 org.opencrx.security.realm1.cci.PrincipalGroup group 129 , short mode 130 ) throws javax.jmi.reflect.RefException { 131 return addOwningGroup( 132 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 133 group 134 , mode 135 ) 136 ); 137 } 138 139 public java.util.List getOwner ( 143 ) { 144 return (java.util.List )this.refGetValue("owner"); 145 } 146 public String getOwner( 147 int index 148 ) { 149 return (String )this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index); 150 } 151 152 protected void setOwner( 156 java.util.List newValue 157 ) { 158 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 159 } 160 161 protected void setOwner( 162 String [] newValue 163 ) { 164 refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue); 165 } 166 167 public void setOwningGroup( 171 java.util.List newValue 172 ) { 173 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 174 } 175 176 public void setOwningGroup( 177 org.opencrx.security.realm1.cci.PrincipalGroup[] newValue 178 ) { 179 refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue); 180 } 181 182 public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup( 186 int index 187 ) { 188 return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue( 189 "org:opencrx:kernel:base:SecureObject:owningGroup", 190 new Integer (index) 191 ); 192 } 193 194 public java.util.Collection getOwningGroup( 198 ) { 199 return (java.util.Collection )refGetValue( 200 "org:opencrx:kernel:base:SecureObject:owningGroup" 201 ); 202 } 203 204 public void addOwningGroup ( 208 int index, 209 org.opencrx.security.realm1.cci.PrincipalGroup newValue 210 ) { 211 refAddValue( 212 "org:opencrx:kernel:base:SecureObject:owningGroup", 213 new Integer (index), 214 newValue 215 ); 216 } 217 218 public void addOwningGroup ( 222 org.opencrx.security.realm1.cci.PrincipalGroup newValue 223 ) { 224 refAddValue( 225 "org:opencrx:kernel:base:SecureObject:owningGroup", 226 newValue 227 ); 228 } 229 230 public void removeOwningGroup ( 234 int index 235 ) { 236 refRemoveValue( 237 "org:opencrx:kernel:base:SecureObject:owningGroup", 238 new Integer (index) 239 ); 240 } 241 242 public org.opencrx.security.realm1.cci.User getOwningUser( 246 ) { 247 return (org.opencrx.security.realm1.cci.User)refGetValue( 248 "org:opencrx:kernel:base:SecureObject:owningUser" 249 ); 250 } 251 252 public void setOwningUser( 256 org.opencrx.security.realm1.cci.User newValue 257 ) { 258 refSetValue( 259 "org:opencrx:kernel:base:SecureObject:owningUser", 260 newValue 261 ); 262 } 263 264 public void removeOwningUser ( 268 ) { 269 refRemoveValue( 270 "org:opencrx:kernel:base:SecureObject:owningUser" 271 ); 272 } 273 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 277 org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params 278 ) throws javax.jmi.reflect.RefException { 279 java.util.List args = new java.util.ArrayList (); 280 args.add(params); 281 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 282 "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup", 283 args 284 ); 285 } 286 287 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup( 288 short mode 289 ) throws javax.jmi.reflect.RefException { 290 return removeAllOwningGroup( 291 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams( 292 mode 293 ) 294 ); 295 } 296 297 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 301 org.opencrx.kernel.base.cci.ModifyOwningGroupParams params 302 ) throws javax.jmi.reflect.RefException { 303 java.util.List args = new java.util.ArrayList (); 304 args.add(params); 305 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 306 "org:opencrx:kernel:base:SecureObject:removeOwningGroup", 307 args 308 ); 309 } 310 311 public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup( 312 org.opencrx.security.realm1.cci.PrincipalGroup group 313 , short mode 314 ) throws javax.jmi.reflect.RefException { 315 return removeOwningGroup( 316 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams( 317 group 318 , mode 319 ) 320 ); 321 } 322 323 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 327 org.opencrx.kernel.base.cci.SetAccessLevelParams params 328 ) throws javax.jmi.reflect.RefException { 329 java.util.List args = new java.util.ArrayList (); 330 args.add(params); 331 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 332 "org:opencrx:kernel:base:SecureObject:setAccessLevel", 333 args 334 ); 335 } 336 337 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel( 338 short accessLevelBrowse 339 , short accessLevelDelete 340 , short accessLevelUpdate 341 , short mode 342 ) throws javax.jmi.reflect.RefException { 343 return setAccessLevel( 344 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams( 345 accessLevelBrowse 346 , accessLevelDelete 347 , accessLevelUpdate 348 , mode 349 ) 350 ); 351 } 352 353 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 357 org.opencrx.kernel.base.cci.SetOwningUserParams params 358 ) throws javax.jmi.reflect.RefException { 359 java.util.List args = new java.util.ArrayList (); 360 args.add(params); 361 return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation( 362 "org:opencrx:kernel:base:SecureObject:setOwningUser", 363 args 364 ); 365 } 366 367 public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser( 368 short mode 369 , org.opencrx.security.realm1.cci.User user 370 ) throws javax.jmi.reflect.RefException { 371 return setOwningUser( 372 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams( 373 mode 374 , user 375 ) 376 ); 377 } 378 379 public String getBackColor ( 383 ) { 384 return (String )this.refGetValue("backColor", 0); 385 } 386 public void setBackColor( 390 String newValue 391 ) { 392 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:backColor", 0, newValue); 393 } 394 395 public String getColor ( 399 ) { 400 return (String )this.refGetValue("color", 0); 401 } 402 public void setColor( 406 String newValue 407 ) { 408 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:color", 0, newValue); 409 } 410 411 public String getIconKey ( 415 ) { 416 return (String )this.refGetValue("iconKey", 0); 417 } 418 public void setIconKey( 422 String newValue 423 ) { 424 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:iconKey", 0, newValue); 425 } 426 427 public java.util.List getLongText ( 431 ) { 432 return (java.util.List )this.refGetValue("longText"); 433 } 434 public String getLongText( 435 int index 436 ) { 437 return (String )this.refGetValue("org:opencrx:kernel:code1:CodeValueEntry:longText", index); 438 } 439 440 public void setLongText( 444 java.util.List newValue 445 ) { 446 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:longText", newValue); 447 } 448 449 public void setLongText( 450 String [] newValue 451 ) { 452 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:longText", newValue); 453 } 454 455 public java.util.List getShortText ( 459 ) { 460 return (java.util.List )this.refGetValue("shortText"); 461 } 462 public String getShortText( 463 int index 464 ) { 465 return (String )this.refGetValue("org:opencrx:kernel:code1:CodeValueEntry:shortText", index); 466 } 467 468 public void setShortText( 472 java.util.List newValue 473 ) { 474 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:shortText", newValue); 475 } 476 477 public void setShortText( 478 String [] newValue 479 ) { 480 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:shortText", newValue); 481 } 482 483 public java.util.Date getValidFrom ( 487 ) { 488 return (java.util.Date )this.refGetValue("validFrom", 0); 489 } 490 public void setValidFrom( 494 java.util.Date newValue 495 ) { 496 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:validFrom", 0, newValue); 497 } 498 499 public java.util.Date getValidTo ( 503 ) { 504 return (java.util.Date )this.refGetValue("validTo", 0); 505 } 506 public void setValidTo( 510 java.util.Date newValue 511 ) { 512 refSetValue("org:opencrx:kernel:code1:CodeValueEntry:validTo", 0, newValue); 513 } 514 515 public java.util.Date getCreatedAt( 519 ) { 520 return getCreatedAt(0); 521 } 522 523 protected java.util.Date getCreatedAt( 524 int index 525 ) { 526 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 527 } 528 529 protected void setCreatedAt( 533 java.util.Date newValue 534 ) { 535 setCreatedAt(0, newValue); 536 } 537 538 protected void setCreatedAt( 539 int index, 540 java.util.Date newValue 541 ) { 542 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 543 } 544 public java.util.Set getCreatedBy ( 548 ) { 549 return (java.util.Set )this.refGetValue("createdBy"); 550 } 551 protected void setCreatedBy( 555 java.util.Set newValue 556 ) { 557 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 558 } 559 560 protected void setCreatedBy( 561 String [] newValue 562 ) { 563 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 564 } 565 566 public java.util.Date getModifiedAt( 570 ) { 571 return getModifiedAt(0); 572 } 573 574 protected java.util.Date getModifiedAt( 575 int index 576 ) { 577 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 578 } 579 580 protected void setModifiedAt( 584 java.util.Date newValue 585 ) { 586 setModifiedAt(0, newValue); 587 } 588 589 protected void setModifiedAt( 590 int index, 591 java.util.Date newValue 592 ) { 593 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 594 } 595 public java.util.Set getModifiedBy ( 599 ) { 600 return (java.util.Set )this.refGetValue("modifiedBy"); 601 } 602 protected void setModifiedBy( 606 java.util.Set newValue 607 ) { 608 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 609 } 610 611 protected void setModifiedBy( 612 String [] newValue 613 ) { 614 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 615 } 616 617 protected void setContext( 621 java.util.List newValue 622 ) { 623 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 624 } 625 626 protected void setContext( 627 org.openmdx.base.cci.Context[] newValue 628 ) { 629 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 630 } 631 632 public org.openmdx.base.cci.Context getContext( 636 String id 637 ) { 638 return (org.openmdx.base.cci.Context)refGetValue( 639 "org:openmdx:base:ContextCapable:context", 640 id 641 ); 642 } 643 644 public java.util.Collection getContext( 648 ) { 649 return (java.util.Collection )refGetValue( 650 "org:openmdx:base:ContextCapable:context" 651 ); 652 } 653 654 protected void addContext ( 658 String id, 659 org.openmdx.base.cci.Context newValue 660 ) { 661 refAddValue( 662 "org:openmdx:base:ContextCapable:context", 663 id, 664 newValue 665 ); 666 } 667 668 protected void addContext ( 672 org.openmdx.base.cci.Context newValue 673 ) { 674 refAddValue( 675 "org:openmdx:base:ContextCapable:context", 676 newValue 677 ); 678 } 679 680 protected void removeContext ( 684 String id 685 ) { 686 refRemoveValue( 687 "org:openmdx:base:ContextCapable:context", 688 id 689 ); 690 } 691 692 public String getIdentity( 696 ) { 697 return getIdentity(0); 698 } 699 700 protected String getIdentity( 701 int index 702 ) { 703 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 704 } 705 706 protected void setIdentity( 710 String newValue 711 ) { 712 setIdentity(0, newValue); 713 } 714 715 protected void setIdentity( 716 int index, 717 String newValue 718 ) { 719 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 720 } 721 protected void setView( 725 java.util.List newValue 726 ) { 727 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 728 } 729 730 protected void setView( 731 org.openmdx.compatibility.view1.cci.View[] newValue 732 ) { 733 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 734 } 735 736 public org.openmdx.compatibility.view1.cci.View getView( 740 String namespace 741 ) { 742 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 743 "org:openmdx:compatibility:view1:ViewCapable:view", 744 namespace 745 ); 746 } 747 748 public java.util.Collection getView( 752 ) { 753 return (java.util.Collection )refGetValue( 754 "org:openmdx:compatibility:view1:ViewCapable:view" 755 ); 756 } 757 758 public java.util.List getView( 759 org.openmdx.compatibility.view1.cci.ViewFilter filter 760 ) { 761 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 762 "org:openmdx:compatibility:view1:ViewCapable:view" 763 )).toList(filter); 764 } 765 766 protected void addView ( 770 String namespace, 771 org.openmdx.compatibility.view1.cci.View newValue 772 ) { 773 refAddValue( 774 "org:openmdx:compatibility:view1:ViewCapable:view", 775 namespace, 776 newValue 777 ); 778 } 779 780 protected void addView ( 784 org.openmdx.compatibility.view1.cci.View newValue 785 ) { 786 refAddValue( 787 "org:openmdx:compatibility:view1:ViewCapable:view", 788 newValue 789 ); 790 } 791 792 protected void removeView ( 796 String namespace 797 ) { 798 refRemoveValue( 799 "org:openmdx:compatibility:view1:ViewCapable:view", 800 namespace 801 ); 802 } 803 804 } 808 | Popular Tags |