KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > model1 > cci > ParameterClassImpl


1 // ----------------------------------------------------------------------------
2
// ClassProxy/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:53 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.model1.cci;
14
15 public class ParameterClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements ParameterClass {
18
19   public ParameterClassImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage
21   ) {
22     super(refPackage);
23   }
24
25   public String JavaDoc refMofId(
26   ) {
27     return "org:opencrx:kernel:model1:Parameter";
28   }
29
30   public Parameter getParameter(
31     Object JavaDoc object
32   ) {
33     try {
34       if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) {
35         java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
36         args.add(object);
37         Parameter target = (Parameter)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (Parameter)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject(
43           object instanceof org.openmdx.compatibility.base.naming.Path
44             ? ((org.openmdx.compatibility.base.naming.Path)object).toXri()
45             : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri()
46         );
47       }
48     }
49     catch(org.openmdx.base.exception.ServiceException e) {
50         throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e);
51     }
52   }
53
54   public Parameter createParameter(
55   ) {
56     Parameter target = (Parameter)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public Parameter createParameter(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69     , String JavaDoc name
70     , String JavaDoc qualifiedName
71     , short direction
72     , short multiplicity
73     , org.opencrx.kernel.model1.cci.Classifier type
74   ) {
75     ParameterImpl _object = (ParameterImpl)createParameter();
76     _object.setAccessLevelBrowse(accessLevelBrowse);
77     _object.setAccessLevelDelete(accessLevelDelete);
78     _object.setAccessLevelUpdate(accessLevelUpdate);
79     _object.setDisabled(disabled);
80     _object.setName(name);
81     _object.setQualifiedName(qualifiedName);
82     _object.setDirection(direction);
83     _object.setMultiplicity(multiplicity);
84     _object.setType(type);
85     return _object;
86   }
87
88 // ----------------------------------------------------------------------------
89
// ClassProxy/ImplInstanceExtenderRequiredAttributes
90
// ----------------------------------------------------------------------------
91
public Parameter extendAuditee(
92       org.opencrx.kernel.base.cci.Auditee _base
93     , short accessLevelBrowse
94     , short accessLevelDelete
95     , short accessLevelUpdate
96     , boolean disabled
97     , String JavaDoc name
98     , String JavaDoc qualifiedName
99     , short direction
100     , short multiplicity
101     , org.opencrx.kernel.model1.cci.Classifier type
102   ) {
103     ParameterImpl _object = (ParameterImpl)getParameter(_base);
104     _object.setAccessLevelBrowse(accessLevelBrowse);
105     _object.setAccessLevelDelete(accessLevelDelete);
106     _object.setAccessLevelUpdate(accessLevelUpdate);
107     _object.setDisabled(disabled);
108     _object.setName(name);
109     _object.setQualifiedName(qualifiedName);
110     _object.setDirection(direction);
111     _object.setMultiplicity(multiplicity);
112     _object.setType(type);
113     return _object;
114   }
115
116 // ----------------------------------------------------------------------------
117
// ClassProxy/ImplInstanceExtenderRequiredAttributes
118
// ----------------------------------------------------------------------------
119
public Parameter extendBookmarkable(
120       org.opencrx.kernel.base.cci.Bookmarkable _base
121     , short accessLevelBrowse
122     , short accessLevelDelete
123     , short accessLevelUpdate
124     , boolean disabled
125     , String JavaDoc name
126     , String JavaDoc qualifiedName
127     , short direction
128     , short multiplicity
129     , org.opencrx.kernel.model1.cci.Classifier type
130   ) {
131     ParameterImpl _object = (ParameterImpl)getParameter(_base);
132     _object.setAccessLevelBrowse(accessLevelBrowse);
133     _object.setAccessLevelDelete(accessLevelDelete);
134     _object.setAccessLevelUpdate(accessLevelUpdate);
135     _object.setDisabled(disabled);
136     _object.setName(name);
137     _object.setQualifiedName(qualifiedName);
138     _object.setDirection(direction);
139     _object.setMultiplicity(multiplicity);
140     _object.setType(type);
141     return _object;
142   }
143
144 // ----------------------------------------------------------------------------
145
// ClassProxy/ImplInstanceExtenderRequiredAttributes
146
// ----------------------------------------------------------------------------
147
public Parameter extendCloneable(
148       org.opencrx.kernel.base.cci.Cloneable _base
149     , short accessLevelBrowse
150     , short accessLevelDelete
151     , short accessLevelUpdate
152     , boolean disabled
153     , String JavaDoc name
154     , String JavaDoc qualifiedName
155     , short direction
156     , short multiplicity
157     , org.opencrx.kernel.model1.cci.Classifier type
158   ) {
159     ParameterImpl _object = (ParameterImpl)getParameter(_base);
160     _object.setAccessLevelBrowse(accessLevelBrowse);
161     _object.setAccessLevelDelete(accessLevelDelete);
162     _object.setAccessLevelUpdate(accessLevelUpdate);
163     _object.setDisabled(disabled);
164     _object.setName(name);
165     _object.setQualifiedName(qualifiedName);
166     _object.setDirection(direction);
167     _object.setMultiplicity(multiplicity);
168     _object.setType(type);
169     return _object;
170   }
171
172 // ----------------------------------------------------------------------------
173
// ClassProxy/ImplInstanceExtenderRequiredAttributes
174
// ----------------------------------------------------------------------------
175
public Parameter extendImporter(
176       org.opencrx.kernel.base.cci.Importer _base
177     , short accessLevelBrowse
178     , short accessLevelDelete
179     , short accessLevelUpdate
180     , boolean disabled
181     , String JavaDoc name
182     , String JavaDoc qualifiedName
183     , short direction
184     , short multiplicity
185     , org.opencrx.kernel.model1.cci.Classifier type
186   ) {
187     ParameterImpl _object = (ParameterImpl)getParameter(_base);
188     _object.setAccessLevelBrowse(accessLevelBrowse);
189     _object.setAccessLevelDelete(accessLevelDelete);
190     _object.setAccessLevelUpdate(accessLevelUpdate);
191     _object.setDisabled(disabled);
192     _object.setName(name);
193     _object.setQualifiedName(qualifiedName);
194     _object.setDirection(direction);
195     _object.setMultiplicity(multiplicity);
196     _object.setType(type);
197     return _object;
198   }
199
200 // ----------------------------------------------------------------------------
201
// ClassProxy/ImplInstanceExtenderRequiredAttributes
202
// ----------------------------------------------------------------------------
203
public Parameter extendSecureObject(
204       org.opencrx.kernel.base.cci.SecureObject _base
205     , boolean disabled
206     , String JavaDoc name
207     , String JavaDoc qualifiedName
208     , short direction
209     , short multiplicity
210     , org.opencrx.kernel.model1.cci.Classifier type
211   ) {
212     ParameterImpl _object = (ParameterImpl)getParameter(_base);
213     _object.setDisabled(disabled);
214     _object.setName(name);
215     _object.setQualifiedName(qualifiedName);
216     _object.setDirection(direction);
217     _object.setMultiplicity(multiplicity);
218     _object.setType(type);
219     return _object;
220   }
221
222 // ----------------------------------------------------------------------------
223
// ClassProxy/ImplInstanceExtenderRequiredAttributes
224
// ----------------------------------------------------------------------------
225
public Parameter extendSubscriptionTarget(
226       org.opencrx.kernel.base.cci.SubscriptionTarget _base
227     , short accessLevelBrowse
228     , short accessLevelDelete
229     , short accessLevelUpdate
230     , boolean disabled
231     , String JavaDoc name
232     , String JavaDoc qualifiedName
233     , short direction
234     , short multiplicity
235     , org.opencrx.kernel.model1.cci.Classifier type
236   ) {
237     ParameterImpl _object = (ParameterImpl)getParameter(_base);
238     _object.setAccessLevelBrowse(accessLevelBrowse);
239     _object.setAccessLevelDelete(accessLevelDelete);
240     _object.setAccessLevelUpdate(accessLevelUpdate);
241     _object.setDisabled(disabled);
242     _object.setName(name);
243     _object.setQualifiedName(qualifiedName);
244     _object.setDirection(direction);
245     _object.setMultiplicity(multiplicity);
246     _object.setType(type);
247     return _object;
248   }
249
250 // ----------------------------------------------------------------------------
251
// ClassProxy/ImplInstanceExtenderRequiredAttributes
252
// ----------------------------------------------------------------------------
253
public Parameter extendXmlExporter(
254       org.opencrx.kernel.base.cci.XmlExporter _base
255     , short accessLevelBrowse
256     , short accessLevelDelete
257     , short accessLevelUpdate
258     , boolean disabled
259     , String JavaDoc name
260     , String JavaDoc qualifiedName
261     , short direction
262     , short multiplicity
263     , org.opencrx.kernel.model1.cci.Classifier type
264   ) {
265     ParameterImpl _object = (ParameterImpl)getParameter(_base);
266     _object.setAccessLevelBrowse(accessLevelBrowse);
267     _object.setAccessLevelDelete(accessLevelDelete);
268     _object.setAccessLevelUpdate(accessLevelUpdate);
269     _object.setDisabled(disabled);
270     _object.setName(name);
271     _object.setQualifiedName(qualifiedName);
272     _object.setDirection(direction);
273     _object.setMultiplicity(multiplicity);
274     _object.setType(type);
275     return _object;
276   }
277
278 // ----------------------------------------------------------------------------
279
// ClassProxy/ImplInstanceExtenderRequiredAttributes
280
// ----------------------------------------------------------------------------
281
public Parameter extendCrxObject(
282       org.opencrx.kernel.generic.cci.CrxObject _base
283     , String JavaDoc name
284     , String JavaDoc qualifiedName
285     , short direction
286     , short multiplicity
287     , org.opencrx.kernel.model1.cci.Classifier type
288   ) {
289     ParameterImpl _object = (ParameterImpl)getParameter(_base);
290     _object.setName(name);
291     _object.setQualifiedName(qualifiedName);
292     _object.setDirection(direction);
293     _object.setMultiplicity(multiplicity);
294     _object.setType(type);
295     return _object;
296   }
297
298 // ----------------------------------------------------------------------------
299
// ClassProxy/ImplInstanceExtenderRequiredAttributes
300
// ----------------------------------------------------------------------------
301
public Parameter extendElement(
302       org.opencrx.kernel.model1.cci.Element _base
303     , short direction
304     , short multiplicity
305     , org.opencrx.kernel.model1.cci.Classifier type
306   ) {
307     ParameterImpl _object = (ParameterImpl)getParameter(_base);
308     _object.setDirection(direction);
309     _object.setMultiplicity(multiplicity);
310     _object.setType(type);
311     return _object;
312   }
313
314 // ----------------------------------------------------------------------------
315
// ClassProxy/ImplInstanceExtenderRequiredAttributes
316
// ----------------------------------------------------------------------------
317
public Parameter extendTypedElement(
318       org.opencrx.kernel.model1.cci.TypedElement _base
319     , short direction
320     , short multiplicity
321   ) {
322     ParameterImpl _object = (ParameterImpl)getParameter(_base);
323     _object.setDirection(direction);
324     _object.setMultiplicity(multiplicity);
325     return _object;
326   }
327
328 // ----------------------------------------------------------------------------
329
// ClassProxy/ImplInstanceExtenderRequiredAttributes
330
// ----------------------------------------------------------------------------
331
public Parameter extendBasicObject(
332       org.openmdx.base.cci.BasicObject _base
333     , short accessLevelBrowse
334     , short accessLevelDelete
335     , short accessLevelUpdate
336     , boolean disabled
337     , String JavaDoc name
338     , String JavaDoc qualifiedName
339     , short direction
340     , short multiplicity
341     , org.opencrx.kernel.model1.cci.Classifier type
342   ) {
343     ParameterImpl _object = (ParameterImpl)getParameter(_base);
344     _object.setAccessLevelBrowse(accessLevelBrowse);
345     _object.setAccessLevelDelete(accessLevelDelete);
346     _object.setAccessLevelUpdate(accessLevelUpdate);
347     _object.setDisabled(disabled);
348     _object.setName(name);
349     _object.setQualifiedName(qualifiedName);
350     _object.setDirection(direction);
351     _object.setMultiplicity(multiplicity);
352     _object.setType(type);
353     return _object;
354   }
355
356 // ----------------------------------------------------------------------------
357
// ClassProxy/ImplInstanceExtenderRequiredAttributes
358
// ----------------------------------------------------------------------------
359
public Parameter extendContextCapable(
360       org.openmdx.base.cci.ContextCapable _base
361     , short accessLevelBrowse
362     , short accessLevelDelete
363     , short accessLevelUpdate
364     , boolean disabled
365     , String JavaDoc name
366     , String JavaDoc qualifiedName
367     , short direction
368     , short multiplicity
369     , org.opencrx.kernel.model1.cci.Classifier type
370   ) {
371     ParameterImpl _object = (ParameterImpl)getParameter(_base);
372     _object.setAccessLevelBrowse(accessLevelBrowse);
373     _object.setAccessLevelDelete(accessLevelDelete);
374     _object.setAccessLevelUpdate(accessLevelUpdate);
375     _object.setDisabled(disabled);
376     _object.setName(name);
377     _object.setQualifiedName(qualifiedName);
378     _object.setDirection(direction);
379     _object.setMultiplicity(multiplicity);
380     _object.setType(type);
381     return _object;
382   }
383
384 // ----------------------------------------------------------------------------
385
// ClassProxy/ImplInstanceExtenderRequiredAttributes
386
// ----------------------------------------------------------------------------
387
public Parameter extendExtentCapable(
388       org.openmdx.base.cci.ExtentCapable _base
389     , short accessLevelBrowse
390     , short accessLevelDelete
391     , short accessLevelUpdate
392     , boolean disabled
393     , String JavaDoc name
394     , String JavaDoc qualifiedName
395     , short direction
396     , short multiplicity
397     , org.opencrx.kernel.model1.cci.Classifier type
398   ) {
399     ParameterImpl _object = (ParameterImpl)getParameter(_base);
400     _object.setAccessLevelBrowse(accessLevelBrowse);
401     _object.setAccessLevelDelete(accessLevelDelete);
402     _object.setAccessLevelUpdate(accessLevelUpdate);
403     _object.setDisabled(disabled);
404     _object.setName(name);
405     _object.setQualifiedName(qualifiedName);
406     _object.setDirection(direction);
407     _object.setMultiplicity(multiplicity);
408     _object.setType(type);
409     return _object;
410   }
411
412 // ----------------------------------------------------------------------------
413
// ClassProxy/ImplInstanceExtenderRequiredAttributes
414
// ----------------------------------------------------------------------------
415
public Parameter extendViewCapable(
416       org.openmdx.compatibility.view1.cci.ViewCapable _base
417     , short accessLevelBrowse
418     , short accessLevelDelete
419     , short accessLevelUpdate
420     , boolean disabled
421     , String JavaDoc name
422     , String JavaDoc qualifiedName
423     , short direction
424     , short multiplicity
425     , org.opencrx.kernel.model1.cci.Classifier type
426   ) {
427     ParameterImpl _object = (ParameterImpl)getParameter(_base);
428     _object.setAccessLevelBrowse(accessLevelBrowse);
429     _object.setAccessLevelDelete(accessLevelDelete);
430     _object.setAccessLevelUpdate(accessLevelUpdate);
431     _object.setDisabled(disabled);
432     _object.setName(name);
433     _object.setQualifiedName(qualifiedName);
434     _object.setDirection(direction);
435     _object.setMultiplicity(multiplicity);
436     _object.setType(type);
437     return _object;
438   }
439
440 // ----------------------------------------------------------------------------
441
// ClassProxy/ImplEnd.vm
442
// ----------------------------------------------------------------------------
443
}
444
Popular Tags