KickJava   Java API By Example, From Geeks To Geeks.

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


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

886   // Type-specific CORBA::Object operations
887
private static String JavaDoc[] __ids = {
888     "IDL:org/omg/mof/Model/MofException:1.0",
889     "IDL:org/omg/mof/Model/MofExceptionClass:1.0",
890     "IDL:org/omg/mof/Model/BehavioralFeatureClass:1.0",
891     "IDL:org/omg/mof/Model/NamespaceClass:1.0",
892     "IDL:org/omg/mof/Model/ModelElementClass:1.0",
893     "IDL:org/omg/mof/Reflective/RefObject:1.0",
894     "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
895     "IDL:org/omg/mof/Model/FeatureClass:1.0",
896     "IDL:org/omg/mof/Model/ModelElement:1.0",
897     "IDL:org/omg/mof/Model/Namespace:1.0",
898     "IDL:org/omg/mof/Model/Feature:1.0",
899     "IDL:org/omg/mof/Model/BehavioralFeature:1.0"};
900
901   public String JavaDoc[] _all_interfaces (org.omg.PortableServer.POA JavaDoc poa, byte[] objectId)
902   {
903     return (String JavaDoc[])__ids.clone ();
904   }
905
906   public MofException _this()
907   {
908     return MofExceptionHelper.narrow(
909     super._this_object());
910   }
911
912   public MofException _this(org.omg.CORBA.ORB JavaDoc orb)
913   {
914     return MofExceptionHelper.narrow(
915     super._this_object(orb));
916   }
917
918
919 } // class MofExceptionPOA
920
Popular Tags