KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > security > authentication1 > cci > SegmentImpl


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:58 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.security.authentication1.cci;
14
15 public class SegmentImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements Segment {
18
19   public SegmentImpl(
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
protected void setContext(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
33   }
34
35   protected void setContext(
36     org.openmdx.base.cci.Context[] newValue
37   ) {
38     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.openmdx.base.cci.Context getContext(
45     String JavaDoc id
46   ) {
47     return (org.openmdx.base.cci.Context)refGetValue(
48       "org:openmdx:base:ContextCapable:context",
49       id
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nNoFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getContext(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:openmdx:base:ContextCapable:context"
60     );
61   }
62
63 // ----------------------------------------------------------------------------
64
// Instance/ImplReferenceAddWithQualifier
65
// ----------------------------------------------------------------------------
66
protected void addContext (
67     String JavaDoc id,
68     org.openmdx.base.cci.Context newValue
69   ) {
70     refAddValue(
71       "org:openmdx:base:ContextCapable:context",
72       id,
73       newValue
74     );
75   }
76
77 // ----------------------------------------------------------------------------
78
// Instance/ImplReferenceAddWithoutQualifier
79
// ----------------------------------------------------------------------------
80
protected void addContext (
81     org.openmdx.base.cci.Context newValue
82   ) {
83     refAddValue(
84       "org:openmdx:base:ContextCapable:context",
85       newValue
86     );
87   }
88
89 // ----------------------------------------------------------------------------
90
// Instance/ImplReferenceRemoveWithQualifier
91
// ----------------------------------------------------------------------------
92
protected void removeContext (
93     String JavaDoc id
94   ) {
95     refRemoveValue(
96       "org:openmdx:base:ContextCapable:context",
97       id
98     );
99   }
100
101 // ----------------------------------------------------------------------------
102
// Instance/ImplAttributeGet0_1
103
// ----------------------------------------------------------------------------
104
public String JavaDoc getDescription (
105   ) {
106     return (String JavaDoc)this.refGetValue("description", 0);
107   }
108 // ----------------------------------------------------------------------------
109
// Instance/ImplAttributeSet0_1
110
// ----------------------------------------------------------------------------
111
public void setDescription(
112     String JavaDoc newValue
113   ) {
114     refSetValue("org:openmdx:base:Segment:description", 0, newValue);
115   }
116
117 // ----------------------------------------------------------------------------
118
// Instance/ImplReferenceSetWithQualifier
119
// ----------------------------------------------------------------------------
120
protected void setExtent(
121     java.util.List JavaDoc newValue
122   ) {
123     refSetValue("org:openmdx:base:Segment:extent", newValue);
124   }
125
126   protected void setExtent(
127     org.openmdx.base.cci.ExtentCapable[] newValue
128   ) {
129     refSetValue("org:openmdx:base:Segment:extent", newValue);
130   }
131
132 // ----------------------------------------------------------------------------
133
// Instance/ImplReferenceGet0_1WithQualifier
134
// ----------------------------------------------------------------------------
135
public org.openmdx.base.cci.ExtentCapable getExtent(
136     String JavaDoc identity
137   ) {
138     return (org.openmdx.base.cci.ExtentCapable)refGetValue(
139       "org:openmdx:base:Segment:extent",
140       identity
141     );
142   }
143
144 // ----------------------------------------------------------------------------
145
// Instance/ImplReferenceGet0_nWithFilter
146
// ----------------------------------------------------------------------------
147
public java.util.Collection JavaDoc getExtent(
148   ) {
149     return (java.util.Collection JavaDoc)refGetValue(
150       "org:openmdx:base:Segment:extent"
151     );
152   }
153
154   public java.util.List JavaDoc getExtent(
155     org.openmdx.base.cci.ExtentCapableFilter filter
156   ) {
157     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
158       "org:openmdx:base:Segment:extent"
159     )).toList(filter);
160   }
161
162 // ----------------------------------------------------------------------------
163
// Instance/ImplReferenceAddWithQualifier
164
// ----------------------------------------------------------------------------
165
protected void addExtent (
166     String JavaDoc identity,
167     org.openmdx.base.cci.ExtentCapable newValue
168   ) {
169     refAddValue(
170       "org:openmdx:base:Segment:extent",
171       identity,
172       newValue
173     );
174   }
175
176 // ----------------------------------------------------------------------------
177
// Instance/ImplReferenceAddWithoutQualifier
178
// ----------------------------------------------------------------------------
179
protected void addExtent (
180     org.openmdx.base.cci.ExtentCapable newValue
181   ) {
182     refAddValue(
183       "org:openmdx:base:Segment:extent",
184       newValue
185     );
186   }
187
188 // ----------------------------------------------------------------------------
189
// Instance/ImplReferenceRemoveWithQualifier
190
// ----------------------------------------------------------------------------
191
protected void removeExtent (
192     String JavaDoc identity
193   ) {
194     refRemoveValue(
195       "org:openmdx:base:Segment:extent",
196       identity
197     );
198   }
199
200 // ----------------------------------------------------------------------------
201
// Instance/ImplReferenceGet1_1NoQualifier
202
// ----------------------------------------------------------------------------
203
public org.openmdx.base.cci.Provider getProvider(
204   ) {
205     return (org.openmdx.base.cci.Provider)refGetValue(
206       "org:openmdx:base:Segment:provider"
207     );
208   }
209
210 // ----------------------------------------------------------------------------
211
// Instance/ImplReferenceSetNoQualifier
212
// ----------------------------------------------------------------------------
213
protected void setProvider(
214     org.openmdx.base.cci.Provider newValue
215   ) {
216     refSetValue(
217       "org:openmdx:base:Segment:provider",
218       newValue
219     );
220   }
221
222 // ----------------------------------------------------------------------------
223
// Instance/ImplReferenceSetWithQualifier
224
// ----------------------------------------------------------------------------
225
protected void setView(
226     java.util.List JavaDoc newValue
227   ) {
228     refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
229   }
230
231   protected void setView(
232     org.openmdx.compatibility.view1.cci.View[] newValue
233   ) {
234     refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
235   }
236
237 // ----------------------------------------------------------------------------
238
// Instance/ImplReferenceGet0_1WithQualifier
239
// ----------------------------------------------------------------------------
240
public org.openmdx.compatibility.view1.cci.View getView(
241     String JavaDoc namespace
242   ) {
243     return (org.openmdx.compatibility.view1.cci.View)refGetValue(
244       "org:openmdx:compatibility:view1:ViewCapable:view",
245       namespace
246     );
247   }
248
249 // ----------------------------------------------------------------------------
250
// Instance/ImplReferenceGet0_nWithFilter
251
// ----------------------------------------------------------------------------
252
public java.util.Collection JavaDoc getView(
253   ) {
254     return (java.util.Collection JavaDoc)refGetValue(
255       "org:openmdx:compatibility:view1:ViewCapable:view"
256     );
257   }
258
259   public java.util.List JavaDoc getView(
260     org.openmdx.compatibility.view1.cci.ViewFilter filter
261   ) {
262     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
263       "org:openmdx:compatibility:view1:ViewCapable:view"
264     )).toList(filter);
265   }
266
267 // ----------------------------------------------------------------------------
268
// Instance/ImplReferenceAddWithQualifier
269
// ----------------------------------------------------------------------------
270
protected void addView (
271     String JavaDoc namespace,
272     org.openmdx.compatibility.view1.cci.View newValue
273   ) {
274     refAddValue(
275       "org:openmdx:compatibility:view1:ViewCapable:view",
276       namespace,
277       newValue
278     );
279   }
280
281 // ----------------------------------------------------------------------------
282
// Instance/ImplReferenceAddWithoutQualifier
283
// ----------------------------------------------------------------------------
284
protected void addView (
285     org.openmdx.compatibility.view1.cci.View newValue
286   ) {
287     refAddValue(
288       "org:openmdx:compatibility:view1:ViewCapable:view",
289       newValue
290     );
291   }
292
293 // ----------------------------------------------------------------------------
294
// Instance/ImplReferenceRemoveWithQualifier
295
// ----------------------------------------------------------------------------
296
protected void removeView (
297     String JavaDoc namespace
298   ) {
299     refRemoveValue(
300       "org:openmdx:compatibility:view1:ViewCapable:view",
301       namespace
302     );
303   }
304
305 // ----------------------------------------------------------------------------
306
// Instance/ImplReferenceSetWithQualifier
307
// ----------------------------------------------------------------------------
308
public void setCredential(
309     java.util.List JavaDoc newValue
310   ) {
311     refSetValue("org:openmdx:security:authentication1:Segment:credential", newValue);
312   }
313
314   public void setCredential(
315     org.openmdx.security.authentication1.cci.Credential[] newValue
316   ) {
317     refSetValue("org:openmdx:security:authentication1:Segment:credential", newValue);
318   }
319
320 // ----------------------------------------------------------------------------
321
// Instance/ImplReferenceGet0_1WithQualifier
322
// ----------------------------------------------------------------------------
323
public org.openmdx.security.authentication1.cci.Credential getCredential(
324     String JavaDoc id
325   ) {
326     return (org.openmdx.security.authentication1.cci.Credential)refGetValue(
327       "org:openmdx:security:authentication1:Segment:credential",
328       id
329     );
330   }
331
332 // ----------------------------------------------------------------------------
333
// Instance/ImplReferenceGet0_nWithFilter
334
// ----------------------------------------------------------------------------
335
public java.util.Collection JavaDoc getCredential(
336   ) {
337     return (java.util.Collection JavaDoc)refGetValue(
338       "org:openmdx:security:authentication1:Segment:credential"
339     );
340   }
341
342   public java.util.List JavaDoc getCredential(
343     org.openmdx.security.authentication1.cci.CredentialFilter filter
344   ) {
345     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
346       "org:openmdx:security:authentication1:Segment:credential"
347     )).toList(filter);
348   }
349
350 // ----------------------------------------------------------------------------
351
// Instance/ImplReferenceAddWithQualifier
352
// ----------------------------------------------------------------------------
353
public void addCredential (
354     String JavaDoc id,
355     org.openmdx.security.authentication1.cci.Credential newValue
356   ) {
357     refAddValue(
358       "org:openmdx:security:authentication1:Segment:credential",
359       id,
360       newValue
361     );
362   }
363
364 // ----------------------------------------------------------------------------
365
// Instance/ImplReferenceAddWithoutQualifier
366
// ----------------------------------------------------------------------------
367
public void addCredential (
368     org.openmdx.security.authentication1.cci.Credential newValue
369   ) {
370     refAddValue(
371       "org:openmdx:security:authentication1:Segment:credential",
372       newValue
373     );
374   }
375
376 // ----------------------------------------------------------------------------
377
// Instance/ImplReferenceRemoveWithQualifier
378
// ----------------------------------------------------------------------------
379
public void removeCredential (
380     String JavaDoc id
381   ) {
382     refRemoveValue(
383       "org:openmdx:security:authentication1:Segment:credential",
384       id
385     );
386   }
387
388 // ----------------------------------------------------------------------------
389
// Instance/ImplEnd
390
// ----------------------------------------------------------------------------
391
}
392
Popular Tags