KickJava   Java API By Example, From Geeks To Geeks.

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


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