KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > mof > Model > AssociationEndPOA


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/AssociationEndPOA.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.1"
7 * from mof1.idl
8 * lundi 17 mars 2003 15 h 01 CET
9 */

10
11
12 // end of interface AssociationEndClass
13
public abstract class AssociationEndPOA extends org.omg.PortableServer.Servant JavaDoc
14  implements org.omg.mof.Model.AssociationEndOperations, org.omg.CORBA.portable.InvokeHandler JavaDoc
15 {
16
17   // Constructors
18

19   private static java.util.Hashtable JavaDoc _methods = new java.util.Hashtable JavaDoc ();
20   static
21   {
22     _methods.put ("is_navigable", new java.lang.Integer JavaDoc (0));
23     _methods.put ("set_is_navigable", new java.lang.Integer JavaDoc (1));
24     _methods.put ("aggregation", new java.lang.Integer JavaDoc (2));
25     _methods.put ("set_aggregation", new java.lang.Integer JavaDoc (3));
26     _methods.put ("multiplicity", new java.lang.Integer JavaDoc (4));
27     _methods.put ("set_multiplicity", new java.lang.Integer JavaDoc (5));
28     _methods.put ("is_changeable", new java.lang.Integer JavaDoc (6));
29     _methods.put ("set_is_changeable", new java.lang.Integer JavaDoc (7));
30     _methods.put ("other_end", new java.lang.Integer JavaDoc (8));
31     _methods.put ("_get_all_of_type_association_end", new java.lang.Integer JavaDoc (9));
32     _methods.put ("_get_all_of_class_association_end", new java.lang.Integer JavaDoc (10));
33     _methods.put ("create_association_end", new java.lang.Integer JavaDoc (11));
34     _methods.put ("_get_all_of_type_typed_element", new java.lang.Integer JavaDoc (12));
35     _methods.put ("_get_all_of_type_model_element", new java.lang.Integer JavaDoc (13));
36     _methods.put ("ref_is_instance_of", new java.lang.Integer JavaDoc (14));
37     _methods.put ("ref_create_instance", new java.lang.Integer JavaDoc (15));
38     _methods.put ("ref_all_objects", new java.lang.Integer JavaDoc (16));
39     _methods.put ("ref_set_value", new java.lang.Integer JavaDoc (17));
40     _methods.put ("ref_value", new java.lang.Integer JavaDoc (18));
41     _methods.put ("ref_unset_value", new java.lang.Integer JavaDoc (19));
42     _methods.put ("ref_add_value", new java.lang.Integer JavaDoc (20));
43     _methods.put ("ref_add_value_before", new java.lang.Integer JavaDoc (21));
44     _methods.put ("ref_add_value_at", new java.lang.Integer JavaDoc (22));
45     _methods.put ("ref_modify_value", new java.lang.Integer JavaDoc (23));
46     _methods.put ("ref_modify_value_at", new java.lang.Integer JavaDoc (24));
47     _methods.put ("ref_remove_value", new java.lang.Integer JavaDoc (25));
48     _methods.put ("ref_remove_value_at", new java.lang.Integer JavaDoc (26));
49     _methods.put ("ref_immediate_composite", new java.lang.Integer JavaDoc (27));
50     _methods.put ("ref_outermost_composite", new java.lang.Integer JavaDoc (28));
51     _methods.put ("ref_invoke_operation", new java.lang.Integer JavaDoc (29));
52     _methods.put ("ref_mof_id", new java.lang.Integer JavaDoc (30));
53     _methods.put ("ref_meta_object", new java.lang.Integer JavaDoc (31));
54     _methods.put ("ref_itself", new java.lang.Integer JavaDoc (32));
55     _methods.put ("ref_immediate_package", new java.lang.Integer JavaDoc (33));
56     _methods.put ("ref_outermost_package", new java.lang.Integer JavaDoc (34));
57     _methods.put ("ref_delete", new java.lang.Integer JavaDoc (35));
58     _methods.put ("name", new java.lang.Integer JavaDoc (36));
59     _methods.put ("set_name", new java.lang.Integer JavaDoc (37));
60     _methods.put ("annotation", new java.lang.Integer JavaDoc (38));
61     _methods.put ("set_annotation", new java.lang.Integer JavaDoc (39));
62     _methods.put ("qualified_name", new java.lang.Integer JavaDoc (40));
63     _methods.put ("container", new java.lang.Integer JavaDoc (41));
64     _methods.put ("set_container", new java.lang.Integer JavaDoc (42));
65     _methods.put ("unset_container", new java.lang.Integer JavaDoc (43));
66     _methods.put ("required_elements", new java.lang.Integer JavaDoc (44));
67     _methods.put ("set_required_elements", new java.lang.Integer JavaDoc (45));
68     _methods.put ("add_required_elements", new java.lang.Integer JavaDoc (46));
69     _methods.put ("modify_required_elements", new java.lang.Integer JavaDoc (47));
70     _methods.put ("remove_required_elements", new java.lang.Integer JavaDoc (48));
71     _methods.put ("constraints", new java.lang.Integer JavaDoc (49));
72     _methods.put ("set_constraints", new java.lang.Integer JavaDoc (50));
73     _methods.put ("add_constraints", new java.lang.Integer JavaDoc (51));
74     _methods.put ("modify_constraints", new java.lang.Integer JavaDoc (52));
75     _methods.put ("remove_constraints", new java.lang.Integer JavaDoc (53));
76     _methods.put ("type", new java.lang.Integer JavaDoc (54));
77     _methods.put ("set_type", new java.lang.Integer JavaDoc (55));
78   }
79
80   public org.omg.CORBA.portable.OutputStream JavaDoc _invoke (String JavaDoc $method,
81                                 org.omg.CORBA.portable.InputStream JavaDoc in,
82                                 org.omg.CORBA.portable.ResponseHandler JavaDoc $rh)
83   {
84     org.omg.CORBA.portable.OutputStream JavaDoc out = null;
85     java.lang.Integer JavaDoc __method = (java.lang.Integer JavaDoc)_methods.get ($method);
86     if (__method == null)
87       throw new org.omg.CORBA.BAD_OPERATION JavaDoc (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
88
89     switch (__method.intValue ())
90     {
91
92   //
93
case 0: // org/omg/mof/Model/AssociationEnd/is_navigable
94
{
95          try {
96            boolean $result = false;
97            $result = this.is_navigable ();
98            out = $rh.createReply();
99            out.write_boolean ($result);
100          } catch (org.omg.mof.Reflective.MofError $ex) {
101            out = $rh.createExceptionReply ();
102            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
103          }
104          break;
105        }
106
107        case 1: // org/omg/mof/Model/AssociationEnd/set_is_navigable
108
{
109          try {
110            boolean new_value = in.read_boolean ();
111            this.set_is_navigable (new_value);
112            out = $rh.createReply();
113          } catch (org.omg.mof.Reflective.MofError $ex) {
114            out = $rh.createExceptionReply ();
115            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
116          }
117          break;
118        }
119
120
121   //
122
case 2: // org/omg/mof/Model/AssociationEnd/aggregation
123
{
124          try {
125            org.omg.mof.Model.AggregationKind $result = null;
126            $result = this.aggregation ();
127            out = $rh.createReply();
128            org.omg.mof.Model.AggregationKindHelper.write (out, $result);
129          } catch (org.omg.mof.Reflective.MofError $ex) {
130            out = $rh.createExceptionReply ();
131            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
132          }
133          break;
134        }
135
136        case 3: // org/omg/mof/Model/AssociationEnd/set_aggregation
137
{
138          try {
139            org.omg.mof.Model.AggregationKind new_value = org.omg.mof.Model.AggregationKindHelper.read (in);
140            this.set_aggregation (new_value);
141            out = $rh.createReply();
142          } catch (org.omg.mof.Reflective.MofError $ex) {
143            out = $rh.createExceptionReply ();
144            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
145          }
146          break;
147        }
148
149
150   //
151
case 4: // org/omg/mof/Model/AssociationEnd/multiplicity
152
{
153          try {
154            org.omg.mof.Model.MultiplicityType $result = null;
155            $result = this.multiplicity ();
156            out = $rh.createReply();
157            org.omg.mof.Model.MultiplicityTypeHelper.write (out, $result);
158          } catch (org.omg.mof.Reflective.MofError $ex) {
159            out = $rh.createExceptionReply ();
160            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
161          }
162          break;
163        }
164
165        case 5: // org/omg/mof/Model/AssociationEnd/set_multiplicity
166
{
167          try {
168            org.omg.mof.Model.MultiplicityType new_value = org.omg.mof.Model.MultiplicityTypeHelper.read (in);
169            this.set_multiplicity (new_value);
170            out = $rh.createReply();
171          } catch (org.omg.mof.Reflective.MofError $ex) {
172            out = $rh.createExceptionReply ();
173            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
174          }
175          break;
176        }
177
178
179   //
180
case 6: // org/omg/mof/Model/AssociationEnd/is_changeable
181
{
182          try {
183            boolean $result = false;
184            $result = this.is_changeable ();
185            out = $rh.createReply();
186            out.write_boolean ($result);
187          } catch (org.omg.mof.Reflective.MofError $ex) {
188            out = $rh.createExceptionReply ();
189            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
190          }
191          break;
192        }
193
194        case 7: // org/omg/mof/Model/AssociationEnd/set_is_changeable
195
{
196          try {
197            boolean new_value = in.read_boolean ();
198            this.set_is_changeable (new_value);
199            out = $rh.createReply();
200          } catch (org.omg.mof.Reflective.MofError $ex) {
201            out = $rh.createExceptionReply ();
202            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
203          }
204          break;
205        }
206
207
208   //
209
case 8: // org/omg/mof/Model/AssociationEnd/other_end
210
{
211          try {
212            org.omg.mof.Model.AssociationEnd $result = null;
213            $result = this.other_end ();
214            out = $rh.createReply();
215            org.omg.mof.Model.AssociationEndHelper.write (out, $result);
216          } catch (org.omg.mof.Reflective.MofError $ex) {
217            out = $rh.createExceptionReply ();
218            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
219          }
220          break;
221        }
222
223        case 9: // org/omg/mof/Model/AssociationEndClass/_get_all_of_type_association_end
224
{
225          org.omg.mof.Model.AssociationEnd $result[] = null;
226          $result = this.all_of_type_association_end ();
227          out = $rh.createReply();
228          org.omg.mof.Model.AssociationEndSetHelper.write (out, $result);
229          break;
230        }
231
232        case 10: // org/omg/mof/Model/AssociationEndClass/_get_all_of_class_association_end
233
{
234          org.omg.mof.Model.AssociationEnd $result[] = null;
235          $result = this.all_of_class_association_end ();
236          out = $rh.createReply();
237          org.omg.mof.Model.AssociationEndSetHelper.write (out, $result);
238          break;
239        }
240
241        case 11: // org/omg/mof/Model/AssociationEndClass/create_association_end
242
{
243          try {
244            String JavaDoc name = in.read_string ();
245            String JavaDoc annotation = in.read_string ();
246            boolean is_navigable = in.read_boolean ();
247            org.omg.mof.Model.AggregationKind aggregation = org.omg.mof.Model.AggregationKindHelper.read (in);
248            org.omg.mof.Model.MultiplicityType multiplicity = org.omg.mof.Model.MultiplicityTypeHelper.read (in);
249            boolean is_changeable = in.read_boolean ();
250            org.omg.mof.Model.AssociationEnd $result = null;
251            $result = this.create_association_end (name, annotation, is_navigable, aggregation, multiplicity, is_changeable);
252            out = $rh.createReply();
253            org.omg.mof.Model.AssociationEndHelper.write (out, $result);
254          } catch (org.omg.mof.Reflective.MofError $ex) {
255            out = $rh.createExceptionReply ();
256            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
257          }
258          break;
259        }
260
261        case 12: // org/omg/mof/Model/TypedElementClass/_get_all_of_type_typed_element
262
{
263          org.omg.mof.Model.TypedElement $result[] = null;
264          $result = this.all_of_type_typed_element ();
265          out = $rh.createReply();
266          org.omg.mof.Model.TypedElementSetHelper.write (out, $result);
267          break;
268        }
269
270        case 13: // org/omg/mof/Model/ModelElementClass/_get_all_of_type_model_element
271
{
272          org.omg.mof.Model.ModelElement $result[] = null;
273          $result = this.all_of_type_model_element ();
274          out = $rh.createReply();
275          org.omg.mof.Model.ModelElementSetHelper.write (out, $result);
276          break;
277        }
278
279        case 14: // org/omg/mof/Reflective/RefObject/ref_is_instance_of
280
{
281          org.omg.mof.Reflective.RefObject some_class = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
282          boolean consider_subtypes = in.read_boolean ();
283          boolean $result = false;
284          $result = this.ref_is_instance_of (some_class, consider_subtypes);
285          out = $rh.createReply();
286          out.write_boolean ($result);
287          break;
288        }
289
290        case 15: // org/omg/mof/Reflective/RefObject/ref_create_instance
291
{
292          try {
293            org.omg.CORBA.Any JavaDoc args[] = org.omg.mof.Reflective.ValueTypeListHelper.read (in);
294            org.omg.mof.Reflective.RefObject $result = null;
295            $result = this.ref_create_instance (args);
296            out = $rh.createReply();
297            org.omg.mof.Reflective.RefObjectHelper.write (out, $result);
298          } catch (org.omg.mof.Reflective.MofError $ex) {
299            out = $rh.createExceptionReply ();
300            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
301          }
302          break;
303        }
304
305        case 16: // org/omg/mof/Reflective/RefObject/ref_all_objects
306
{
307          boolean include_subtypes = in.read_boolean ();
308          org.omg.mof.Reflective.RefObject $result[] = null;
309          $result = this.ref_all_objects (include_subtypes);
310          out = $rh.createReply();
311          org.omg.mof.Reflective.RefObjectSetHelper.write (out, $result);
312          break;
313        }
314
315        case 17: // org/omg/mof/Reflective/RefObject/ref_set_value
316
{
317          try {
318            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
319            org.omg.CORBA.Any JavaDoc new_value = org.omg.mof.Reflective._ValueTypeHelper.read (in);
320            this.ref_set_value (feature, new_value);
321            out = $rh.createReply();
322          } catch (org.omg.mof.Reflective.MofError $ex) {
323            out = $rh.createExceptionReply ();
324            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
325          }
326          break;
327        }
328
329        case 18: // org/omg/mof/Reflective/RefObject/ref_value
330
{
331          try {
332            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
333            org.omg.CORBA.Any JavaDoc $result = null;
334            $result = this.ref_value (feature);
335            out = $rh.createReply();
336            out.write_any ($result);
337          } catch (org.omg.mof.Reflective.NotSet $ex) {
338            out = $rh.createExceptionReply ();
339            org.omg.mof.Reflective.NotSetHelper.write (out, $ex);
340          } catch (org.omg.mof.Reflective.MofError $ex) {
341            out = $rh.createExceptionReply ();
342            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
343          }
344          break;
345        }
346
347        case 19: // org/omg/mof/Reflective/RefObject/ref_unset_value
348
{
349          try {
350            this.ref_unset_value ();
351            out = $rh.createReply();
352          } catch (org.omg.mof.Reflective.MofError $ex) {
353            out = $rh.createExceptionReply ();
354            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
355          }
356          break;
357        }
358
359        case 20: // org/omg/mof/Reflective/RefObject/ref_add_value
360
{
361          try {
362            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
363            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
364            this.ref_add_value (feature, new_element);
365            out = $rh.createReply();
366          } catch (org.omg.mof.Reflective.MofError $ex) {
367            out = $rh.createExceptionReply ();
368            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
369          }
370          break;
371        }
372
373        case 21: // org/omg/mof/Reflective/RefObject/ref_add_value_before
374
{
375          try {
376            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
377            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
378            org.omg.CORBA.Any JavaDoc before_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
379            this.ref_add_value_before (feature, new_element, before_element);
380            out = $rh.createReply();
381          } catch (org.omg.mof.Reflective.NotFound $ex) {
382            out = $rh.createExceptionReply ();
383            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
384          } catch (org.omg.mof.Reflective.MofError $ex) {
385            out = $rh.createExceptionReply ();
386            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
387          }
388          break;
389        }
390
391        case 22: // org/omg/mof/Reflective/RefObject/ref_add_value_at
392
{
393          try {
394            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
395            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
396            int position = in.read_ulong ();
397            this.ref_add_value_at (feature, new_element, position);
398            out = $rh.createReply();
399          } catch (org.omg.mof.Reflective.BadPosition $ex) {
400            out = $rh.createExceptionReply ();
401            org.omg.mof.Reflective.BadPositionHelper.write (out, $ex);
402          } catch (org.omg.mof.Reflective.MofError $ex) {
403            out = $rh.createExceptionReply ();
404            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
405          }
406          break;
407        }
408
409        case 23: // org/omg/mof/Reflective/RefObject/ref_modify_value
410
{
411          try {
412            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
413            org.omg.CORBA.Any JavaDoc old_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
414            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
415            this.ref_modify_value (feature, old_element, new_element);
416            out = $rh.createReply();
417          } catch (org.omg.mof.Reflective.NotFound $ex) {
418            out = $rh.createExceptionReply ();
419            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
420          } catch (org.omg.mof.Reflective.MofError $ex) {
421            out = $rh.createExceptionReply ();
422            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
423          }
424          break;
425        }
426
427        case 24: // org/omg/mof/Reflective/RefObject/ref_modify_value_at
428
{
429          try {
430            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
431            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
432            int position = in.read_ulong ();
433            this.ref_modify_value_at (feature, new_element, position);
434            out = $rh.createReply();
435          } catch (org.omg.mof.Reflective.BadPosition $ex) {
436            out = $rh.createExceptionReply ();
437            org.omg.mof.Reflective.BadPositionHelper.write (out, $ex);
438          } catch (org.omg.mof.Reflective.MofError $ex) {
439            out = $rh.createExceptionReply ();
440            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
441          }
442          break;
443        }
444
445        case 25: // org/omg/mof/Reflective/RefObject/ref_remove_value
446
{
447          try {
448            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
449            org.omg.CORBA.Any JavaDoc existing_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
450            this.ref_remove_value (feature, existing_element);
451            out = $rh.createReply();
452          } catch (org.omg.mof.Reflective.NotFound $ex) {
453            out = $rh.createExceptionReply ();
454            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
455          } catch (org.omg.mof.Reflective.MofError $ex) {
456            out = $rh.createExceptionReply ();
457            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
458          }
459          break;
460        }
461
462        case 26: // org/omg/mof/Reflective/RefObject/ref_remove_value_at
463
{
464          try {
465            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
466            int position = in.read_ulong ();
467            this.ref_remove_value_at (feature, position);
468            out = $rh.createReply();
469          } catch (org.omg.mof.Reflective.BadPosition $ex) {
470            out = $rh.createExceptionReply ();
471            org.omg.mof.Reflective.BadPositionHelper.write (out, $ex);
472          } catch (org.omg.mof.Reflective.MofError $ex) {
473            out = $rh.createExceptionReply ();
474            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
475          }
476          break;
477        }
478
479        case 27: // org/omg/mof/Reflective/RefObject/ref_immediate_composite
480
{
481          org.omg.mof.Reflective.RefObject $result = null;
482          $result = this.ref_immediate_composite ();
483          out = $rh.createReply();
484          org.omg.mof.Reflective.RefObjectHelper.write (out, $result);
485          break;
486        }
487
488        case 28: // org/omg/mof/Reflective/RefObject/ref_outermost_composite
489
{
490          org.omg.mof.Reflective.RefObject $result = null;
491          $result = this.ref_outermost_composite ();
492          out = $rh.createReply();
493          org.omg.mof.Reflective.RefObjectHelper.write (out, $result);
494          break;
495        }
496
497        case 29: // org/omg/mof/Reflective/RefObject/ref_invoke_operation
498
{
499          try {
500            org.omg.mof.Reflective.RefObject requested_operation = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
501            org.omg.mof.Reflective.ValueTypeListHolder args = new org.omg.mof.Reflective.ValueTypeListHolder ();
502            args.value = org.omg.mof.Reflective.ValueTypeListHelper.read (in);
503            org.omg.CORBA.Any JavaDoc $result = null;
504            $result = this.ref_invoke_operation (requested_operation, args);
505            out = $rh.createReply();
506            out.write_any ($result);
507            org.omg.mof.Reflective.ValueTypeListHelper.write (out, args.value);
508          } catch (org.omg.mof.Reflective.OtherException $ex) {
509            out = $rh.createExceptionReply ();
510            org.omg.mof.Reflective.OtherExceptionHelper.write (out, $ex);
511          } catch (org.omg.mof.Reflective.MofError $ex) {
512            out = $rh.createExceptionReply ();
513            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
514          }
515          break;
516        }
517
518        case 30: // org/omg/mof/Reflective/RefBaseObject/ref_mof_id
519
{
520          String JavaDoc $result = null;
521          $result = this.ref_mof_id ();
522          out = $rh.createReply();
523          out.write_string ($result);
524          break;
525        }
526
527        case 31: // org/omg/mof/Reflective/RefBaseObject/ref_meta_object
528
{
529          org.omg.mof.Reflective.RefObject $result = null;
530          $result = this.ref_meta_object ();
531          out = $rh.createReply();
532          org.omg.mof.Reflective.RefObjectHelper.write (out, $result);
533          break;
534        }
535
536        case 32: // org/omg/mof/Reflective/RefBaseObject/ref_itself
537
{
538          org.omg.mof.Reflective.RefBaseObject other_object = org.omg.mof.Reflective.RefBaseObjectHelper.read (in);
539          boolean $result = false;
540          $result = this.ref_itself (other_object);
541          out = $rh.createReply();
542          out.write_boolean ($result);
543          break;
544        }
545
546        case 33: // org/omg/mof/Reflective/RefBaseObject/ref_immediate_package
547
{
548          org.omg.mof.Reflective._RefPackage $result = null;
549          $result = this.ref_immediate_package ();
550          out = $rh.createReply();
551          org.omg.mof.Reflective._RefPackageHelper.write (out, $result);
552          break;
553        }
554
555        case 34: // org/omg/mof/Reflective/RefBaseObject/ref_outermost_package
556
{
557          org.omg.mof.Reflective._RefPackage $result = null;
558          $result = this.ref_outermost_package ();
559          out = $rh.createReply();
560          org.omg.mof.Reflective._RefPackageHelper.write (out, $result);
561          break;
562        }
563
564        case 35: // org/omg/mof/Reflective/RefBaseObject/ref_delete
565
{
566          try {
567            this.ref_delete ();
568            out = $rh.createReply();
569          } catch (org.omg.mof.Reflective.MofError $ex) {
570            out = $rh.createExceptionReply ();
571            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
572          }
573          break;
574        }
575
576
577   //
578
case 36: // org/omg/mof/Model/ModelElement/name
579
{
580          try {
581            String JavaDoc $result = null;
582            $result = this.name ();
583            out = $rh.createReply();
584            out.write_string ($result);
585          } catch (org.omg.mof.Reflective.MofError $ex) {
586            out = $rh.createExceptionReply ();
587            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
588          }
589          break;
590        }
591
592        case 37: // org/omg/mof/Model/ModelElement/set_name
593
{
594          try {
595            String JavaDoc new_value = in.read_string ();
596            this.set_name (new_value);
597            out = $rh.createReply();
598          } catch (org.omg.mof.Reflective.MofError $ex) {
599            out = $rh.createExceptionReply ();
600            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
601          }
602          break;
603        }
604
605
606   //
607
case 38: // org/omg/mof/Model/ModelElement/annotation
608
{
609          try {
610            String JavaDoc $result = null;
611            $result = this.annotation ();
612            out = $rh.createReply();
613            out.write_string ($result);
614          } catch (org.omg.mof.Reflective.MofError $ex) {
615            out = $rh.createExceptionReply ();
616            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
617          }
618          break;
619        }
620
621        case 39: // org/omg/mof/Model/ModelElement/set_annotation
622
{
623          try {
624            String JavaDoc new_value = in.read_string ();
625            this.set_annotation (new_value);
626            out = $rh.createReply();
627          } catch (org.omg.mof.Reflective.MofError $ex) {
628            out = $rh.createExceptionReply ();
629            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
630          }
631          break;
632        }
633
634
635   //
636
case 40: // org/omg/mof/Model/ModelElement/qualified_name
637
{
638          try {
639            String JavaDoc $result[] = null;
640            $result = this.qualified_name ();
641            out = $rh.createReply();
642            org.omg.mof.Model.StringListHelper.write (out, $result);
643          } catch (org.omg.mof.Reflective.MofError $ex) {
644            out = $rh.createExceptionReply ();
645            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
646          }
647          break;
648        }
649
650
651   //
652
case 41: // org/omg/mof/Model/ModelElement/container
653
{
654          try {
655            org.omg.mof.Model.Namespace $result = null;
656            $result = this.container ();
657            out = $rh.createReply();
658            org.omg.mof.Model.NamespaceHelper.write (out, $result);
659          } catch (org.omg.mof.Reflective.NotSet $ex) {
660            out = $rh.createExceptionReply ();
661            org.omg.mof.Reflective.NotSetHelper.write (out, $ex);
662          } catch (org.omg.mof.Reflective.MofError $ex) {
663            out = $rh.createExceptionReply ();
664            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
665          }
666          break;
667        }
668
669        case 42: // org/omg/mof/Model/ModelElement/set_container
670
{
671          try {
672            org.omg.mof.Model.Namespace new_value = org.omg.mof.Model.NamespaceHelper.read (in);
673            this.set_container (new_value);
674            out = $rh.createReply();
675          } catch (org.omg.mof.Reflective.MofError $ex) {
676            out = $rh.createExceptionReply ();
677            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
678          }
679          break;
680        }
681
682        case 43: // org/omg/mof/Model/ModelElement/unset_container
683
{
684          try {
685            this.unset_container ();
686            out = $rh.createReply();
687          } catch (org.omg.mof.Reflective.MofError $ex) {
688            out = $rh.createExceptionReply ();
689            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
690          }
691          break;
692        }
693
694
695   //
696
case 44: // org/omg/mof/Model/ModelElement/required_elements
697
{
698          try {
699            org.omg.mof.Model.ModelElement $result[] = null;
700            $result = this.required_elements ();
701            out = $rh.createReply();
702            org.omg.mof.Model.ModelElementBagHelper.write (out, $result);
703          } catch (org.omg.mof.Reflective.MofError $ex) {
704            out = $rh.createExceptionReply ();
705            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
706          }
707          break;
708        }
709
710        case 45: // org/omg/mof/Model/ModelElement/set_required_elements
711
{
712          try {
713            org.omg.mof.Model.ModelElement new_value[] = org.omg.mof.Model.ModelElementBagHelper.read (in);
714            this.set_required_elements (new_value);
715            out = $rh.createReply();
716          } catch (org.omg.mof.Reflective.MofError $ex) {
717            out = $rh.createExceptionReply ();
718            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
719          }
720          break;
721        }
722
723        case 46: // org/omg/mof/Model/ModelElement/add_required_elements
724
{
725          try {
726            org.omg.mof.Model.ModelElement new_element = org.omg.mof.Model.ModelElementHelper.read (in);
727            this.add_required_elements (new_element);
728            out = $rh.createReply();
729          } catch (org.omg.mof.Reflective.MofError $ex) {
730            out = $rh.createExceptionReply ();
731            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
732          }
733          break;
734        }
735
736        case 47: // org/omg/mof/Model/ModelElement/modify_required_elements
737
{
738          try {
739            org.omg.mof.Model.ModelElement old_element = org.omg.mof.Model.ModelElementHelper.read (in);
740            org.omg.mof.Model.ModelElement new_element = org.omg.mof.Model.ModelElementHelper.read (in);
741            this.modify_required_elements (old_element, new_element);
742            out = $rh.createReply();
743          } catch (org.omg.mof.Reflective.NotFound $ex) {
744            out = $rh.createExceptionReply ();
745            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
746          } catch (org.omg.mof.Reflective.MofError $ex) {
747            out = $rh.createExceptionReply ();
748            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
749          }
750          break;
751        }
752
753        case 48: // org/omg/mof/Model/ModelElement/remove_required_elements
754
{
755          try {
756            org.omg.mof.Model.ModelElement old_element = org.omg.mof.Model.ModelElementHelper.read (in);
757            this.remove_required_elements (old_element);
758            out = $rh.createReply();
759          } catch (org.omg.mof.Reflective.NotFound $ex) {
760            out = $rh.createExceptionReply ();
761            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
762          } catch (org.omg.mof.Reflective.MofError $ex) {
763            out = $rh.createExceptionReply ();
764            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
765          }
766          break;
767        }
768
769
770   //
771
case 49: // org/omg/mof/Model/ModelElement/constraints
772
{
773          try {
774            org.omg.mof.Model.Constraint $result[] = null;
775            $result = this.constraints ();
776            out = $rh.createReply();
777            org.omg.mof.Model.ConstraintBagHelper.write (out, $result);
778          } catch (org.omg.mof.Reflective.MofError $ex) {
779            out = $rh.createExceptionReply ();
780            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
781          }
782          break;
783        }
784
785        case 50: // org/omg/mof/Model/ModelElement/set_constraints
786
{
787          try {
788            org.omg.mof.Model.Constraint new_value[] = org.omg.mof.Model.ConstraintBagHelper.read (in);
789            this.set_constraints (new_value);
790            out = $rh.createReply();
791          } catch (org.omg.mof.Reflective.MofError $ex) {
792            out = $rh.createExceptionReply ();
793            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
794          }
795          break;
796        }
797
798        case 51: // org/omg/mof/Model/ModelElement/add_constraints
799
{
800          try {
801            org.omg.mof.Model.Constraint new_element = org.omg.mof.Model.ConstraintHelper.read (in);
802            this.add_constraints (new_element);
803            out = $rh.createReply();
804          } catch (org.omg.mof.Reflective.MofError $ex) {
805            out = $rh.createExceptionReply ();
806            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
807          }
808          break;
809        }
810
811        case 52: // org/omg/mof/Model/ModelElement/modify_constraints
812
{
813          try {
814            org.omg.mof.Model.Constraint old_element = org.omg.mof.Model.ConstraintHelper.read (in);
815            org.omg.mof.Model.Constraint new_element = org.omg.mof.Model.ConstraintHelper.read (in);
816            this.modify_constraints (old_element, new_element);
817            out = $rh.createReply();
818          } catch (org.omg.mof.Reflective.NotFound $ex) {
819            out = $rh.createExceptionReply ();
820            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
821          } catch (org.omg.mof.Reflective.MofError $ex) {
822            out = $rh.createExceptionReply ();
823            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
824          }
825          break;
826        }
827
828        case 53: // org/omg/mof/Model/ModelElement/remove_constraints
829
{
830          try {
831            org.omg.mof.Model.Constraint old_element = org.omg.mof.Model.ConstraintHelper.read (in);
832            this.remove_constraints (old_element);
833            out = $rh.createReply();
834          } catch (org.omg.mof.Reflective.NotFound $ex) {
835            out = $rh.createExceptionReply ();
836            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
837          } catch (org.omg.mof.Reflective.MofError $ex) {
838            out = $rh.createExceptionReply ();
839            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
840          }
841          break;
842        }
843
844
845   //
846
case 54: // org/omg/mof/Model/TypedElement/type
847
{
848          try {
849            org.omg.mof.Model.Classifier $result = null;
850            $result = this.type ();
851            out = $rh.createReply();
852            org.omg.mof.Model.ClassifierHelper.write (out, $result);
853          } catch (org.omg.mof.Reflective.MofError $ex) {
854            out = $rh.createExceptionReply ();
855            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
856          }
857          break;
858        }
859
860        case 55: // org/omg/mof/Model/TypedElement/set_type
861
{
862          try {
863            org.omg.mof.Model.Classifier new_value = org.omg.mof.Model.ClassifierHelper.read (in);
864            this.set_type (new_value);
865            out = $rh.createReply();
866          } catch (org.omg.mof.Reflective.MofError $ex) {
867            out = $rh.createExceptionReply ();
868            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
869          }
870          break;
871        }
872
873        default:
874          throw new org.omg.CORBA.BAD_OPERATION JavaDoc (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
875     }
876
877     return out;
878   } // _invoke
879

880   // Type-specific CORBA::Object operations
881
private static String JavaDoc[] __ids = {
882     "IDL:org/omg/mof/Model/AssociationEnd:1.0",
883     "IDL:org/omg/mof/Model/AssociationEndClass:1.0",
884     "IDL:org/omg/mof/Model/TypedElementClass:1.0",
885     "IDL:org/omg/mof/Model/ModelElementClass:1.0",
886     "IDL:org/omg/mof/Reflective/RefObject:1.0",
887     "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
888     "IDL:org/omg/mof/Model/ModelElement:1.0",
889     "IDL:org/omg/mof/Model/TypedElement:1.0"};
890
891   public String JavaDoc[] _all_interfaces (org.omg.PortableServer.POA JavaDoc poa, byte[] objectId)
892   {
893     return (String JavaDoc[])__ids.clone ();
894   }
895
896   public AssociationEnd _this()
897   {
898     return AssociationEndHelper.narrow(
899     super._this_object());
900   }
901
902   public AssociationEnd _this(org.omg.CORBA.ORB JavaDoc orb)
903   {
904     return AssociationEndHelper.narrow(
905     super._this_object(orb));
906   }
907
908
909 } // class AssociationEndPOA
910
Popular Tags