KickJava   Java API By Example, From Geeks To Geeks.

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


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