KickJava   Java API By Example, From Geeks To Geeks.

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


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:54 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.model1.cci;
14
15 public class CollectionTypeClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements CollectionTypeClass {
18
19   public CollectionTypeClassImpl(
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:CollectionType";
28   }
29
30   public CollectionType getCollectionType(
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         CollectionType target = (CollectionType)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (CollectionType)((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 CollectionType createCollectionType(
55   ) {
56     CollectionType target = (CollectionType)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public CollectionType createCollectionType(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69     , short multiplicity
70     , String JavaDoc name
71     , String JavaDoc qualifiedName
72     , boolean isAbstract
73     , short visibility
74     , org.opencrx.kernel.model1.cci.Classifier type
75   ) {
76     CollectionTypeImpl _object = (CollectionTypeImpl)createCollectionType();
77     _object.setAccessLevelBrowse(accessLevelBrowse);
78     _object.setAccessLevelDelete(accessLevelDelete);
79     _object.setAccessLevelUpdate(accessLevelUpdate);
80     _object.setDisabled(disabled);
81     _object.setMultiplicity(multiplicity);
82     _object.setName(name);
83     _object.setQualifiedName(qualifiedName);
84     _object.setAbstract_(isAbstract);
85     _object.setVisibility(visibility);
86     _object.setType(type);
87     return _object;
88   }
89
90 // ----------------------------------------------------------------------------
91
// ClassProxy/ImplInstanceExtenderRequiredAttributes
92
// ----------------------------------------------------------------------------
93
public CollectionType extendAuditee(
94       org.opencrx.kernel.base.cci.Auditee _base
95     , short accessLevelBrowse
96     , short accessLevelDelete
97     , short accessLevelUpdate
98     , boolean disabled
99     , short multiplicity
100     , String JavaDoc name
101     , String JavaDoc qualifiedName
102     , boolean isAbstract
103     , short visibility
104     , org.opencrx.kernel.model1.cci.Classifier type
105   ) {
106     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
107     _object.setAccessLevelBrowse(accessLevelBrowse);
108     _object.setAccessLevelDelete(accessLevelDelete);
109     _object.setAccessLevelUpdate(accessLevelUpdate);
110     _object.setDisabled(disabled);
111     _object.setMultiplicity(multiplicity);
112     _object.setName(name);
113     _object.setQualifiedName(qualifiedName);
114     _object.setAbstract_(isAbstract);
115     _object.setVisibility(visibility);
116     _object.setType(type);
117     return _object;
118   }
119
120 // ----------------------------------------------------------------------------
121
// ClassProxy/ImplInstanceExtenderRequiredAttributes
122
// ----------------------------------------------------------------------------
123
public CollectionType extendBookmarkable(
124       org.opencrx.kernel.base.cci.Bookmarkable _base
125     , short accessLevelBrowse
126     , short accessLevelDelete
127     , short accessLevelUpdate
128     , boolean disabled
129     , short multiplicity
130     , String JavaDoc name
131     , String JavaDoc qualifiedName
132     , boolean isAbstract
133     , short visibility
134     , org.opencrx.kernel.model1.cci.Classifier type
135   ) {
136     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
137     _object.setAccessLevelBrowse(accessLevelBrowse);
138     _object.setAccessLevelDelete(accessLevelDelete);
139     _object.setAccessLevelUpdate(accessLevelUpdate);
140     _object.setDisabled(disabled);
141     _object.setMultiplicity(multiplicity);
142     _object.setName(name);
143     _object.setQualifiedName(qualifiedName);
144     _object.setAbstract_(isAbstract);
145     _object.setVisibility(visibility);
146     _object.setType(type);
147     return _object;
148   }
149
150 // ----------------------------------------------------------------------------
151
// ClassProxy/ImplInstanceExtenderRequiredAttributes
152
// ----------------------------------------------------------------------------
153
public CollectionType extendCloneable(
154       org.opencrx.kernel.base.cci.Cloneable _base
155     , short accessLevelBrowse
156     , short accessLevelDelete
157     , short accessLevelUpdate
158     , boolean disabled
159     , short multiplicity
160     , String JavaDoc name
161     , String JavaDoc qualifiedName
162     , boolean isAbstract
163     , short visibility
164     , org.opencrx.kernel.model1.cci.Classifier type
165   ) {
166     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
167     _object.setAccessLevelBrowse(accessLevelBrowse);
168     _object.setAccessLevelDelete(accessLevelDelete);
169     _object.setAccessLevelUpdate(accessLevelUpdate);
170     _object.setDisabled(disabled);
171     _object.setMultiplicity(multiplicity);
172     _object.setName(name);
173     _object.setQualifiedName(qualifiedName);
174     _object.setAbstract_(isAbstract);
175     _object.setVisibility(visibility);
176     _object.setType(type);
177     return _object;
178   }
179
180 // ----------------------------------------------------------------------------
181
// ClassProxy/ImplInstanceExtenderRequiredAttributes
182
// ----------------------------------------------------------------------------
183
public CollectionType extendImporter(
184       org.opencrx.kernel.base.cci.Importer _base
185     , short accessLevelBrowse
186     , short accessLevelDelete
187     , short accessLevelUpdate
188     , boolean disabled
189     , short multiplicity
190     , String JavaDoc name
191     , String JavaDoc qualifiedName
192     , boolean isAbstract
193     , short visibility
194     , org.opencrx.kernel.model1.cci.Classifier type
195   ) {
196     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
197     _object.setAccessLevelBrowse(accessLevelBrowse);
198     _object.setAccessLevelDelete(accessLevelDelete);
199     _object.setAccessLevelUpdate(accessLevelUpdate);
200     _object.setDisabled(disabled);
201     _object.setMultiplicity(multiplicity);
202     _object.setName(name);
203     _object.setQualifiedName(qualifiedName);
204     _object.setAbstract_(isAbstract);
205     _object.setVisibility(visibility);
206     _object.setType(type);
207     return _object;
208   }
209
210 // ----------------------------------------------------------------------------
211
// ClassProxy/ImplInstanceExtenderRequiredAttributes
212
// ----------------------------------------------------------------------------
213
public CollectionType extendSecureObject(
214       org.opencrx.kernel.base.cci.SecureObject _base
215     , boolean disabled
216     , short multiplicity
217     , String JavaDoc name
218     , String JavaDoc qualifiedName
219     , boolean isAbstract
220     , short visibility
221     , org.opencrx.kernel.model1.cci.Classifier type
222   ) {
223     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
224     _object.setDisabled(disabled);
225     _object.setMultiplicity(multiplicity);
226     _object.setName(name);
227     _object.setQualifiedName(qualifiedName);
228     _object.setAbstract_(isAbstract);
229     _object.setVisibility(visibility);
230     _object.setType(type);
231     return _object;
232   }
233
234 // ----------------------------------------------------------------------------
235
// ClassProxy/ImplInstanceExtenderRequiredAttributes
236
// ----------------------------------------------------------------------------
237
public CollectionType extendSubscriptionTarget(
238       org.opencrx.kernel.base.cci.SubscriptionTarget _base
239     , short accessLevelBrowse
240     , short accessLevelDelete
241     , short accessLevelUpdate
242     , boolean disabled
243     , short multiplicity
244     , String JavaDoc name
245     , String JavaDoc qualifiedName
246     , boolean isAbstract
247     , short visibility
248     , org.opencrx.kernel.model1.cci.Classifier type
249   ) {
250     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
251     _object.setAccessLevelBrowse(accessLevelBrowse);
252     _object.setAccessLevelDelete(accessLevelDelete);
253     _object.setAccessLevelUpdate(accessLevelUpdate);
254     _object.setDisabled(disabled);
255     _object.setMultiplicity(multiplicity);
256     _object.setName(name);
257     _object.setQualifiedName(qualifiedName);
258     _object.setAbstract_(isAbstract);
259     _object.setVisibility(visibility);
260     _object.setType(type);
261     return _object;
262   }
263
264 // ----------------------------------------------------------------------------
265
// ClassProxy/ImplInstanceExtenderRequiredAttributes
266
// ----------------------------------------------------------------------------
267
public CollectionType extendXmlExporter(
268       org.opencrx.kernel.base.cci.XmlExporter _base
269     , short accessLevelBrowse
270     , short accessLevelDelete
271     , short accessLevelUpdate
272     , boolean disabled
273     , short multiplicity
274     , String JavaDoc name
275     , String JavaDoc qualifiedName
276     , boolean isAbstract
277     , short visibility
278     , org.opencrx.kernel.model1.cci.Classifier type
279   ) {
280     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
281     _object.setAccessLevelBrowse(accessLevelBrowse);
282     _object.setAccessLevelDelete(accessLevelDelete);
283     _object.setAccessLevelUpdate(accessLevelUpdate);
284     _object.setDisabled(disabled);
285     _object.setMultiplicity(multiplicity);
286     _object.setName(name);
287     _object.setQualifiedName(qualifiedName);
288     _object.setAbstract_(isAbstract);
289     _object.setVisibility(visibility);
290     _object.setType(type);
291     return _object;
292   }
293
294 // ----------------------------------------------------------------------------
295
// ClassProxy/ImplInstanceExtenderRequiredAttributes
296
// ----------------------------------------------------------------------------
297
public CollectionType extendCrxObject(
298       org.opencrx.kernel.generic.cci.CrxObject _base
299     , short multiplicity
300     , String JavaDoc name
301     , String JavaDoc qualifiedName
302     , boolean isAbstract
303     , short visibility
304     , org.opencrx.kernel.model1.cci.Classifier type
305   ) {
306     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
307     _object.setMultiplicity(multiplicity);
308     _object.setName(name);
309     _object.setQualifiedName(qualifiedName);
310     _object.setAbstract_(isAbstract);
311     _object.setVisibility(visibility);
312     _object.setType(type);
313     return _object;
314   }
315
316 // ----------------------------------------------------------------------------
317
// ClassProxy/ImplInstanceExtenderRequiredAttributes
318
// ----------------------------------------------------------------------------
319
public CollectionType extendClassifier(
320       org.opencrx.kernel.model1.cci.Classifier _base
321     , short multiplicity
322     , org.opencrx.kernel.model1.cci.Classifier type
323   ) {
324     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
325     _object.setMultiplicity(multiplicity);
326     _object.setType(type);
327     return _object;
328   }
329
330 // ----------------------------------------------------------------------------
331
// ClassProxy/ImplInstanceExtenderRequiredAttributes
332
// ----------------------------------------------------------------------------
333
public CollectionType extendDatatype(
334       org.opencrx.kernel.model1.cci.Datatype _base
335     , short multiplicity
336     , org.opencrx.kernel.model1.cci.Classifier type
337   ) {
338     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
339     _object.setMultiplicity(multiplicity);
340     _object.setType(type);
341     return _object;
342   }
343
344 // ----------------------------------------------------------------------------
345
// ClassProxy/ImplInstanceExtenderRequiredAttributes
346
// ----------------------------------------------------------------------------
347
public CollectionType extendElement(
348       org.opencrx.kernel.model1.cci.Element _base
349     , short multiplicity
350     , boolean isAbstract
351     , short visibility
352     , org.opencrx.kernel.model1.cci.Classifier type
353   ) {
354     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
355     _object.setMultiplicity(multiplicity);
356     _object.setAbstract_(isAbstract);
357     _object.setVisibility(visibility);
358     _object.setType(type);
359     return _object;
360   }
361
362 // ----------------------------------------------------------------------------
363
// ClassProxy/ImplInstanceExtenderRequiredAttributes
364
// ----------------------------------------------------------------------------
365
public CollectionType extendGeneralizableElement(
366       org.opencrx.kernel.model1.cci.GeneralizableElement _base
367     , short multiplicity
368     , org.opencrx.kernel.model1.cci.Classifier type
369   ) {
370     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
371     _object.setMultiplicity(multiplicity);
372     _object.setType(type);
373     return _object;
374   }
375
376 // ----------------------------------------------------------------------------
377
// ClassProxy/ImplInstanceExtenderRequiredAttributes
378
// ----------------------------------------------------------------------------
379
public CollectionType extendNamespace(
380       org.opencrx.kernel.model1.cci.Namespace _base
381     , short multiplicity
382     , boolean isAbstract
383     , short visibility
384     , org.opencrx.kernel.model1.cci.Classifier type
385   ) {
386     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
387     _object.setMultiplicity(multiplicity);
388     _object.setAbstract_(isAbstract);
389     _object.setVisibility(visibility);
390     _object.setType(type);
391     return _object;
392   }
393
394 // ----------------------------------------------------------------------------
395
// ClassProxy/ImplInstanceExtenderRequiredAttributes
396
// ----------------------------------------------------------------------------
397
public CollectionType extendTypedElement(
398       org.opencrx.kernel.model1.cci.TypedElement _base
399     , short multiplicity
400     , boolean isAbstract
401     , short visibility
402   ) {
403     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
404     _object.setMultiplicity(multiplicity);
405     _object.setAbstract_(isAbstract);
406     _object.setVisibility(visibility);
407     return _object;
408   }
409
410 // ----------------------------------------------------------------------------
411
// ClassProxy/ImplInstanceExtenderRequiredAttributes
412
// ----------------------------------------------------------------------------
413
public CollectionType extendBasicObject(
414       org.openmdx.base.cci.BasicObject _base
415     , short accessLevelBrowse
416     , short accessLevelDelete
417     , short accessLevelUpdate
418     , boolean disabled
419     , short multiplicity
420     , String JavaDoc name
421     , String JavaDoc qualifiedName
422     , boolean isAbstract
423     , short visibility
424     , org.opencrx.kernel.model1.cci.Classifier type
425   ) {
426     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
427     _object.setAccessLevelBrowse(accessLevelBrowse);
428     _object.setAccessLevelDelete(accessLevelDelete);
429     _object.setAccessLevelUpdate(accessLevelUpdate);
430     _object.setDisabled(disabled);
431     _object.setMultiplicity(multiplicity);
432     _object.setName(name);
433     _object.setQualifiedName(qualifiedName);
434     _object.setAbstract_(isAbstract);
435     _object.setVisibility(visibility);
436     _object.setType(type);
437     return _object;
438   }
439
440 // ----------------------------------------------------------------------------
441
// ClassProxy/ImplInstanceExtenderRequiredAttributes
442
// ----------------------------------------------------------------------------
443
public CollectionType extendContextCapable(
444       org.openmdx.base.cci.ContextCapable _base
445     , short accessLevelBrowse
446     , short accessLevelDelete
447     , short accessLevelUpdate
448     , boolean disabled
449     , short multiplicity
450     , String JavaDoc name
451     , String JavaDoc qualifiedName
452     , boolean isAbstract
453     , short visibility
454     , org.opencrx.kernel.model1.cci.Classifier type
455   ) {
456     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
457     _object.setAccessLevelBrowse(accessLevelBrowse);
458     _object.setAccessLevelDelete(accessLevelDelete);
459     _object.setAccessLevelUpdate(accessLevelUpdate);
460     _object.setDisabled(disabled);
461     _object.setMultiplicity(multiplicity);
462     _object.setName(name);
463     _object.setQualifiedName(qualifiedName);
464     _object.setAbstract_(isAbstract);
465     _object.setVisibility(visibility);
466     _object.setType(type);
467     return _object;
468   }
469
470 // ----------------------------------------------------------------------------
471
// ClassProxy/ImplInstanceExtenderRequiredAttributes
472
// ----------------------------------------------------------------------------
473
public CollectionType extendExtentCapable(
474       org.openmdx.base.cci.ExtentCapable _base
475     , short accessLevelBrowse
476     , short accessLevelDelete
477     , short accessLevelUpdate
478     , boolean disabled
479     , short multiplicity
480     , String JavaDoc name
481     , String JavaDoc qualifiedName
482     , boolean isAbstract
483     , short visibility
484     , org.opencrx.kernel.model1.cci.Classifier type
485   ) {
486     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
487     _object.setAccessLevelBrowse(accessLevelBrowse);
488     _object.setAccessLevelDelete(accessLevelDelete);
489     _object.setAccessLevelUpdate(accessLevelUpdate);
490     _object.setDisabled(disabled);
491     _object.setMultiplicity(multiplicity);
492     _object.setName(name);
493     _object.setQualifiedName(qualifiedName);
494     _object.setAbstract_(isAbstract);
495     _object.setVisibility(visibility);
496     _object.setType(type);
497     return _object;
498   }
499
500 // ----------------------------------------------------------------------------
501
// ClassProxy/ImplInstanceExtenderRequiredAttributes
502
// ----------------------------------------------------------------------------
503
public CollectionType extendViewCapable(
504       org.openmdx.compatibility.view1.cci.ViewCapable _base
505     , short accessLevelBrowse
506     , short accessLevelDelete
507     , short accessLevelUpdate
508     , boolean disabled
509     , short multiplicity
510     , String JavaDoc name
511     , String JavaDoc qualifiedName
512     , boolean isAbstract
513     , short visibility
514     , org.opencrx.kernel.model1.cci.Classifier type
515   ) {
516     CollectionTypeImpl _object = (CollectionTypeImpl)getCollectionType(_base);
517     _object.setAccessLevelBrowse(accessLevelBrowse);
518     _object.setAccessLevelDelete(accessLevelDelete);
519     _object.setAccessLevelUpdate(accessLevelUpdate);
520     _object.setDisabled(disabled);
521     _object.setMultiplicity(multiplicity);
522     _object.setName(name);
523     _object.setQualifiedName(qualifiedName);
524     _object.setAbstract_(isAbstract);
525     _object.setVisibility(visibility);
526     _object.setType(type);
527     return _object;
528   }
529
530 // ----------------------------------------------------------------------------
531
// ClassProxy/ImplEnd.vm
532
// ----------------------------------------------------------------------------
533
}
534
Popular Tags