KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > security > realm1 > cci > GroupImpl


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:39:05 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.security.realm1.cci;
14
15 public class GroupImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements Group {
18
19   public GroupImpl(
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/ImplAttributeGet1_1
28
// ----------------------------------------------------------------------------
29
public java.util.Date JavaDoc getCreatedAt(
30   ) {
31     return getCreatedAt(0);
32   }
33
34   protected java.util.Date JavaDoc getCreatedAt(
35     int index
36   ) {
37     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:createdAt", index);
38   }
39
40 // ----------------------------------------------------------------------------
41
// Instance/ImplAttributeSet1_1
42
// ----------------------------------------------------------------------------
43
protected void setCreatedAt(
44     java.util.Date JavaDoc newValue
45   ) {
46     setCreatedAt(0, newValue);
47   }
48
49   protected void setCreatedAt(
50     int index,
51     java.util.Date JavaDoc newValue
52   ) {
53     refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue);
54   }
55 // ----------------------------------------------------------------------------
56
// Instance/ImplAttributeGetSet
57
// ----------------------------------------------------------------------------
58
public java.util.Set JavaDoc getCreatedBy (
59   ) {
60     return (java.util.Set JavaDoc)this.refGetValue("createdBy");
61   }
62 // ----------------------------------------------------------------------------
63
// Instance/ImplAttributeSetSet
64
// ----------------------------------------------------------------------------
65
protected void setCreatedBy(
66     java.util.Set JavaDoc newValue
67   ) {
68     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
69   }
70
71   protected void setCreatedBy(
72     String JavaDoc[] newValue
73   ) {
74     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
75   }
76
77 // ----------------------------------------------------------------------------
78
// Instance/ImplAttributeGet1_1
79
// ----------------------------------------------------------------------------
80
public java.util.Date JavaDoc getModifiedAt(
81   ) {
82     return getModifiedAt(0);
83   }
84
85   protected java.util.Date JavaDoc getModifiedAt(
86     int index
87   ) {
88     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index);
89   }
90
91 // ----------------------------------------------------------------------------
92
// Instance/ImplAttributeSet1_1
93
// ----------------------------------------------------------------------------
94
protected void setModifiedAt(
95     java.util.Date JavaDoc newValue
96   ) {
97     setModifiedAt(0, newValue);
98   }
99
100   protected void setModifiedAt(
101     int index,
102     java.util.Date JavaDoc newValue
103   ) {
104     refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue);
105   }
106 // ----------------------------------------------------------------------------
107
// Instance/ImplAttributeGetSet
108
// ----------------------------------------------------------------------------
109
public java.util.Set JavaDoc getModifiedBy (
110   ) {
111     return (java.util.Set JavaDoc)this.refGetValue("modifiedBy");
112   }
113 // ----------------------------------------------------------------------------
114
// Instance/ImplAttributeSetSet
115
// ----------------------------------------------------------------------------
116
protected void setModifiedBy(
117     java.util.Set JavaDoc newValue
118   ) {
119     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
120   }
121
122   protected void setModifiedBy(
123     String JavaDoc[] newValue
124   ) {
125     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
126   }
127
128 // ----------------------------------------------------------------------------
129
// Instance/ImplReferenceSetWithQualifier
130
// ----------------------------------------------------------------------------
131
protected void setContext(
132     java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
144
// Instance/ImplReferenceGet0_1WithQualifier
145
// ----------------------------------------------------------------------------
146
public org.openmdx.base.cci.Context getContext(
147     String JavaDoc id
148   ) {
149     return (org.openmdx.base.cci.Context)refGetValue(
150       "org:openmdx:base:ContextCapable:context",
151       id
152     );
153   }
154
155 // ----------------------------------------------------------------------------
156
// Instance/ImplReferenceGet0_nNoFilter
157
// ----------------------------------------------------------------------------
158
public java.util.Collection JavaDoc getContext(
159   ) {
160     return (java.util.Collection JavaDoc)refGetValue(
161       "org:openmdx:base:ContextCapable:context"
162     );
163   }
164
165 // ----------------------------------------------------------------------------
166
// Instance/ImplReferenceAddWithQualifier
167
// ----------------------------------------------------------------------------
168
protected void addContext (
169     String JavaDoc 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 // ----------------------------------------------------------------------------
180
// Instance/ImplReferenceAddWithoutQualifier
181
// ----------------------------------------------------------------------------
182
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 // ----------------------------------------------------------------------------
192
// Instance/ImplReferenceRemoveWithQualifier
193
// ----------------------------------------------------------------------------
194
protected void removeContext (
195     String JavaDoc id
196   ) {
197     refRemoveValue(
198       "org:openmdx:base:ContextCapable:context",
199       id
200     );
201   }
202
203 // ----------------------------------------------------------------------------
204
// Instance/ImplAttributeGet1_1
205
// ----------------------------------------------------------------------------
206
public String JavaDoc getIdentity(
207   ) {
208     return getIdentity(0);
209   }
210
211   protected String JavaDoc getIdentity(
212     int index
213   ) {
214     return (String JavaDoc)this.refGetValue("org:openmdx:base:ExtentCapable:identity", index);
215   }
216
217 // ----------------------------------------------------------------------------
218
// Instance/ImplAttributeSet1_1
219
// ----------------------------------------------------------------------------
220
protected void setIdentity(
221     String JavaDoc newValue
222   ) {
223     setIdentity(0, newValue);
224   }
225
226   protected void setIdentity(
227     int index,
228     String JavaDoc newValue
229   ) {
230     refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue);
231   }
232 // ----------------------------------------------------------------------------
233
// Instance/ImplReferenceSetWithQualifier
234
// ----------------------------------------------------------------------------
235
protected void setView(
236     java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
248
// Instance/ImplReferenceGet0_1WithQualifier
249
// ----------------------------------------------------------------------------
250
public org.openmdx.compatibility.view1.cci.View getView(
251     String JavaDoc namespace
252   ) {
253     return (org.openmdx.compatibility.view1.cci.View)refGetValue(
254       "org:openmdx:compatibility:view1:ViewCapable:view",
255       namespace
256     );
257   }
258
259 // ----------------------------------------------------------------------------
260
// Instance/ImplReferenceGet0_nWithFilter
261
// ----------------------------------------------------------------------------
262
public java.util.Collection JavaDoc getView(
263   ) {
264     return (java.util.Collection JavaDoc)refGetValue(
265       "org:openmdx:compatibility:view1:ViewCapable:view"
266     );
267   }
268
269   public java.util.List JavaDoc 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 // ----------------------------------------------------------------------------
278
// Instance/ImplReferenceAddWithQualifier
279
// ----------------------------------------------------------------------------
280
protected void addView (
281     String JavaDoc 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 // ----------------------------------------------------------------------------
292
// Instance/ImplReferenceAddWithoutQualifier
293
// ----------------------------------------------------------------------------
294
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 // ----------------------------------------------------------------------------
304
// Instance/ImplReferenceRemoveWithQualifier
305
// ----------------------------------------------------------------------------
306
protected void removeView (
307     String JavaDoc namespace
308   ) {
309     refRemoveValue(
310       "org:openmdx:compatibility:view1:ViewCapable:view",
311       namespace
312     );
313   }
314
315 // ----------------------------------------------------------------------------
316
// Instance/ImplReferenceSetWithQualifier
317
// ----------------------------------------------------------------------------
318
protected void setMember(
319     java.util.List JavaDoc newValue
320   ) {
321     refSetValue("org:openmdx:security:realm1:Group:member", newValue);
322   }
323
324   protected void setMember(
325     org.openmdx.security.realm1.cci.Principal[] newValue
326   ) {
327     refSetValue("org:openmdx:security:realm1:Group:member", newValue);
328   }
329
330 // ----------------------------------------------------------------------------
331
// Instance/ImplReferenceGet0_nWithFilter
332
// ----------------------------------------------------------------------------
333
public java.util.Collection JavaDoc getMember(
334   ) {
335     return (java.util.Collection JavaDoc)refGetValue(
336       "org:openmdx:security:realm1:Group:member"
337     );
338   }
339
340   public java.util.List JavaDoc getMember(
341     org.openmdx.security.realm1.cci.PrincipalFilter filter
342   ) {
343     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
344       "org:openmdx:security:realm1:Group:member"
345     )).toList(filter);
346   }
347
348 // ----------------------------------------------------------------------------
349
// Instance/ImplReferenceGet0_nWithQualifier
350
// ----------------------------------------------------------------------------
351
public java.util.Collection JavaDoc getMember(
352     org.openmdx.security.realm1.cci.Realm principalContainer
353   ) {
354     return (java.util.Collection JavaDoc)refGetValue(
355       "org:openmdx:security:realm1:Group:member",
356       principalContainer
357     );
358   }
359
360   public java.util.List JavaDoc getMember(
361     org.openmdx.security.realm1.cci.Realm principalContainer,
362     org.openmdx.security.realm1.cci.PrincipalFilter filter
363   ) {
364     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
365       "org:openmdx:security:realm1:Group:member",
366       principalContainer
367     )).toList(filter);
368   }
369
370 // ----------------------------------------------------------------------------
371
// Instance/ImplReferenceAddWithoutQualifier
372
// ----------------------------------------------------------------------------
373
protected void addMember (
374     org.openmdx.security.realm1.cci.Principal newValue
375   ) {
376     refAddValue(
377       "org:openmdx:security:realm1:Group:member",
378       newValue
379     );
380   }
381
382 // ----------------------------------------------------------------------------
383
// Instance/ImplReferenceSetWithQualifier
384
// ----------------------------------------------------------------------------
385
public void setCredential(
386     java.util.List JavaDoc newValue
387   ) {
388     refSetValue("org:openmdx:security:realm1:Principal:credential", newValue);
389   }
390
391   public void setCredential(
392     org.openmdx.security.realm1.cci.Credential[] newValue
393   ) {
394     refSetValue("org:openmdx:security:realm1:Principal:credential", newValue);
395   }
396
397 // ----------------------------------------------------------------------------
398
// Instance/ImplReferenceGet0_1WithQualifier
399
// ----------------------------------------------------------------------------
400
public org.openmdx.security.realm1.cci.Credential getCredential(
401     int index
402   ) {
403     return (org.openmdx.security.realm1.cci.Credential)refGetValue(
404       "org:openmdx:security:realm1:Principal:credential",
405       new Integer JavaDoc(index)
406     );
407   }
408
409 // ----------------------------------------------------------------------------
410
// Instance/ImplReferenceGet0_nNoFilter
411
// ----------------------------------------------------------------------------
412
public java.util.Collection JavaDoc getCredential(
413   ) {
414     return (java.util.Collection JavaDoc)refGetValue(
415       "org:openmdx:security:realm1:Principal:credential"
416     );
417   }
418
419 // ----------------------------------------------------------------------------
420
// Instance/ImplReferenceAddWithQualifier
421
// ----------------------------------------------------------------------------
422
public void addCredential (
423     int index,
424     org.openmdx.security.realm1.cci.Credential newValue
425   ) {
426     refAddValue(
427       "org:openmdx:security:realm1:Principal:credential",
428       new Integer JavaDoc(index),
429       newValue
430     );
431   }
432
433 // ----------------------------------------------------------------------------
434
// Instance/ImplReferenceAddWithoutQualifier
435
// ----------------------------------------------------------------------------
436
public void addCredential (
437     org.openmdx.security.realm1.cci.Credential newValue
438   ) {
439     refAddValue(
440       "org:openmdx:security:realm1:Principal:credential",
441       newValue
442     );
443   }
444
445 // ----------------------------------------------------------------------------
446
// Instance/ImplReferenceRemoveWithQualifier
447
// ----------------------------------------------------------------------------
448
public void removeCredential (
449     int index
450   ) {
451     refRemoveValue(
452       "org:openmdx:security:realm1:Principal:credential",
453       new Integer JavaDoc(index)
454     );
455   }
456
457 // ----------------------------------------------------------------------------
458
// Instance/ImplAttributeGet0_1
459
// ----------------------------------------------------------------------------
460
public String JavaDoc getDescription (
461   ) {
462     return (String JavaDoc)this.refGetValue("description", 0);
463   }
464 // ----------------------------------------------------------------------------
465
// Instance/ImplAttributeSet0_1
466
// ----------------------------------------------------------------------------
467
public void setDescription(
468     String JavaDoc newValue
469   ) {
470     refSetValue("org:openmdx:security:realm1:Principal:description", 0, newValue);
471   }
472
473 // ----------------------------------------------------------------------------
474
// Instance/ImplAttributeGet1_1
475
// ----------------------------------------------------------------------------
476
public boolean isDisabled(
477   ) {
478     return isDisabled(0);
479   }
480
481   protected boolean isDisabled(
482     int index
483   ) {
484     return ((Boolean JavaDoc)this.refGetValue("org:openmdx:security:realm1:Principal:disabled", index)).booleanValue();
485   }
486
487 // ----------------------------------------------------------------------------
488
// Instance/ImplAttributeSet1_1
489
// ----------------------------------------------------------------------------
490
public void setDisabled(
491     boolean newValue
492   ) {
493     setDisabled(0, newValue);
494   }
495
496   protected void setDisabled(
497     int index,
498     boolean newValue
499   ) {
500     refSetValue("org:openmdx:security:realm1:Principal:disabled", index, new Boolean JavaDoc(newValue));
501   }
502 // ----------------------------------------------------------------------------
503
// Instance/ImplReferenceSetWithQualifier
504
// ----------------------------------------------------------------------------
505
public void setIsMemberOf(
506     java.util.List JavaDoc newValue
507   ) {
508     refSetValue("org:openmdx:security:realm1:Principal:isMemberOf", newValue);
509   }
510
511   public void setIsMemberOf(
512     org.openmdx.security.realm1.cci.Group[] newValue
513   ) {
514     refSetValue("org:openmdx:security:realm1:Principal:isMemberOf", newValue);
515   }
516
517 // ----------------------------------------------------------------------------
518
// Instance/ImplReferenceGet0_1WithQualifier
519
// ----------------------------------------------------------------------------
520
public org.openmdx.security.realm1.cci.Group getIsMemberOf(
521     int index
522   ) {
523     return (org.openmdx.security.realm1.cci.Group)refGetValue(
524       "org:openmdx:security:realm1:Principal:isMemberOf",
525       new Integer JavaDoc(index)
526     );
527   }
528
529 // ----------------------------------------------------------------------------
530
// Instance/ImplReferenceGet0_nNoFilter
531
// ----------------------------------------------------------------------------
532
public java.util.Collection JavaDoc getIsMemberOf(
533   ) {
534     return (java.util.Collection JavaDoc)refGetValue(
535       "org:openmdx:security:realm1:Principal:isMemberOf"
536     );
537   }
538
539 // ----------------------------------------------------------------------------
540
// Instance/ImplReferenceAddWithQualifier
541
// ----------------------------------------------------------------------------
542
public void addIsMemberOf (
543     int index,
544     org.openmdx.security.realm1.cci.Group newValue
545   ) {
546     refAddValue(
547       "org:openmdx:security:realm1:Principal:isMemberOf",
548       new Integer JavaDoc(index),
549       newValue
550     );
551   }
552
553 // ----------------------------------------------------------------------------
554
// Instance/ImplReferenceAddWithoutQualifier
555
// ----------------------------------------------------------------------------
556
public void addIsMemberOf (
557     org.openmdx.security.realm1.cci.Group newValue
558   ) {
559     refAddValue(
560       "org:openmdx:security:realm1:Principal:isMemberOf",
561       newValue
562     );
563   }
564
565 // ----------------------------------------------------------------------------
566
// Instance/ImplReferenceRemoveWithQualifier
567
// ----------------------------------------------------------------------------
568
public void removeIsMemberOf (
569     int index
570   ) {
571     refRemoveValue(
572       "org:openmdx:security:realm1:Principal:isMemberOf",
573       new Integer JavaDoc(index)
574     );
575   }
576
577 // ----------------------------------------------------------------------------
578
// Instance/ImplAttributeGet1_1
579
// ----------------------------------------------------------------------------
580
public String JavaDoc getName(
581   ) {
582     return getName(0);
583   }
584
585   protected String JavaDoc getName(
586     int index
587   ) {
588     return (String JavaDoc)this.refGetValue("org:openmdx:security:realm1:Principal:name", index);
589   }
590
591 // ----------------------------------------------------------------------------
592
// Instance/ImplAttributeSet1_1
593
// ----------------------------------------------------------------------------
594
protected void setName(
595     String JavaDoc newValue
596   ) {
597     setName(0, newValue);
598   }
599
600   protected void setName(
601     int index,
602     String JavaDoc newValue
603   ) {
604     refSetValue("org:openmdx:security:realm1:Principal:name", index, newValue);
605   }
606 // ----------------------------------------------------------------------------
607
// Instance/ImplReferenceGet1_1NoQualifier
608
// ----------------------------------------------------------------------------
609
public org.openmdx.security.realm1.cci.Realm getRealm(
610   ) {
611     return (org.openmdx.security.realm1.cci.Realm)refGetValue(
612       "org:openmdx:security:realm1:Principal:realm"
613     );
614   }
615
616 // ----------------------------------------------------------------------------
617
// Instance/ImplReferenceSetNoQualifier
618
// ----------------------------------------------------------------------------
619
protected void setRealm(
620     org.openmdx.security.realm1.cci.Realm newValue
621   ) {
622     refSetValue(
623       "org:openmdx:security:realm1:Principal:realm",
624       newValue
625     );
626   }
627
628 // ----------------------------------------------------------------------------
629
// Instance/ImplReferenceGet1_1NoQualifier
630
// ----------------------------------------------------------------------------
631
public org.openmdx.security.realm1.cci.Subject getSubject(
632   ) {
633     return (org.openmdx.security.realm1.cci.Subject)refGetValue(
634       "org:openmdx:security:realm1:Principal:subject"
635     );
636   }
637
638 // ----------------------------------------------------------------------------
639
// Instance/ImplReferenceSetNoQualifier
640
// ----------------------------------------------------------------------------
641
public void setSubject(
642     org.openmdx.security.realm1.cci.Subject newValue
643   ) {
644     refSetValue(
645       "org:openmdx:security:realm1:Principal:subject",
646       newValue
647     );
648   }
649
650 // ----------------------------------------------------------------------------
651
// Instance/ImplEnd
652
// ----------------------------------------------------------------------------
653
}
654
Popular Tags