KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > security > realm1 > cci > PrincipalGroupImpl


1 // ----------------------------------------------------------------------------
2
// Instance/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:38:56 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
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 // ----------------------------------------------------------------------------
27
// Instance/ImplReferenceSetWithQualifier
28
// ----------------------------------------------------------------------------
29
public void setGrantedRole(
30     java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
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 JavaDoc(index)
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nNoFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getGrantedRole(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:opencrx:security:realm1:PrincipalGroup:grantedRole"
60     );
61   }
62
63 // ----------------------------------------------------------------------------
64
// Instance/ImplReferenceAddWithQualifier
65
// ----------------------------------------------------------------------------
66
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 JavaDoc(index),
73       newValue
74     );
75   }
76
77 // ----------------------------------------------------------------------------
78
// Instance/ImplReferenceAddWithoutQualifier
79
// ----------------------------------------------------------------------------
80
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 // ----------------------------------------------------------------------------
90
// Instance/ImplReferenceRemoveWithQualifier
91
// ----------------------------------------------------------------------------
92
public void removeGrantedRole (
93     int index
94   ) {
95     refRemoveValue(
96       "org:opencrx:security:realm1:PrincipalGroup:grantedRole",
97       new Integer JavaDoc(index)
98     );
99   }
100
101 // ----------------------------------------------------------------------------
102
// Instance/ImplAttributeGet1_1
103
// ----------------------------------------------------------------------------
104
public java.util.Date JavaDoc getCreatedAt(
105   ) {
106     return getCreatedAt(0);
107   }
108
109   protected java.util.Date JavaDoc getCreatedAt(
110     int index
111   ) {
112     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:createdAt", index);
113   }
114
115 // ----------------------------------------------------------------------------
116
// Instance/ImplAttributeSet1_1
117
// ----------------------------------------------------------------------------
118
protected void setCreatedAt(
119     java.util.Date JavaDoc newValue
120   ) {
121     setCreatedAt(0, newValue);
122   }
123
124   protected void setCreatedAt(
125     int index,
126     java.util.Date JavaDoc newValue
127   ) {
128     refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue);
129   }
130 // ----------------------------------------------------------------------------
131
// Instance/ImplAttributeGetSet
132
// ----------------------------------------------------------------------------
133
public java.util.Set JavaDoc getCreatedBy (
134   ) {
135     return (java.util.Set JavaDoc)this.refGetValue("createdBy");
136   }
137 // ----------------------------------------------------------------------------
138
// Instance/ImplAttributeSetSet
139
// ----------------------------------------------------------------------------
140
protected void setCreatedBy(
141     java.util.Set JavaDoc newValue
142   ) {
143     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
144   }
145
146   protected void setCreatedBy(
147     String JavaDoc[] newValue
148   ) {
149     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
150   }
151
152 // ----------------------------------------------------------------------------
153
// Instance/ImplAttributeGet1_1
154
// ----------------------------------------------------------------------------
155
public java.util.Date JavaDoc getModifiedAt(
156   ) {
157     return getModifiedAt(0);
158   }
159
160   protected java.util.Date JavaDoc getModifiedAt(
161     int index
162   ) {
163     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index);
164   }
165
166 // ----------------------------------------------------------------------------
167
// Instance/ImplAttributeSet1_1
168
// ----------------------------------------------------------------------------
169
protected void setModifiedAt(
170     java.util.Date JavaDoc newValue
171   ) {
172     setModifiedAt(0, newValue);
173   }
174
175   protected void setModifiedAt(
176     int index,
177     java.util.Date JavaDoc newValue
178   ) {
179     refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue);
180   }
181 // ----------------------------------------------------------------------------
182
// Instance/ImplAttributeGetSet
183
// ----------------------------------------------------------------------------
184
public java.util.Set JavaDoc getModifiedBy (
185   ) {
186     return (java.util.Set JavaDoc)this.refGetValue("modifiedBy");
187   }
188 // ----------------------------------------------------------------------------
189
// Instance/ImplAttributeSetSet
190
// ----------------------------------------------------------------------------
191
protected void setModifiedBy(
192     java.util.Set JavaDoc newValue
193   ) {
194     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
195   }
196
197   protected void setModifiedBy(
198     String JavaDoc[] newValue
199   ) {
200     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
201   }
202
203 // ----------------------------------------------------------------------------
204
// Instance/ImplReferenceSetWithQualifier
205
// ----------------------------------------------------------------------------
206
protected void setContext(
207     java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
219
// Instance/ImplReferenceGet0_1WithQualifier
220
// ----------------------------------------------------------------------------
221
public org.openmdx.base.cci.Context getContext(
222     String JavaDoc id
223   ) {
224     return (org.openmdx.base.cci.Context)refGetValue(
225       "org:openmdx:base:ContextCapable:context",
226       id
227     );
228   }
229
230 // ----------------------------------------------------------------------------
231
// Instance/ImplReferenceGet0_nNoFilter
232
// ----------------------------------------------------------------------------
233
public java.util.Collection JavaDoc getContext(
234   ) {
235     return (java.util.Collection JavaDoc)refGetValue(
236       "org:openmdx:base:ContextCapable:context"
237     );
238   }
239
240 // ----------------------------------------------------------------------------
241
// Instance/ImplReferenceAddWithQualifier
242
// ----------------------------------------------------------------------------
243
protected void addContext (
244     String JavaDoc 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 // ----------------------------------------------------------------------------
255
// Instance/ImplReferenceAddWithoutQualifier
256
// ----------------------------------------------------------------------------
257
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 // ----------------------------------------------------------------------------
267
// Instance/ImplReferenceRemoveWithQualifier
268
// ----------------------------------------------------------------------------
269
protected void removeContext (
270     String JavaDoc id
271   ) {
272     refRemoveValue(
273       "org:openmdx:base:ContextCapable:context",
274       id
275     );
276   }
277
278 // ----------------------------------------------------------------------------
279
// Instance/ImplAttributeGet1_1
280
// ----------------------------------------------------------------------------
281
public String JavaDoc getIdentity(
282   ) {
283     return getIdentity(0);
284   }
285
286   protected String JavaDoc getIdentity(
287     int index
288   ) {
289     return (String JavaDoc)this.refGetValue("org:openmdx:base:ExtentCapable:identity", index);
290   }
291
292 // ----------------------------------------------------------------------------
293
// Instance/ImplAttributeSet1_1
294
// ----------------------------------------------------------------------------
295
protected void setIdentity(
296     String JavaDoc newValue
297   ) {
298     setIdentity(0, newValue);
299   }
300
301   protected void setIdentity(
302     int index,
303     String JavaDoc newValue
304   ) {
305     refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue);
306   }
307 // ----------------------------------------------------------------------------
308
// Instance/ImplReferenceSetWithQualifier
309
// ----------------------------------------------------------------------------
310
protected void setView(
311     java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
323
// Instance/ImplReferenceGet0_1WithQualifier
324
// ----------------------------------------------------------------------------
325
public org.openmdx.compatibility.view1.cci.View getView(
326     String JavaDoc namespace
327   ) {
328     return (org.openmdx.compatibility.view1.cci.View)refGetValue(
329       "org:openmdx:compatibility:view1:ViewCapable:view",
330       namespace
331     );
332   }
333
334 // ----------------------------------------------------------------------------
335
// Instance/ImplReferenceGet0_nWithFilter
336
// ----------------------------------------------------------------------------
337
public java.util.Collection JavaDoc getView(
338   ) {
339     return (java.util.Collection JavaDoc)refGetValue(
340       "org:openmdx:compatibility:view1:ViewCapable:view"
341     );
342   }
343
344   public java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
353
// Instance/ImplReferenceAddWithQualifier
354
// ----------------------------------------------------------------------------
355
protected void addView (
356     String JavaDoc 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 // ----------------------------------------------------------------------------
367
// Instance/ImplReferenceAddWithoutQualifier
368
// ----------------------------------------------------------------------------
369
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 // ----------------------------------------------------------------------------
379
// Instance/ImplReferenceRemoveWithQualifier
380
// ----------------------------------------------------------------------------
381
protected void removeView (
382     String JavaDoc namespace
383   ) {
384     refRemoveValue(
385       "org:openmdx:compatibility:view1:ViewCapable:view",
386       namespace
387     );
388   }
389
390 // ----------------------------------------------------------------------------
391
// Instance/ImplReferenceSetWithQualifier
392
// ----------------------------------------------------------------------------
393
protected void setMember(
394     java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
406
// Instance/ImplReferenceGet0_nWithFilter
407
// ----------------------------------------------------------------------------
408
public java.util.Collection JavaDoc getMember(
409   ) {
410     return (java.util.Collection JavaDoc)refGetValue(
411       "org:openmdx:security:realm1:Group:member"
412     );
413   }
414
415   public java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
424
// Instance/ImplReferenceGet0_nWithQualifier
425
// ----------------------------------------------------------------------------
426
public java.util.Collection JavaDoc getMember(
427     org.openmdx.security.realm1.cci.Realm principalContainer
428   ) {
429     return (java.util.Collection JavaDoc)refGetValue(
430       "org:openmdx:security:realm1:Group:member",
431       principalContainer
432     );
433   }
434
435   public java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
446
// Instance/ImplReferenceAddWithoutQualifier
447
// ----------------------------------------------------------------------------
448
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 // ----------------------------------------------------------------------------
458
// Instance/ImplReferenceSetWithQualifier
459
// ----------------------------------------------------------------------------
460
public void setCredential(
461     java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
473
// Instance/ImplReferenceGet0_1WithQualifier
474
// ----------------------------------------------------------------------------
475
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 JavaDoc(index)
481     );
482   }
483
484 // ----------------------------------------------------------------------------
485
// Instance/ImplReferenceGet0_nNoFilter
486
// ----------------------------------------------------------------------------
487
public java.util.Collection JavaDoc getCredential(
488   ) {
489     return (java.util.Collection JavaDoc)refGetValue(
490       "org:openmdx:security:realm1:Principal:credential"
491     );
492   }
493
494 // ----------------------------------------------------------------------------
495
// Instance/ImplReferenceAddWithQualifier
496
// ----------------------------------------------------------------------------
497
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 JavaDoc(index),
504       newValue
505     );
506   }
507
508 // ----------------------------------------------------------------------------
509
// Instance/ImplReferenceAddWithoutQualifier
510
// ----------------------------------------------------------------------------
511
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 // ----------------------------------------------------------------------------
521
// Instance/ImplReferenceRemoveWithQualifier
522
// ----------------------------------------------------------------------------
523
public void removeCredential (
524     int index
525   ) {
526     refRemoveValue(
527       "org:openmdx:security:realm1:Principal:credential",
528       new Integer JavaDoc(index)
529     );
530   }
531
532 // ----------------------------------------------------------------------------
533
// Instance/ImplAttributeGet0_1
534
// ----------------------------------------------------------------------------
535
public String JavaDoc getDescription (
536   ) {
537     return (String JavaDoc)this.refGetValue("description", 0);
538   }
539 // ----------------------------------------------------------------------------
540
// Instance/ImplAttributeSet0_1
541
// ----------------------------------------------------------------------------
542
public void setDescription(
543     String JavaDoc newValue
544   ) {
545     refSetValue("org:openmdx:security:realm1:Principal:description", 0, newValue);
546   }
547
548 // ----------------------------------------------------------------------------
549
// Instance/ImplAttributeGet1_1
550
// ----------------------------------------------------------------------------
551
public boolean isDisabled(
552   ) {
553     return isDisabled(0);
554   }
555
556   protected boolean isDisabled(
557     int index
558   ) {
559     return ((Boolean JavaDoc)this.refGetValue("org:openmdx:security:realm1:Principal:disabled", index)).booleanValue();
560   }
561
562 // ----------------------------------------------------------------------------
563
// Instance/ImplAttributeSet1_1
564
// ----------------------------------------------------------------------------
565
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 JavaDoc(newValue));
576   }
577 // ----------------------------------------------------------------------------
578
// Instance/ImplReferenceSetWithQualifier
579
// ----------------------------------------------------------------------------
580
public void setIsMemberOf(
581     java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
593
// Instance/ImplReferenceGet0_1WithQualifier
594
// ----------------------------------------------------------------------------
595
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 JavaDoc(index)
601     );
602   }
603
604 // ----------------------------------------------------------------------------
605
// Instance/ImplReferenceGet0_nNoFilter
606
// ----------------------------------------------------------------------------
607
public java.util.Collection JavaDoc getIsMemberOf(
608   ) {
609     return (java.util.Collection JavaDoc)refGetValue(
610       "org:openmdx:security:realm1:Principal:isMemberOf"
611     );
612   }
613
614 // ----------------------------------------------------------------------------
615
// Instance/ImplReferenceAddWithQualifier
616
// ----------------------------------------------------------------------------
617
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 JavaDoc(index),
624       newValue
625     );
626   }
627
628 // ----------------------------------------------------------------------------
629
// Instance/ImplReferenceAddWithoutQualifier
630
// ----------------------------------------------------------------------------
631
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 // ----------------------------------------------------------------------------
641
// Instance/ImplReferenceRemoveWithQualifier
642
// ----------------------------------------------------------------------------
643
public void removeIsMemberOf (
644     int index
645   ) {
646     refRemoveValue(
647       "org:openmdx:security:realm1:Principal:isMemberOf",
648       new Integer JavaDoc(index)
649     );
650   }
651
652 // ----------------------------------------------------------------------------
653
// Instance/ImplAttributeGet1_1
654
// ----------------------------------------------------------------------------
655
public String JavaDoc getName(
656   ) {
657     return getName(0);
658   }
659
660   protected String JavaDoc getName(
661     int index
662   ) {
663     return (String JavaDoc)this.refGetValue("org:openmdx:security:realm1:Principal:name", index);
664   }
665
666 // ----------------------------------------------------------------------------
667
// Instance/ImplAttributeSet1_1
668
// ----------------------------------------------------------------------------
669
protected void setName(
670     String JavaDoc newValue
671   ) {
672     setName(0, newValue);
673   }
674
675   protected void setName(
676     int index,
677     String JavaDoc newValue
678   ) {
679     refSetValue("org:openmdx:security:realm1:Principal:name", index, newValue);
680   }
681 // ----------------------------------------------------------------------------
682
// Instance/ImplReferenceGet1_1NoQualifier
683
// ----------------------------------------------------------------------------
684
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 // ----------------------------------------------------------------------------
692
// Instance/ImplReferenceSetNoQualifier
693
// ----------------------------------------------------------------------------
694
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 // ----------------------------------------------------------------------------
704
// Instance/ImplReferenceGet1_1NoQualifier
705
// ----------------------------------------------------------------------------
706
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 // ----------------------------------------------------------------------------
714
// Instance/ImplReferenceSetNoQualifier
715
// ----------------------------------------------------------------------------
716
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 // ----------------------------------------------------------------------------
726
// Instance/ImplEnd
727
// ----------------------------------------------------------------------------
728
}
729
Popular Tags