1 package org.opencrx.security.realm1.cci; 14 15 public class UserImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements User { 18 19 public UserImpl( 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.Date getCreatedAt( 30 ) { 31 return getCreatedAt(0); 32 } 33 34 protected java.util.Date getCreatedAt( 35 int index 36 ) { 37 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:createdAt", index); 38 } 39 40 protected void setCreatedAt( 44 java.util.Date newValue 45 ) { 46 setCreatedAt(0, newValue); 47 } 48 49 protected void setCreatedAt( 50 int index, 51 java.util.Date newValue 52 ) { 53 refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue); 54 } 55 public java.util.Set getCreatedBy ( 59 ) { 60 return (java.util.Set )this.refGetValue("createdBy"); 61 } 62 protected void setCreatedBy( 66 java.util.Set newValue 67 ) { 68 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 69 } 70 71 protected void setCreatedBy( 72 String [] newValue 73 ) { 74 refSetValue("org:openmdx:base:BasicObject:createdBy", newValue); 75 } 76 77 public java.util.Date getModifiedAt( 81 ) { 82 return getModifiedAt(0); 83 } 84 85 protected java.util.Date getModifiedAt( 86 int index 87 ) { 88 return (java.util.Date )this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index); 89 } 90 91 protected void setModifiedAt( 95 java.util.Date newValue 96 ) { 97 setModifiedAt(0, newValue); 98 } 99 100 protected void setModifiedAt( 101 int index, 102 java.util.Date newValue 103 ) { 104 refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue); 105 } 106 public java.util.Set getModifiedBy ( 110 ) { 111 return (java.util.Set )this.refGetValue("modifiedBy"); 112 } 113 protected void setModifiedBy( 117 java.util.Set newValue 118 ) { 119 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 120 } 121 122 protected void setModifiedBy( 123 String [] newValue 124 ) { 125 refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue); 126 } 127 128 protected void setContext( 132 java.util.List newValue 133 ) { 134 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 135 } 136 137 protected void setContext( 138 org.openmdx.base.cci.Context[] newValue 139 ) { 140 refSetValue("org:openmdx:base:ContextCapable:context", newValue); 141 } 142 143 public org.openmdx.base.cci.Context getContext( 147 String id 148 ) { 149 return (org.openmdx.base.cci.Context)refGetValue( 150 "org:openmdx:base:ContextCapable:context", 151 id 152 ); 153 } 154 155 public java.util.Collection getContext( 159 ) { 160 return (java.util.Collection )refGetValue( 161 "org:openmdx:base:ContextCapable:context" 162 ); 163 } 164 165 protected void addContext ( 169 String id, 170 org.openmdx.base.cci.Context newValue 171 ) { 172 refAddValue( 173 "org:openmdx:base:ContextCapable:context", 174 id, 175 newValue 176 ); 177 } 178 179 protected void addContext ( 183 org.openmdx.base.cci.Context newValue 184 ) { 185 refAddValue( 186 "org:openmdx:base:ContextCapable:context", 187 newValue 188 ); 189 } 190 191 protected void removeContext ( 195 String id 196 ) { 197 refRemoveValue( 198 "org:openmdx:base:ContextCapable:context", 199 id 200 ); 201 } 202 203 public String getIdentity( 207 ) { 208 return getIdentity(0); 209 } 210 211 protected String getIdentity( 212 int index 213 ) { 214 return (String )this.refGetValue("org:openmdx:base:ExtentCapable:identity", index); 215 } 216 217 protected void setIdentity( 221 String newValue 222 ) { 223 setIdentity(0, newValue); 224 } 225 226 protected void setIdentity( 227 int index, 228 String newValue 229 ) { 230 refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue); 231 } 232 protected void setView( 236 java.util.List newValue 237 ) { 238 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 239 } 240 241 protected void setView( 242 org.openmdx.compatibility.view1.cci.View[] newValue 243 ) { 244 refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue); 245 } 246 247 public org.openmdx.compatibility.view1.cci.View getView( 251 String namespace 252 ) { 253 return (org.openmdx.compatibility.view1.cci.View)refGetValue( 254 "org:openmdx:compatibility:view1:ViewCapable:view", 255 namespace 256 ); 257 } 258 259 public java.util.Collection getView( 263 ) { 264 return (java.util.Collection )refGetValue( 265 "org:openmdx:compatibility:view1:ViewCapable:view" 266 ); 267 } 268 269 public java.util.List getView( 270 org.openmdx.compatibility.view1.cci.ViewFilter filter 271 ) { 272 return ((org.openmdx.compatibility.base.collection.Container)refGetValue( 273 "org:openmdx:compatibility:view1:ViewCapable:view" 274 )).toList(filter); 275 } 276 277 protected void addView ( 281 String namespace, 282 org.openmdx.compatibility.view1.cci.View newValue 283 ) { 284 refAddValue( 285 "org:openmdx:compatibility:view1:ViewCapable:view", 286 namespace, 287 newValue 288 ); 289 } 290 291 protected void addView ( 295 org.openmdx.compatibility.view1.cci.View newValue 296 ) { 297 refAddValue( 298 "org:openmdx:compatibility:view1:ViewCapable:view", 299 newValue 300 ); 301 } 302 303 protected void removeView ( 307 String namespace 308 ) { 309 refRemoveValue( 310 "org:openmdx:compatibility:view1:ViewCapable:view", 311 namespace 312 ); 313 } 314 315 public void setCredential( 319 java.util.List newValue 320 ) { 321 refSetValue("org:openmdx:security:realm1:Principal:credential", newValue); 322 } 323 324 public void setCredential( 325 org.openmdx.security.realm1.cci.Credential[] newValue 326 ) { 327 refSetValue("org:openmdx:security:realm1:Principal:credential", newValue); 328 } 329 330 public org.openmdx.security.realm1.cci.Credential getCredential( 334 int index 335 ) { 336 return (org.openmdx.security.realm1.cci.Credential)refGetValue( 337 "org:openmdx:security:realm1:Principal:credential", 338 new Integer (index) 339 ); 340 } 341 342 public java.util.Collection getCredential( 346 ) { 347 return (java.util.Collection )refGetValue( 348 "org:openmdx:security:realm1:Principal:credential" 349 ); 350 } 351 352 public void addCredential ( 356 int index, 357 org.openmdx.security.realm1.cci.Credential newValue 358 ) { 359 refAddValue( 360 "org:openmdx:security:realm1:Principal:credential", 361 new Integer (index), 362 newValue 363 ); 364 } 365 366 public void addCredential ( 370 org.openmdx.security.realm1.cci.Credential newValue 371 ) { 372 refAddValue( 373 "org:openmdx:security:realm1:Principal:credential", 374 newValue 375 ); 376 } 377 378 public void removeCredential ( 382 int index 383 ) { 384 refRemoveValue( 385 "org:openmdx:security:realm1:Principal:credential", 386 new Integer (index) 387 ); 388 } 389 390 public String getDescription ( 394 ) { 395 return (String )this.refGetValue("description", 0); 396 } 397 public void setDescription( 401 String newValue 402 ) { 403 refSetValue("org:openmdx:security:realm1:Principal:description", 0, newValue); 404 } 405 406 public boolean isDisabled( 410 ) { 411 return isDisabled(0); 412 } 413 414 protected boolean isDisabled( 415 int index 416 ) { 417 return ((Boolean )this.refGetValue("org:openmdx:security:realm1:Principal:disabled", index)).booleanValue(); 418 } 419 420 public void setDisabled( 424 boolean newValue 425 ) { 426 setDisabled(0, newValue); 427 } 428 429 protected void setDisabled( 430 int index, 431 boolean newValue 432 ) { 433 refSetValue("org:openmdx:security:realm1:Principal:disabled", index, new Boolean (newValue)); 434 } 435 public void setIsMemberOf( 439 java.util.List newValue 440 ) { 441 refSetValue("org:openmdx:security:realm1:Principal:isMemberOf", newValue); 442 } 443 444 public void setIsMemberOf( 445 org.openmdx.security.realm1.cci.Group[] newValue 446 ) { 447 refSetValue("org:openmdx:security:realm1:Principal:isMemberOf", newValue); 448 } 449 450 public org.openmdx.security.realm1.cci.Group getIsMemberOf( 454 int index 455 ) { 456 return (org.openmdx.security.realm1.cci.Group)refGetValue( 457 "org:openmdx:security:realm1:Principal:isMemberOf", 458 new Integer (index) 459 ); 460 } 461 462 public java.util.Collection getIsMemberOf( 466 ) { 467 return (java.util.Collection )refGetValue( 468 "org:openmdx:security:realm1:Principal:isMemberOf" 469 ); 470 } 471 472 public void addIsMemberOf ( 476 int index, 477 org.openmdx.security.realm1.cci.Group newValue 478 ) { 479 refAddValue( 480 "org:openmdx:security:realm1:Principal:isMemberOf", 481 new Integer (index), 482 newValue 483 ); 484 } 485 486 public void addIsMemberOf ( 490 org.openmdx.security.realm1.cci.Group newValue 491 ) { 492 refAddValue( 493 "org:openmdx:security:realm1:Principal:isMemberOf", 494 newValue 495 ); 496 } 497 498 public void removeIsMemberOf ( 502 int index 503 ) { 504 refRemoveValue( 505 "org:openmdx:security:realm1:Principal:isMemberOf", 506 new Integer (index) 507 ); 508 } 509 510 public String getName( 514 ) { 515 return getName(0); 516 } 517 518 protected String getName( 519 int index 520 ) { 521 return (String )this.refGetValue("org:openmdx:security:realm1:Principal:name", index); 522 } 523 524 protected void setName( 528 String newValue 529 ) { 530 setName(0, newValue); 531 } 532 533 protected void setName( 534 int index, 535 String newValue 536 ) { 537 refSetValue("org:openmdx:security:realm1:Principal:name", index, newValue); 538 } 539 public org.openmdx.security.realm1.cci.Realm getRealm( 543 ) { 544 return (org.openmdx.security.realm1.cci.Realm)refGetValue( 545 "org:openmdx:security:realm1:Principal:realm" 546 ); 547 } 548 549 protected void setRealm( 553 org.openmdx.security.realm1.cci.Realm newValue 554 ) { 555 refSetValue( 556 "org:openmdx:security:realm1:Principal:realm", 557 newValue 558 ); 559 } 560 561 public org.openmdx.security.realm1.cci.Subject getSubject( 565 ) { 566 return (org.openmdx.security.realm1.cci.Subject)refGetValue( 567 "org:openmdx:security:realm1:Principal:subject" 568 ); 569 } 570 571 public void setSubject( 575 org.openmdx.security.realm1.cci.Subject newValue 576 ) { 577 refSetValue( 578 "org:openmdx:security:realm1:Principal:subject", 579 newValue 580 ); 581 } 582 583 } 587 | Popular Tags |