KickJava   Java API By Example, From Geeks To Geeks.

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


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:52 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.model1.cci;
14
15 public class OperationClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements OperationClass {
18
19   public OperationClassImpl(
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:Operation";
28   }
29
30   public Operation getOperation(
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         Operation target = (Operation)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (Operation)((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 Operation createOperation(
55   ) {
56     Operation target = (Operation)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public Operation createOperation(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69     , String JavaDoc name
70     , String JavaDoc qualifiedName
71     , short scope
72     , short visibility
73     , boolean isQuery
74   ) {
75     OperationImpl _object = (OperationImpl)createOperation();
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.setScope(scope);
83     _object.setVisibility(visibility);
84     _object.setQuery(isQuery);
85     return _object;
86   }
87
88 // ----------------------------------------------------------------------------
89
// ClassProxy/ImplInstanceExtenderRequiredAttributes
90
// ----------------------------------------------------------------------------
91
public Operation 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 scope
100     , short visibility
101     , boolean isQuery
102   ) {
103     OperationImpl _object = (OperationImpl)getOperation(_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.setScope(scope);
111     _object.setVisibility(visibility);
112     _object.setQuery(isQuery);
113     return _object;
114   }
115
116 // ----------------------------------------------------------------------------
117
// ClassProxy/ImplInstanceExtenderRequiredAttributes
118
// ----------------------------------------------------------------------------
119
public Operation 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 scope
128     , short visibility
129     , boolean isQuery
130   ) {
131     OperationImpl _object = (OperationImpl)getOperation(_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.setScope(scope);
139     _object.setVisibility(visibility);
140     _object.setQuery(isQuery);
141     return _object;
142   }
143
144 // ----------------------------------------------------------------------------
145
// ClassProxy/ImplInstanceExtenderRequiredAttributes
146
// ----------------------------------------------------------------------------
147
public Operation 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 scope
156     , short visibility
157     , boolean isQuery
158   ) {
159     OperationImpl _object = (OperationImpl)getOperation(_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.setScope(scope);
167     _object.setVisibility(visibility);
168     _object.setQuery(isQuery);
169     return _object;
170   }
171
172 // ----------------------------------------------------------------------------
173
// ClassProxy/ImplInstanceExtenderRequiredAttributes
174
// ----------------------------------------------------------------------------
175
public Operation 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 scope
184     , short visibility
185     , boolean isQuery
186   ) {
187     OperationImpl _object = (OperationImpl)getOperation(_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.setScope(scope);
195     _object.setVisibility(visibility);
196     _object.setQuery(isQuery);
197     return _object;
198   }
199
200 // ----------------------------------------------------------------------------
201
// ClassProxy/ImplInstanceExtenderRequiredAttributes
202
// ----------------------------------------------------------------------------
203
public Operation extendSecureObject(
204       org.opencrx.kernel.base.cci.SecureObject _base
205     , boolean disabled
206     , String JavaDoc name
207     , String JavaDoc qualifiedName
208     , short scope
209     , short visibility
210     , boolean isQuery
211   ) {
212     OperationImpl _object = (OperationImpl)getOperation(_base);
213     _object.setDisabled(disabled);
214     _object.setName(name);
215     _object.setQualifiedName(qualifiedName);
216     _object.setScope(scope);
217     _object.setVisibility(visibility);
218     _object.setQuery(isQuery);
219     return _object;
220   }
221
222 // ----------------------------------------------------------------------------
223
// ClassProxy/ImplInstanceExtenderRequiredAttributes
224
// ----------------------------------------------------------------------------
225
public Operation 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 scope
234     , short visibility
235     , boolean isQuery
236   ) {
237     OperationImpl _object = (OperationImpl)getOperation(_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.setScope(scope);
245     _object.setVisibility(visibility);
246     _object.setQuery(isQuery);
247     return _object;
248   }
249
250 // ----------------------------------------------------------------------------
251
// ClassProxy/ImplInstanceExtenderRequiredAttributes
252
// ----------------------------------------------------------------------------
253
public Operation 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 scope
262     , short visibility
263     , boolean isQuery
264   ) {
265     OperationImpl _object = (OperationImpl)getOperation(_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.setScope(scope);
273     _object.setVisibility(visibility);
274     _object.setQuery(isQuery);
275     return _object;
276   }
277
278 // ----------------------------------------------------------------------------
279
// ClassProxy/ImplInstanceExtenderRequiredAttributes
280
// ----------------------------------------------------------------------------
281
public Operation extendCrxObject(
282       org.opencrx.kernel.generic.cci.CrxObject _base
283     , String JavaDoc name
284     , String JavaDoc qualifiedName
285     , short scope
286     , short visibility
287     , boolean isQuery
288   ) {
289     OperationImpl _object = (OperationImpl)getOperation(_base);
290     _object.setName(name);
291     _object.setQualifiedName(qualifiedName);
292     _object.setScope(scope);
293     _object.setVisibility(visibility);
294     _object.setQuery(isQuery);
295     return _object;
296   }
297
298 // ----------------------------------------------------------------------------
299
// ClassProxy/ImplInstanceExtenderRequiredAttributes
300
// ----------------------------------------------------------------------------
301
public Operation extendBehaviouralFeature(
302       org.opencrx.kernel.model1.cci.BehaviouralFeature _base
303     , boolean isQuery
304   ) {
305     OperationImpl _object = (OperationImpl)getOperation(_base);
306     _object.setQuery(isQuery);
307     return _object;
308   }
309
310 // ----------------------------------------------------------------------------
311
// ClassProxy/ImplInstanceExtenderRequiredAttributes
312
// ----------------------------------------------------------------------------
313
public Operation extendElement(
314       org.opencrx.kernel.model1.cci.Element _base
315     , short scope
316     , short visibility
317     , boolean isQuery
318   ) {
319     OperationImpl _object = (OperationImpl)getOperation(_base);
320     _object.setScope(scope);
321     _object.setVisibility(visibility);
322     _object.setQuery(isQuery);
323     return _object;
324   }
325
326 // ----------------------------------------------------------------------------
327
// ClassProxy/ImplInstanceExtenderRequiredAttributes
328
// ----------------------------------------------------------------------------
329
public Operation extendFeature(
330       org.opencrx.kernel.model1.cci.Feature _base
331     , boolean isQuery
332   ) {
333     OperationImpl _object = (OperationImpl)getOperation(_base);
334     _object.setQuery(isQuery);
335     return _object;
336   }
337
338 // ----------------------------------------------------------------------------
339
// ClassProxy/ImplInstanceExtenderRequiredAttributes
340
// ----------------------------------------------------------------------------
341
public Operation extendNamespace(
342       org.opencrx.kernel.model1.cci.Namespace _base
343     , short scope
344     , short visibility
345     , boolean isQuery
346   ) {
347     OperationImpl _object = (OperationImpl)getOperation(_base);
348     _object.setScope(scope);
349     _object.setVisibility(visibility);
350     _object.setQuery(isQuery);
351     return _object;
352   }
353
354 // ----------------------------------------------------------------------------
355
// ClassProxy/ImplInstanceExtenderRequiredAttributes
356
// ----------------------------------------------------------------------------
357
public Operation extendBasicObject(
358       org.openmdx.base.cci.BasicObject _base
359     , short accessLevelBrowse
360     , short accessLevelDelete
361     , short accessLevelUpdate
362     , boolean disabled
363     , String JavaDoc name
364     , String JavaDoc qualifiedName
365     , short scope
366     , short visibility
367     , boolean isQuery
368   ) {
369     OperationImpl _object = (OperationImpl)getOperation(_base);
370     _object.setAccessLevelBrowse(accessLevelBrowse);
371     _object.setAccessLevelDelete(accessLevelDelete);
372     _object.setAccessLevelUpdate(accessLevelUpdate);
373     _object.setDisabled(disabled);
374     _object.setName(name);
375     _object.setQualifiedName(qualifiedName);
376     _object.setScope(scope);
377     _object.setVisibility(visibility);
378     _object.setQuery(isQuery);
379     return _object;
380   }
381
382 // ----------------------------------------------------------------------------
383
// ClassProxy/ImplInstanceExtenderRequiredAttributes
384
// ----------------------------------------------------------------------------
385
public Operation extendContextCapable(
386       org.openmdx.base.cci.ContextCapable _base
387     , short accessLevelBrowse
388     , short accessLevelDelete
389     , short accessLevelUpdate
390     , boolean disabled
391     , String JavaDoc name
392     , String JavaDoc qualifiedName
393     , short scope
394     , short visibility
395     , boolean isQuery
396   ) {
397     OperationImpl _object = (OperationImpl)getOperation(_base);
398     _object.setAccessLevelBrowse(accessLevelBrowse);
399     _object.setAccessLevelDelete(accessLevelDelete);
400     _object.setAccessLevelUpdate(accessLevelUpdate);
401     _object.setDisabled(disabled);
402     _object.setName(name);
403     _object.setQualifiedName(qualifiedName);
404     _object.setScope(scope);
405     _object.setVisibility(visibility);
406     _object.setQuery(isQuery);
407     return _object;
408   }
409
410 // ----------------------------------------------------------------------------
411
// ClassProxy/ImplInstanceExtenderRequiredAttributes
412
// ----------------------------------------------------------------------------
413
public Operation extendExtentCapable(
414       org.openmdx.base.cci.ExtentCapable _base
415     , short accessLevelBrowse
416     , short accessLevelDelete
417     , short accessLevelUpdate
418     , boolean disabled
419     , String JavaDoc name
420     , String JavaDoc qualifiedName
421     , short scope
422     , short visibility
423     , boolean isQuery
424   ) {
425     OperationImpl _object = (OperationImpl)getOperation(_base);
426     _object.setAccessLevelBrowse(accessLevelBrowse);
427     _object.setAccessLevelDelete(accessLevelDelete);
428     _object.setAccessLevelUpdate(accessLevelUpdate);
429     _object.setDisabled(disabled);
430     _object.setName(name);
431     _object.setQualifiedName(qualifiedName);
432     _object.setScope(scope);
433     _object.setVisibility(visibility);
434     _object.setQuery(isQuery);
435     return _object;
436   }
437
438 // ----------------------------------------------------------------------------
439
// ClassProxy/ImplInstanceExtenderRequiredAttributes
440
// ----------------------------------------------------------------------------
441
public Operation extendViewCapable(
442       org.openmdx.compatibility.view1.cci.ViewCapable _base
443     , short accessLevelBrowse
444     , short accessLevelDelete
445     , short accessLevelUpdate
446     , boolean disabled
447     , String JavaDoc name
448     , String JavaDoc qualifiedName
449     , short scope
450     , short visibility
451     , boolean isQuery
452   ) {
453     OperationImpl _object = (OperationImpl)getOperation(_base);
454     _object.setAccessLevelBrowse(accessLevelBrowse);
455     _object.setAccessLevelDelete(accessLevelDelete);
456     _object.setAccessLevelUpdate(accessLevelUpdate);
457     _object.setDisabled(disabled);
458     _object.setName(name);
459     _object.setQualifiedName(qualifiedName);
460     _object.setScope(scope);
461     _object.setVisibility(visibility);
462     _object.setQuery(isQuery);
463     return _object;
464   }
465
466 // ----------------------------------------------------------------------------
467
// ClassProxy/ImplEnd.vm
468
// ----------------------------------------------------------------------------
469
}
470
Popular Tags