KickJava   Java API By Example, From Geeks To Geeks.

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