KickJava   Java API By Example, From Geeks To Geeks.

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


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