1 package org.opencrx.security.realm1.cci; 14 15 public class PrincipalGroupImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements PrincipalGroup { 18 19 public PrincipalGroupImpl( 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 void setGrantedRole( 30 java.util.List newValue 31 ) { 32 refSetValue("org:opencrx:security:realm1:PrincipalGroup:grantedRole", newValue); 33 } 34 35 public void setGrantedRole( 36 org.openmdx.security.realm1.cci.Role[] newValue 37 ) { 38 refSetValue("org:opencrx:security:realm1:PrincipalGroup:grantedRole", newValue); 39 } 40 41 public org.openmdx.security.realm1.cci.Role getGrantedRole( 45 int index 46 ) { 47 return (org.openmdx.security.realm1.cci.Role)refGetValue( 48 "org:opencrx:security:realm1:PrincipalGroup:grantedRole", 49 new Integer (index) 50 ); 51 } 52 53 public java.util.Collection getGrantedRole( 57 ) { 58 return (java.util.Collection )refGetValue( 59 "org:opencrx:security:realm1:PrincipalGroup:grantedRole" 60 ); 61 } 62 63 public void addGrantedRole ( 67 int index, 68 org.openmdx.security.realm1.cci.Role newValue 69 ) { 70 refAddValue( 71 "org:opencrx:security:realm1:PrincipalGroup:grantedRole", 72 new Integer (index), 73 newValue 74 ); 75 } 76 77 public void addGrantedRole ( 81 org.openmdx.security.realm1.cci.Role newValue 82 ) { 83 refAddValue( 84 "org:opencrx:security:realm1:PrincipalGroup:grantedRole", 85 newValue 86 ); 87 } 88 89 public void removeGrantedRole ( 93 int index 94 ) { 95 refRemoveValue( 96 "org:opencrx:security:realm1:PrincipalGroup:grantedRole", 97 new Integer (index) 98 ); 99 } 100 101 public java.util.Date getCreatedAt( 105 ) { 106 return getCreatedAt(0); 107 } 108 109 protected java.util.Date getCreatedAt( 110 int index 111 ) { 112 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 113 } 114 115 protected void setCreatedAt( 119 java.util.Date newValue 120 ) { 121 setCreatedAt(0, newValue); 122 } 123 124 protected void setCreatedAt( 125 int index, 126 java.util.Date newValue 127 ) { 128 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 129 } 130 public java.util.Set getCreatedBy ( 134 ) { 135 return (java.util.Set )this.refGetValue("createdBy"); 136 } 137 protected void setCreatedBy( 141 java.util.Set newValue 142 ) { 143 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 144 } 145 146 protected void setCreatedBy( 147 String [] newValue 148 ) { 149 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 150 } 151 152 public java.util.Date getModifiedAt( 156 ) { 157 return getModifiedAt(0); 158 } 159 160 protected java.util.Date getModifiedAt( 161 int index 162 ) { 163 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 164 } 165 166 protected void setModifiedAt( 170 java.util.Date newValue 171 ) { 172 setModifiedAt(0, newValue); 173 } 174 175 protected void setModifiedAt( 176 int index, 177 java.util.Date newValue 178 ) { 179 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 180 } 181 public java.util.Set getModifiedBy ( 185 ) { 186 return (java.util.Set )this.refGetValue("modifiedBy"); 187 } 188 protected void setModifiedBy( 192 java.util.Set newValue 193 ) { 194 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 195 } 196 197 protected void setModifiedBy( 198 String [] newValue 199 ) { 200 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 201 } 202 203 protected void setContext( 207 java.util.List newValue 208 ) { 209 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 210 } 211 212 protected void setContext( 213 org.openmdx.base.cci.Context[] newValue 214 ) { 215 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 216 } 217 218 public org.openmdx.base.cci.Context getContext( 222 String id 223 ) { 224 return (org.openmdx.base.cci.Context)refGetValue( 225 "org:openmdx:base:ContextCapable:context", 226 id 227 ); 228 } 229 230 public java.util.Collection getContext( 234 ) { 235 return (java.util.Collection )refGetValue( 236 "org:openmdx:base:ContextCapable:context" 237 ); 238 } 239 240 protected void addContext ( 244 String id, 245 org.openmdx.base.cci.Context newValue 246 ) { 247 refAddValue( 248 "org:openmdx:base:ContextCapable:context", 249 id, 250 newValue 251 ); 252 } 253 254 protected void addContext ( 258 org.openmdx.base.cci.Context newValue 259 ) { 260 refAddValue( 261 "org:openmdx:base:ContextCapable:context", 262 newValue 263 ); 264 } 265 266 protected void removeContext ( 270 String id 271 ) { 272 refRemoveValue( 273 "org:openmdx:base:ContextCapable:context", 274 id 275 ); 276 } 277 278 public String getIdentity( 282 ) { 283 return getIdentity(0); 284 } 285 286 protected String getIdentity( 287 int index 288 ) { 289 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 290 } 291 292 protected void setIdentity( 296 String newValue 297 ) { 298 setIdentity(0, newValue); 299 } 300 301 protected void setIdentity( 302 int index, 303 String newValue 304 ) { 305 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 306 } 307 protected void setView( 311 java.util.List newValue 312 ) { 313 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 314 } 315 316 protected void setView( 317 org.openmdx.compatibility.view1.cci.View[] newValue 318 ) { 319 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 320 } 321 322 public org.openmdx.compatibility.view1.cci.View getView( 326 String namespace 327 ) { 328 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 329 "org:openmdx:compatibility:view1:ViewCapable:view", 330 namespace 331 ); 332 } 333 334 public java.util.Collection getView( 338 ) { 339 return (java.util.Collection )refGetValue( 340 "org:openmdx:compatibility:view1:ViewCapable:view" 341 ); 342 } 343 344 public java.util.List getView( 345 org.openmdx.compatibility.view1.cci.ViewFilter filter 346 ) { 347 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 348 "org:openmdx:compatibility:view1:ViewCapable:view" 349 )).toList(filter); 350 } 351 352 protected void addView ( 356 String namespace, 357 org.openmdx.compatibility.view1.cci.View newValue 358 ) { 359 refAddValue( 360 "org:openmdx:compatibility:view1:ViewCapable:view", 361 namespace, 362 newValue 363 ); 364 } 365 366 protected void addView ( 370 org.openmdx.compatibility.view1.cci.View newValue 371 ) { 372 refAddValue( 373 "org:openmdx:compatibility:view1:ViewCapable:view", 374 newValue 375 ); 376 } 377 378 protected void removeView ( 382 String namespace 383 ) { 384 refRemoveValue( 385 "org:openmdx:compatibility:view1:ViewCapable:view", 386 namespace 387 ); 388 } 389 390 protected void setMember( 394 java.util.List newValue 395 ) { 396 refSetValue("org:openmdx:security:realm1:Group:member", newValue); 397 } 398 399 protected void setMember( 400 org.openmdx.security.realm1.cci.Principal[] newValue 401 ) { 402 refSetValue("org:openmdx:security:realm1:Group:member", newValue); 403 } 404 405 public java.util.Collection getMember( 409 ) { 410 return (java.util.Collection )refGetValue( 411 "org:openmdx:security:realm1:Group:member" 412 ); 413 } 414 415 public java.util.List getMember( 416 org.openmdx.security.realm1.cci.PrincipalFilter filter 417 ) { 418 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 419 "org:openmdx:security:realm1:Group:member" 420 )).toList(filter); 421 } 422 423 public java.util.Collection getMember( 427 org.openmdx.security.realm1.cci.Realm principalContainer 428 ) { 429 return (java.util.Collection )refGetValue( 430 "org:openmdx:security:realm1:Group:member", 431 principalContainer 432 ); 433 } 434 435 public java.util.List getMember( 436 org.openmdx.security.realm1.cci.Realm principalContainer, 437 org.openmdx.security.realm1.cci.PrincipalFilter filter 438 ) { 439 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 440 "org:openmdx:security:realm1:Group:member", 441 principalContainer 442 )).toList(filter); 443 } 444 445 protected void addMember ( 449 org.openmdx.security.realm1.cci.Principal newValue 450 ) { 451 refAddValue( 452 "org:openmdx:security:realm1:Group:member", 453 newValue 454 ); 455 } 456 457 public void setCredential( 461 java.util.List newValue 462 ) { 463 refSetValue("org:openmdx:security:realm1:Principal:credential", newValue); 464 } 465 466 public void setCredential( 467 org.openmdx.security.realm1.cci.Credential[] newValue 468 ) { 469 refSetValue("org:openmdx:security:realm1:Principal:credential", newValue); 470 } 471 472 public org.openmdx.security.realm1.cci.Credential getCredential( 476 int index 477 ) { 478 return (org.openmdx.security.realm1.cci.Credential)refGetValue( 479 "org:openmdx:security:realm1:Principal:credential", 480 new Integer (index) 481 ); 482 } 483 484 public java.util.Collection getCredential( 488 ) { 489 return (java.util.Collection )refGetValue( 490 "org:openmdx:security:realm1:Principal:credential" 491 ); 492 } 493 494 public void addCredential ( 498 int index, 499 org.openmdx.security.realm1.cci.Credential newValue 500 ) { 501 refAddValue( 502 "org:openmdx:security:realm1:Principal:credential", 503 new Integer (index), 504 newValue 505 ); 506 } 507 508 public void addCredential ( 512 org.openmdx.security.realm1.cci.Credential newValue 513 ) { 514 refAddValue( 515 "org:openmdx:security:realm1:Principal:credential", 516 newValue 517 ); 518 } 519 520 public void removeCredential ( 524 int index 525 ) { 526 refRemoveValue( 527 "org:openmdx:security:realm1:Principal:credential", 528 new Integer (index) 529 ); 530 } 531 532 public String getDescription ( 536 ) { 537 return (String )this.refGetValue("description", 0); 538 } 539 public void setDescription( 543 String newValue 544 ) { 545 refSetValue("org:openmdx:security:realm1:Principal:description", 0, newValue); 546 } 547 548 public boolean isDisabled( 552 ) { 553 return isDisabled(0); 554 } 555 556 protected boolean isDisabled( 557 int index 558 ) { 559 return ((Boolean )this.refGetValue("org:openmdx:security:realm1:Principal:disabled", index)).booleanValue(); 560 } 561 562 public void setDisabled( 566 boolean newValue 567 ) { 568 setDisabled(0, newValue); 569 } 570 571 protected void setDisabled( 572 int index, 573 boolean newValue 574 ) { 575 refSetValue("org:openmdx:security:realm1:Principal:disabled", index, new Boolean (newValue)); 576 } 577 public void setIsMemberOf( 581 java.util.List newValue 582 ) { 583 refSetValue("org:openmdx:security:realm1:Principal:isMemberOf", newValue); 584 } 585 586 public void setIsMemberOf( 587 org.openmdx.security.realm1.cci.Group[] newValue 588 ) { 589 refSetValue("org:openmdx:security:realm1:Principal:isMemberOf", newValue); 590 } 591 592 public org.openmdx.security.realm1.cci.Group getIsMemberOf( 596 int index 597 ) { 598 return (org.openmdx.security.realm1.cci.Group)refGetValue( 599 "org:openmdx:security:realm1:Principal:isMemberOf", 600 new Integer (index) 601 ); 602 } 603 604 public java.util.Collection getIsMemberOf( 608 ) { 609 return (java.util.Collection )refGetValue( 610 "org:openmdx:security:realm1:Principal:isMemberOf" 611 ); 612 } 613 614 public void addIsMemberOf ( 618 int index, 619 org.openmdx.security.realm1.cci.Group newValue 620 ) { 621 refAddValue( 622 "org:openmdx:security:realm1:Principal:isMemberOf", 623 new Integer (index), 624 newValue 625 ); 626 } 627 628 public void addIsMemberOf ( 632 org.openmdx.security.realm1.cci.Group newValue 633 ) { 634 refAddValue( 635 "org:openmdx:security:realm1:Principal:isMemberOf", 636 newValue 637 ); 638 } 639 640 public void removeIsMemberOf ( 644 int index 645 ) { 646 refRemoveValue( 647 "org:openmdx:security:realm1:Principal:isMemberOf", 648 new Integer (index) 649 ); 650 } 651 652 public String getName( 656 ) { 657 return getName(0); 658 } 659 660 protected String getName( 661 int index 662 ) { 663 return (String )this.refGetValue("org:openmdx:security:realm1:Principal:name", index); 664 } 665 666 protected void setName( 670 String newValue 671 ) { 672 setName(0, newValue); 673 } 674 675 protected void setName( 676 int index, 677 String newValue 678 ) { 679 refSetValue("org:openmdx:security:realm1:Principal:name", index, newValue); 680 } 681 public org.openmdx.security.realm1.cci.Realm getRealm( 685 ) { 686 return (org.openmdx.security.realm1.cci.Realm)refGetValue( 687 "org:openmdx:security:realm1:Principal:realm" 688 ); 689 } 690 691 protected void setRealm( 695 org.openmdx.security.realm1.cci.Realm newValue 696 ) { 697 refSetValue( 698 "org:openmdx:security:realm1:Principal:realm", 699 newValue 700 ); 701 } 702 703 public org.openmdx.security.realm1.cci.Subject getSubject( 707 ) { 708 return (org.openmdx.security.realm1.cci.Subject)refGetValue( 709 "org:openmdx:security:realm1:Principal:subject" 710 ); 711 } 712 713 public void setSubject( 717 org.openmdx.security.realm1.cci.Subject newValue 718 ) { 719 refSetValue( 720 "org:openmdx:security:realm1:Principal:subject", 721 newValue 722 ); 723 } 724 725 } 729 | Popular Tags |