KickJava   Java API By Example, From Geeks To Geeks.

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


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 EnumerationTypeClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements EnumerationTypeClass {
18
19   public EnumerationTypeClassImpl(
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:EnumerationType";
28   }
29
30   public EnumerationType getEnumerationType(
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         EnumerationType target = (EnumerationType)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (EnumerationType)((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 EnumerationType createEnumerationType(
55   ) {
56     EnumerationType target = (EnumerationType)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public EnumerationType createEnumerationType(
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   ) {
74     EnumerationTypeImpl _object = (EnumerationTypeImpl)createEnumerationType();
75     _object.setAccessLevelBrowse(accessLevelBrowse);
76     _object.setAccessLevelDelete(accessLevelDelete);
77     _object.setAccessLevelUpdate(accessLevelUpdate);
78     _object.setDisabled(disabled);
79     _object.setName(name);
80     _object.setQualifiedName(qualifiedName);
81     _object.setAbstract_(isAbstract);
82     _object.setVisibility(visibility);
83     return _object;
84   }
85
86 // ----------------------------------------------------------------------------
87
// ClassProxy/ImplInstanceExtenderRequiredAttributes
88
// ----------------------------------------------------------------------------
89
public EnumerationType extendAuditee(
90       org.opencrx.kernel.base.cci.Auditee _base
91     , short accessLevelBrowse
92     , short accessLevelDelete
93     , short accessLevelUpdate
94     , boolean disabled
95     , String JavaDoc name
96     , String JavaDoc qualifiedName
97     , boolean isAbstract
98     , short visibility
99   ) {
100     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
101     _object.setAccessLevelBrowse(accessLevelBrowse);
102     _object.setAccessLevelDelete(accessLevelDelete);
103     _object.setAccessLevelUpdate(accessLevelUpdate);
104     _object.setDisabled(disabled);
105     _object.setName(name);
106     _object.setQualifiedName(qualifiedName);
107     _object.setAbstract_(isAbstract);
108     _object.setVisibility(visibility);
109     return _object;
110   }
111
112 // ----------------------------------------------------------------------------
113
// ClassProxy/ImplInstanceExtenderRequiredAttributes
114
// ----------------------------------------------------------------------------
115
public EnumerationType extendBookmarkable(
116       org.opencrx.kernel.base.cci.Bookmarkable _base
117     , short accessLevelBrowse
118     , short accessLevelDelete
119     , short accessLevelUpdate
120     , boolean disabled
121     , String JavaDoc name
122     , String JavaDoc qualifiedName
123     , boolean isAbstract
124     , short visibility
125   ) {
126     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
127     _object.setAccessLevelBrowse(accessLevelBrowse);
128     _object.setAccessLevelDelete(accessLevelDelete);
129     _object.setAccessLevelUpdate(accessLevelUpdate);
130     _object.setDisabled(disabled);
131     _object.setName(name);
132     _object.setQualifiedName(qualifiedName);
133     _object.setAbstract_(isAbstract);
134     _object.setVisibility(visibility);
135     return _object;
136   }
137
138 // ----------------------------------------------------------------------------
139
// ClassProxy/ImplInstanceExtenderRequiredAttributes
140
// ----------------------------------------------------------------------------
141
public EnumerationType extendCloneable(
142       org.opencrx.kernel.base.cci.Cloneable _base
143     , short accessLevelBrowse
144     , short accessLevelDelete
145     , short accessLevelUpdate
146     , boolean disabled
147     , String JavaDoc name
148     , String JavaDoc qualifiedName
149     , boolean isAbstract
150     , short visibility
151   ) {
152     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
153     _object.setAccessLevelBrowse(accessLevelBrowse);
154     _object.setAccessLevelDelete(accessLevelDelete);
155     _object.setAccessLevelUpdate(accessLevelUpdate);
156     _object.setDisabled(disabled);
157     _object.setName(name);
158     _object.setQualifiedName(qualifiedName);
159     _object.setAbstract_(isAbstract);
160     _object.setVisibility(visibility);
161     return _object;
162   }
163
164 // ----------------------------------------------------------------------------
165
// ClassProxy/ImplInstanceExtenderRequiredAttributes
166
// ----------------------------------------------------------------------------
167
public EnumerationType extendImporter(
168       org.opencrx.kernel.base.cci.Importer _base
169     , short accessLevelBrowse
170     , short accessLevelDelete
171     , short accessLevelUpdate
172     , boolean disabled
173     , String JavaDoc name
174     , String JavaDoc qualifiedName
175     , boolean isAbstract
176     , short visibility
177   ) {
178     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
179     _object.setAccessLevelBrowse(accessLevelBrowse);
180     _object.setAccessLevelDelete(accessLevelDelete);
181     _object.setAccessLevelUpdate(accessLevelUpdate);
182     _object.setDisabled(disabled);
183     _object.setName(name);
184     _object.setQualifiedName(qualifiedName);
185     _object.setAbstract_(isAbstract);
186     _object.setVisibility(visibility);
187     return _object;
188   }
189
190 // ----------------------------------------------------------------------------
191
// ClassProxy/ImplInstanceExtenderRequiredAttributes
192
// ----------------------------------------------------------------------------
193
public EnumerationType extendSecureObject(
194       org.opencrx.kernel.base.cci.SecureObject _base
195     , boolean disabled
196     , String JavaDoc name
197     , String JavaDoc qualifiedName
198     , boolean isAbstract
199     , short visibility
200   ) {
201     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
202     _object.setDisabled(disabled);
203     _object.setName(name);
204     _object.setQualifiedName(qualifiedName);
205     _object.setAbstract_(isAbstract);
206     _object.setVisibility(visibility);
207     return _object;
208   }
209
210 // ----------------------------------------------------------------------------
211
// ClassProxy/ImplInstanceExtenderRequiredAttributes
212
// ----------------------------------------------------------------------------
213
public EnumerationType extendSubscriptionTarget(
214       org.opencrx.kernel.base.cci.SubscriptionTarget _base
215     , short accessLevelBrowse
216     , short accessLevelDelete
217     , short accessLevelUpdate
218     , boolean disabled
219     , String JavaDoc name
220     , String JavaDoc qualifiedName
221     , boolean isAbstract
222     , short visibility
223   ) {
224     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
225     _object.setAccessLevelBrowse(accessLevelBrowse);
226     _object.setAccessLevelDelete(accessLevelDelete);
227     _object.setAccessLevelUpdate(accessLevelUpdate);
228     _object.setDisabled(disabled);
229     _object.setName(name);
230     _object.setQualifiedName(qualifiedName);
231     _object.setAbstract_(isAbstract);
232     _object.setVisibility(visibility);
233     return _object;
234   }
235
236 // ----------------------------------------------------------------------------
237
// ClassProxy/ImplInstanceExtenderRequiredAttributes
238
// ----------------------------------------------------------------------------
239
public EnumerationType extendXmlExporter(
240       org.opencrx.kernel.base.cci.XmlExporter _base
241     , short accessLevelBrowse
242     , short accessLevelDelete
243     , short accessLevelUpdate
244     , boolean disabled
245     , String JavaDoc name
246     , String JavaDoc qualifiedName
247     , boolean isAbstract
248     , short visibility
249   ) {
250     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
251     _object.setAccessLevelBrowse(accessLevelBrowse);
252     _object.setAccessLevelDelete(accessLevelDelete);
253     _object.setAccessLevelUpdate(accessLevelUpdate);
254     _object.setDisabled(disabled);
255     _object.setName(name);
256     _object.setQualifiedName(qualifiedName);
257     _object.setAbstract_(isAbstract);
258     _object.setVisibility(visibility);
259     return _object;
260   }
261
262 // ----------------------------------------------------------------------------
263
// ClassProxy/ImplInstanceExtenderRequiredAttributes
264
// ----------------------------------------------------------------------------
265
public EnumerationType extendCrxObject(
266       org.opencrx.kernel.generic.cci.CrxObject _base
267     , String JavaDoc name
268     , String JavaDoc qualifiedName
269     , boolean isAbstract
270     , short visibility
271   ) {
272     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
273     _object.setName(name);
274     _object.setQualifiedName(qualifiedName);
275     _object.setAbstract_(isAbstract);
276     _object.setVisibility(visibility);
277     return _object;
278   }
279
280 // ----------------------------------------------------------------------------
281
// ClassProxy/ImplInstanceExtenderRequiredAttributes
282
// ----------------------------------------------------------------------------
283
public EnumerationType extendElement(
284       org.opencrx.kernel.model1.cci.Element _base
285     , boolean isAbstract
286     , short visibility
287   ) {
288     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
289     _object.setAbstract_(isAbstract);
290     _object.setVisibility(visibility);
291     return _object;
292   }
293
294 // ----------------------------------------------------------------------------
295
// ClassProxy/ImplInstanceExtenderRequiredAttributes
296
// ----------------------------------------------------------------------------
297
public EnumerationType extendNamespace(
298       org.opencrx.kernel.model1.cci.Namespace _base
299     , boolean isAbstract
300     , short visibility
301   ) {
302     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
303     _object.setAbstract_(isAbstract);
304     _object.setVisibility(visibility);
305     return _object;
306   }
307
308 // ----------------------------------------------------------------------------
309
// ClassProxy/ImplInstanceExtenderRequiredAttributes
310
// ----------------------------------------------------------------------------
311
public EnumerationType extendBasicObject(
312       org.openmdx.base.cci.BasicObject _base
313     , short accessLevelBrowse
314     , short accessLevelDelete
315     , short accessLevelUpdate
316     , boolean disabled
317     , String JavaDoc name
318     , String JavaDoc qualifiedName
319     , boolean isAbstract
320     , short visibility
321   ) {
322     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
323     _object.setAccessLevelBrowse(accessLevelBrowse);
324     _object.setAccessLevelDelete(accessLevelDelete);
325     _object.setAccessLevelUpdate(accessLevelUpdate);
326     _object.setDisabled(disabled);
327     _object.setName(name);
328     _object.setQualifiedName(qualifiedName);
329     _object.setAbstract_(isAbstract);
330     _object.setVisibility(visibility);
331     return _object;
332   }
333
334 // ----------------------------------------------------------------------------
335
// ClassProxy/ImplInstanceExtenderRequiredAttributes
336
// ----------------------------------------------------------------------------
337
public EnumerationType extendContextCapable(
338       org.openmdx.base.cci.ContextCapable _base
339     , short accessLevelBrowse
340     , short accessLevelDelete
341     , short accessLevelUpdate
342     , boolean disabled
343     , String JavaDoc name
344     , String JavaDoc qualifiedName
345     , boolean isAbstract
346     , short visibility
347   ) {
348     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
349     _object.setAccessLevelBrowse(accessLevelBrowse);
350     _object.setAccessLevelDelete(accessLevelDelete);
351     _object.setAccessLevelUpdate(accessLevelUpdate);
352     _object.setDisabled(disabled);
353     _object.setName(name);
354     _object.setQualifiedName(qualifiedName);
355     _object.setAbstract_(isAbstract);
356     _object.setVisibility(visibility);
357     return _object;
358   }
359
360 // ----------------------------------------------------------------------------
361
// ClassProxy/ImplInstanceExtenderRequiredAttributes
362
// ----------------------------------------------------------------------------
363
public EnumerationType extendExtentCapable(
364       org.openmdx.base.cci.ExtentCapable _base
365     , short accessLevelBrowse
366     , short accessLevelDelete
367     , short accessLevelUpdate
368     , boolean disabled
369     , String JavaDoc name
370     , String JavaDoc qualifiedName
371     , boolean isAbstract
372     , short visibility
373   ) {
374     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
375     _object.setAccessLevelBrowse(accessLevelBrowse);
376     _object.setAccessLevelDelete(accessLevelDelete);
377     _object.setAccessLevelUpdate(accessLevelUpdate);
378     _object.setDisabled(disabled);
379     _object.setName(name);
380     _object.setQualifiedName(qualifiedName);
381     _object.setAbstract_(isAbstract);
382     _object.setVisibility(visibility);
383     return _object;
384   }
385
386 // ----------------------------------------------------------------------------
387
// ClassProxy/ImplInstanceExtenderRequiredAttributes
388
// ----------------------------------------------------------------------------
389
public EnumerationType extendViewCapable(
390       org.openmdx.compatibility.view1.cci.ViewCapable _base
391     , short accessLevelBrowse
392     , short accessLevelDelete
393     , short accessLevelUpdate
394     , boolean disabled
395     , String JavaDoc name
396     , String JavaDoc qualifiedName
397     , boolean isAbstract
398     , short visibility
399   ) {
400     EnumerationTypeImpl _object = (EnumerationTypeImpl)getEnumerationType(_base);
401     _object.setAccessLevelBrowse(accessLevelBrowse);
402     _object.setAccessLevelDelete(accessLevelDelete);
403     _object.setAccessLevelUpdate(accessLevelUpdate);
404     _object.setDisabled(disabled);
405     _object.setName(name);
406     _object.setQualifiedName(qualifiedName);
407     _object.setAbstract_(isAbstract);
408     _object.setVisibility(visibility);
409     return _object;
410   }
411
412 // ----------------------------------------------------------------------------
413
// ClassProxy/ImplEnd.vm
414
// ----------------------------------------------------------------------------
415
}
416
Popular Tags