KickJava   Java API By Example, From Geeks To Geeks.

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