KickJava   Java API By Example, From Geeks To Geeks.

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


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