KickJava   Java API By Example, From Geeks To Geeks.

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


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

1024  // Type-specific CORBA::Object operations
1025
private static String JavaDoc[] __ids = {
1026    "IDL:org/omg/mof/Model/Classifier:1.0",
1027    "IDL:org/omg/mof/Model/ClassifierClass:1.0",
1028    "IDL:org/omg/mof/Model/GeneralizableElementClass:1.0",
1029    "IDL:org/omg/mof/Model/NamespaceClass:1.0",
1030    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1031    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1032    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1033    "IDL:org/omg/mof/Model/ModelElement:1.0",
1034    "IDL:org/omg/mof/Model/Namespace:1.0",
1035    "IDL:org/omg/mof/Model/GeneralizableElement:1.0"};
1036
1037  public String JavaDoc[] _all_interfaces (org.omg.PortableServer.POA JavaDoc poa, byte[] objectId)
1038  {
1039    return (String JavaDoc[])__ids.clone ();
1040  }
1041
1042  public Classifier _this()
1043  {
1044    return ClassifierHelper.narrow(
1045    super._this_object());
1046  }
1047
1048  public Classifier _this(org.omg.CORBA.ORB JavaDoc orb)
1049  {
1050    return ClassifierHelper.narrow(
1051    super._this_object(orb));
1052  }
1053
1054
1055} // class ClassifierPOA
1056
Popular Tags