KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/TagPOA.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 TagClass
13
public abstract class TagPOA extends org.omg.PortableServer.Servant JavaDoc
14  implements org.omg.mof.Model.TagOperations, 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 ("tag_id", new java.lang.Integer JavaDoc (0));
23     _methods.put ("set_tag_id", new java.lang.Integer JavaDoc (1));
24     _methods.put ("values", new java.lang.Integer JavaDoc (2));
25     _methods.put ("set_values", new java.lang.Integer JavaDoc (3));
26     _methods.put ("add_values", new java.lang.Integer JavaDoc (4));
27     _methods.put ("modify_values", new java.lang.Integer JavaDoc (5));
28     _methods.put ("remove_values", new java.lang.Integer JavaDoc (6));
29     _methods.put ("elements", new java.lang.Integer JavaDoc (7));
30     _methods.put ("set_elements", new java.lang.Integer JavaDoc (8));
31     _methods.put ("add_elements", new java.lang.Integer JavaDoc (9));
32     _methods.put ("modify_elements", new java.lang.Integer JavaDoc (10));
33     _methods.put ("remove_elements", new java.lang.Integer JavaDoc (11));
34     _methods.put ("_get_all_of_type_tag", new java.lang.Integer JavaDoc (12));
35     _methods.put ("_get_all_of_class_tag", new java.lang.Integer JavaDoc (13));
36     _methods.put ("create_tag", new java.lang.Integer JavaDoc (14));
37     _methods.put ("_get_all_of_type_model_element", new java.lang.Integer JavaDoc (15));
38     _methods.put ("ref_is_instance_of", new java.lang.Integer JavaDoc (16));
39     _methods.put ("ref_create_instance", new java.lang.Integer JavaDoc (17));
40     _methods.put ("ref_all_objects", new java.lang.Integer JavaDoc (18));
41     _methods.put ("ref_set_value", new java.lang.Integer JavaDoc (19));
42     _methods.put ("ref_value", new java.lang.Integer JavaDoc (20));
43     _methods.put ("ref_unset_value", new java.lang.Integer JavaDoc (21));
44     _methods.put ("ref_add_value", new java.lang.Integer JavaDoc (22));
45     _methods.put ("ref_add_value_before", new java.lang.Integer JavaDoc (23));
46     _methods.put ("ref_add_value_at", new java.lang.Integer JavaDoc (24));
47     _methods.put ("ref_modify_value", new java.lang.Integer JavaDoc (25));
48     _methods.put ("ref_modify_value_at", new java.lang.Integer JavaDoc (26));
49     _methods.put ("ref_remove_value", new java.lang.Integer JavaDoc (27));
50     _methods.put ("ref_remove_value_at", new java.lang.Integer JavaDoc (28));
51     _methods.put ("ref_immediate_composite", new java.lang.Integer JavaDoc (29));
52     _methods.put ("ref_outermost_composite", new java.lang.Integer JavaDoc (30));
53     _methods.put ("ref_invoke_operation", new java.lang.Integer JavaDoc (31));
54     _methods.put ("ref_mof_id", new java.lang.Integer JavaDoc (32));
55     _methods.put ("ref_meta_object", new java.lang.Integer JavaDoc (33));
56     _methods.put ("ref_itself", new java.lang.Integer JavaDoc (34));
57     _methods.put ("ref_immediate_package", new java.lang.Integer JavaDoc (35));
58     _methods.put ("ref_outermost_package", new java.lang.Integer JavaDoc (36));
59     _methods.put ("ref_delete", new java.lang.Integer JavaDoc (37));
60     _methods.put ("name", new java.lang.Integer JavaDoc (38));
61     _methods.put ("set_name", new java.lang.Integer JavaDoc (39));
62     _methods.put ("annotation", new java.lang.Integer JavaDoc (40));
63     _methods.put ("set_annotation", new java.lang.Integer JavaDoc (41));
64     _methods.put ("qualified_name", new java.lang.Integer JavaDoc (42));
65     _methods.put ("container", new java.lang.Integer JavaDoc (43));
66     _methods.put ("set_container", new java.lang.Integer JavaDoc (44));
67     _methods.put ("unset_container", new java.lang.Integer JavaDoc (45));
68     _methods.put ("required_elements", new java.lang.Integer JavaDoc (46));
69     _methods.put ("set_required_elements", new java.lang.Integer JavaDoc (47));
70     _methods.put ("add_required_elements", new java.lang.Integer JavaDoc (48));
71     _methods.put ("modify_required_elements", new java.lang.Integer JavaDoc (49));
72     _methods.put ("remove_required_elements", new java.lang.Integer JavaDoc (50));
73     _methods.put ("constraints", new java.lang.Integer JavaDoc (51));
74     _methods.put ("set_constraints", new java.lang.Integer JavaDoc (52));
75     _methods.put ("add_constraints", new java.lang.Integer JavaDoc (53));
76     _methods.put ("modify_constraints", new java.lang.Integer JavaDoc (54));
77     _methods.put ("remove_constraints", 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/Tag/tag_id
94
{
95          try {
96            String JavaDoc $result = null;
97            $result = this.tag_id ();
98            out = $rh.createReply();
99            out.write_string ($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/Tag/set_tag_id
108
{
109          try {
110            String JavaDoc new_value = in.read_string ();
111            this.set_tag_id (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/Tag/values
123
{
124          try {
125            org.omg.CORBA.Any JavaDoc $result[] = null;
126            $result = this.values ();
127            out = $rh.createReply();
128            org.omg.mof.Model.AnyBagHelper.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/Tag/set_values
137
{
138          try {
139            org.omg.CORBA.Any JavaDoc new_value[] = org.omg.mof.Model.AnyBagHelper.read (in);
140            this.set_values (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        case 4: // org/omg/mof/Model/Tag/add_values
150
{
151          try {
152            org.omg.CORBA.Any JavaDoc new_element = in.read_any ();
153            this.add_values (new_element);
154            out = $rh.createReply();
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 5: // org/omg/mof/Model/Tag/modify_values
163
{
164          try {
165            org.omg.CORBA.Any JavaDoc old_element = in.read_any ();
166            org.omg.CORBA.Any JavaDoc new_element = in.read_any ();
167            this.modify_values (old_element, new_element);
168            out = $rh.createReply();
169          } catch (org.omg.mof.Reflective.NotFound $ex) {
170            out = $rh.createExceptionReply ();
171            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
172          } catch (org.omg.mof.Reflective.MofError $ex) {
173            out = $rh.createExceptionReply ();
174            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
175          }
176          break;
177        }
178
179        case 6: // org/omg/mof/Model/Tag/remove_values
180
{
181          try {
182            org.omg.CORBA.Any JavaDoc old_element = in.read_any ();
183            this.remove_values (old_element);
184            out = $rh.createReply();
185          } catch (org.omg.mof.Reflective.NotFound $ex) {
186            out = $rh.createExceptionReply ();
187            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
188          } catch (org.omg.mof.Reflective.MofError $ex) {
189            out = $rh.createExceptionReply ();
190            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
191          }
192          break;
193        }
194
195
196   //
197
case 7: // org/omg/mof/Model/Tag/elements
198
{
199          try {
200            org.omg.mof.Model.ModelElement $result[] = null;
201            $result = this.elements ();
202            out = $rh.createReply();
203            org.omg.mof.Model.ModelElementBagHelper.write (out, $result);
204          } catch (org.omg.mof.Reflective.MofError $ex) {
205            out = $rh.createExceptionReply ();
206            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
207          }
208          break;
209        }
210
211        case 8: // org/omg/mof/Model/Tag/set_elements
212
{
213          try {
214            org.omg.mof.Model.ModelElement new_value[] = org.omg.mof.Model.ModelElementBagHelper.read (in);
215            this.set_elements (new_value);
216            out = $rh.createReply();
217          } catch (org.omg.mof.Reflective.MofError $ex) {
218            out = $rh.createExceptionReply ();
219            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
220          }
221          break;
222        }
223
224        case 9: // org/omg/mof/Model/Tag/add_elements
225
{
226          try {
227            org.omg.mof.Model.ModelElement new_element = org.omg.mof.Model.ModelElementHelper.read (in);
228            this.add_elements (new_element);
229            out = $rh.createReply();
230          } catch (org.omg.mof.Reflective.MofError $ex) {
231            out = $rh.createExceptionReply ();
232            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
233          }
234          break;
235        }
236
237        case 10: // org/omg/mof/Model/Tag/modify_elements
238
{
239          try {
240            org.omg.mof.Model.ModelElement old_element = org.omg.mof.Model.ModelElementHelper.read (in);
241            org.omg.mof.Model.ModelElement new_element = org.omg.mof.Model.ModelElementHelper.read (in);
242            this.modify_elements (old_element, new_element);
243            out = $rh.createReply();
244          } catch (org.omg.mof.Reflective.NotFound $ex) {
245            out = $rh.createExceptionReply ();
246            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
247          } catch (org.omg.mof.Reflective.MofError $ex) {
248            out = $rh.createExceptionReply ();
249            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
250          }
251          break;
252        }
253
254        case 11: // org/omg/mof/Model/Tag/remove_elements
255
{
256          try {
257            org.omg.mof.Model.ModelElement old_element = org.omg.mof.Model.ModelElementHelper.read (in);
258            this.remove_elements (old_element);
259            out = $rh.createReply();
260          } catch (org.omg.mof.Reflective.NotFound $ex) {
261            out = $rh.createExceptionReply ();
262            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
263          } catch (org.omg.mof.Reflective.MofError $ex) {
264            out = $rh.createExceptionReply ();
265            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
266          }
267          break;
268        }
269
270        case 12: // org/omg/mof/Model/TagClass/_get_all_of_type_tag
271
{
272          org.omg.mof.Model.Tag $result[] = null;
273          $result = this.all_of_type_tag ();
274          out = $rh.createReply();
275          org.omg.mof.Model.TagSetHelper.write (out, $result);
276          break;
277        }
278
279        case 13: // org/omg/mof/Model/TagClass/_get_all_of_class_tag
280
{
281          org.omg.mof.Model.Tag $result[] = null;
282          $result = this.all_of_class_tag ();
283          out = $rh.createReply();
284          org.omg.mof.Model.TagSetHelper.write (out, $result);
285          break;
286        }
287
288        case 14: // org/omg/mof/Model/TagClass/create_tag
289
{
290          try {
291            String JavaDoc name = in.read_string ();
292            String JavaDoc annotation = in.read_string ();
293            String JavaDoc tag_id = in.read_string ();
294            org.omg.CORBA.Any JavaDoc values[] = org.omg.mof.Model.AnyBagHelper.read (in);
295            org.omg.mof.Model.Tag $result = null;
296            $result = this.create_tag (name, annotation, tag_id, values);
297            out = $rh.createReply();
298            org.omg.mof.Model.TagHelper.write (out, $result);
299          } catch (org.omg.mof.Reflective.MofError $ex) {
300            out = $rh.createExceptionReply ();
301            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
302          }
303          break;
304        }
305
306        case 15: // org/omg/mof/Model/ModelElementClass/_get_all_of_type_model_element
307
{
308          org.omg.mof.Model.ModelElement $result[] = null;
309          $result = this.all_of_type_model_element ();
310          out = $rh.createReply();
311          org.omg.mof.Model.ModelElementSetHelper.write (out, $result);
312          break;
313        }
314
315        case 16: // org/omg/mof/Reflective/RefObject/ref_is_instance_of
316
{
317          org.omg.mof.Reflective.RefObject some_class = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
318          boolean consider_subtypes = in.read_boolean ();
319          boolean $result = false;
320          $result = this.ref_is_instance_of (some_class, consider_subtypes);
321          out = $rh.createReply();
322          out.write_boolean ($result);
323          break;
324        }
325
326        case 17: // org/omg/mof/Reflective/RefObject/ref_create_instance
327
{
328          try {
329            org.omg.CORBA.Any JavaDoc args[] = org.omg.mof.Reflective.ValueTypeListHelper.read (in);
330            org.omg.mof.Reflective.RefObject $result = null;
331            $result = this.ref_create_instance (args);
332            out = $rh.createReply();
333            org.omg.mof.Reflective.RefObjectHelper.write (out, $result);
334          } catch (org.omg.mof.Reflective.MofError $ex) {
335            out = $rh.createExceptionReply ();
336            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
337          }
338          break;
339        }
340
341        case 18: // org/omg/mof/Reflective/RefObject/ref_all_objects
342
{
343          boolean include_subtypes = in.read_boolean ();
344          org.omg.mof.Reflective.RefObject $result[] = null;
345          $result = this.ref_all_objects (include_subtypes);
346          out = $rh.createReply();
347          org.omg.mof.Reflective.RefObjectSetHelper.write (out, $result);
348          break;
349        }
350
351        case 19: // org/omg/mof/Reflective/RefObject/ref_set_value
352
{
353          try {
354            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
355            org.omg.CORBA.Any JavaDoc new_value = org.omg.mof.Reflective._ValueTypeHelper.read (in);
356            this.ref_set_value (feature, new_value);
357            out = $rh.createReply();
358          } catch (org.omg.mof.Reflective.MofError $ex) {
359            out = $rh.createExceptionReply ();
360            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
361          }
362          break;
363        }
364
365        case 20: // org/omg/mof/Reflective/RefObject/ref_value
366
{
367          try {
368            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
369            org.omg.CORBA.Any JavaDoc $result = null;
370            $result = this.ref_value (feature);
371            out = $rh.createReply();
372            out.write_any ($result);
373          } catch (org.omg.mof.Reflective.NotSet $ex) {
374            out = $rh.createExceptionReply ();
375            org.omg.mof.Reflective.NotSetHelper.write (out, $ex);
376          } catch (org.omg.mof.Reflective.MofError $ex) {
377            out = $rh.createExceptionReply ();
378            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
379          }
380          break;
381        }
382
383        case 21: // org/omg/mof/Reflective/RefObject/ref_unset_value
384
{
385          try {
386            this.ref_unset_value ();
387            out = $rh.createReply();
388          } catch (org.omg.mof.Reflective.MofError $ex) {
389            out = $rh.createExceptionReply ();
390            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
391          }
392          break;
393        }
394
395        case 22: // org/omg/mof/Reflective/RefObject/ref_add_value
396
{
397          try {
398            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
399            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
400            this.ref_add_value (feature, new_element);
401            out = $rh.createReply();
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_add_value_before
410
{
411          try {
412            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
413            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
414            org.omg.CORBA.Any JavaDoc before_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
415            this.ref_add_value_before (feature, new_element, before_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_add_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_add_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_modify_value
446
{
447          try {
448            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
449            org.omg.CORBA.Any JavaDoc old_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
450            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
451            this.ref_modify_value (feature, old_element, new_element);
452            out = $rh.createReply();
453          } catch (org.omg.mof.Reflective.NotFound $ex) {
454            out = $rh.createExceptionReply ();
455            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
456          } catch (org.omg.mof.Reflective.MofError $ex) {
457            out = $rh.createExceptionReply ();
458            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
459          }
460          break;
461        }
462
463        case 26: // org/omg/mof/Reflective/RefObject/ref_modify_value_at
464
{
465          try {
466            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
467            org.omg.CORBA.Any JavaDoc new_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
468            int position = in.read_ulong ();
469            this.ref_modify_value_at (feature, new_element, position);
470            out = $rh.createReply();
471          } catch (org.omg.mof.Reflective.BadPosition $ex) {
472            out = $rh.createExceptionReply ();
473            org.omg.mof.Reflective.BadPositionHelper.write (out, $ex);
474          } catch (org.omg.mof.Reflective.MofError $ex) {
475            out = $rh.createExceptionReply ();
476            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
477          }
478          break;
479        }
480
481        case 27: // org/omg/mof/Reflective/RefObject/ref_remove_value
482
{
483          try {
484            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
485            org.omg.CORBA.Any JavaDoc existing_element = org.omg.mof.Reflective._ValueTypeHelper.read (in);
486            this.ref_remove_value (feature, existing_element);
487            out = $rh.createReply();
488          } catch (org.omg.mof.Reflective.NotFound $ex) {
489            out = $rh.createExceptionReply ();
490            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
491          } catch (org.omg.mof.Reflective.MofError $ex) {
492            out = $rh.createExceptionReply ();
493            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
494          }
495          break;
496        }
497
498        case 28: // org/omg/mof/Reflective/RefObject/ref_remove_value_at
499
{
500          try {
501            org.omg.mof.Reflective.RefObject feature = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
502            int position = in.read_ulong ();
503            this.ref_remove_value_at (feature, position);
504            out = $rh.createReply();
505          } catch (org.omg.mof.Reflective.BadPosition $ex) {
506            out = $rh.createExceptionReply ();
507            org.omg.mof.Reflective.BadPositionHelper.write (out, $ex);
508          } catch (org.omg.mof.Reflective.MofError $ex) {
509            out = $rh.createExceptionReply ();
510            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
511          }
512          break;
513        }
514
515        case 29: // org/omg/mof/Reflective/RefObject/ref_immediate_composite
516
{
517          org.omg.mof.Reflective.RefObject $result = null;
518          $result = this.ref_immediate_composite ();
519          out = $rh.createReply();
520          org.omg.mof.Reflective.RefObjectHelper.write (out, $result);
521          break;
522        }
523
524        case 30: // org/omg/mof/Reflective/RefObject/ref_outermost_composite
525
{
526          org.omg.mof.Reflective.RefObject $result = null;
527          $result = this.ref_outermost_composite ();
528          out = $rh.createReply();
529          org.omg.mof.Reflective.RefObjectHelper.write (out, $result);
530          break;
531        }
532
533        case 31: // org/omg/mof/Reflective/RefObject/ref_invoke_operation
534
{
535          try {
536            org.omg.mof.Reflective.RefObject requested_operation = org.omg.mof.Reflective.DesignatorTypeHelper.read (in);
537            org.omg.mof.Reflective.ValueTypeListHolder args = new org.omg.mof.Reflective.ValueTypeListHolder ();
538            args.value = org.omg.mof.Reflective.ValueTypeListHelper.read (in);
539            org.omg.CORBA.Any JavaDoc $result = null;
540            $result = this.ref_invoke_operation (requested_operation, args);
541            out = $rh.createReply();
542            out.write_any ($result);
543            org.omg.mof.Reflective.ValueTypeListHelper.write (out, args.value);
544          } catch (org.omg.mof.Reflective.OtherException $ex) {
545            out = $rh.createExceptionReply ();
546            org.omg.mof.Reflective.OtherExceptionHelper.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 32: // org/omg/mof/Reflective/RefBaseObject/ref_mof_id
555
{
556          String JavaDoc $result = null;
557          $result = this.ref_mof_id ();
558          out = $rh.createReply();
559          out.write_string ($result);
560          break;
561        }
562
563        case 33: // org/omg/mof/Reflective/RefBaseObject/ref_meta_object
564
{
565          org.omg.mof.Reflective.RefObject $result = null;
566          $result = this.ref_meta_object ();
567          out = $rh.createReply();
568          org.omg.mof.Reflective.RefObjectHelper.write (out, $result);
569          break;
570        }
571
572        case 34: // org/omg/mof/Reflective/RefBaseObject/ref_itself
573
{
574          org.omg.mof.Reflective.RefBaseObject other_object = org.omg.mof.Reflective.RefBaseObjectHelper.read (in);
575          boolean $result = false;
576          $result = this.ref_itself (other_object);
577          out = $rh.createReply();
578          out.write_boolean ($result);
579          break;
580        }
581
582        case 35: // org/omg/mof/Reflective/RefBaseObject/ref_immediate_package
583
{
584          org.omg.mof.Reflective._RefPackage $result = null;
585          $result = this.ref_immediate_package ();
586          out = $rh.createReply();
587          org.omg.mof.Reflective._RefPackageHelper.write (out, $result);
588          break;
589        }
590
591        case 36: // org/omg/mof/Reflective/RefBaseObject/ref_outermost_package
592
{
593          org.omg.mof.Reflective._RefPackage $result = null;
594          $result = this.ref_outermost_package ();
595          out = $rh.createReply();
596          org.omg.mof.Reflective._RefPackageHelper.write (out, $result);
597          break;
598        }
599
600        case 37: // org/omg/mof/Reflective/RefBaseObject/ref_delete
601
{
602          try {
603            this.ref_delete ();
604            out = $rh.createReply();
605          } catch (org.omg.mof.Reflective.MofError $ex) {
606            out = $rh.createExceptionReply ();
607            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
608          }
609          break;
610        }
611
612
613   //
614
case 38: // org/omg/mof/Model/ModelElement/name
615
{
616          try {
617            String JavaDoc $result = null;
618            $result = this.name ();
619            out = $rh.createReply();
620            out.write_string ($result);
621          } catch (org.omg.mof.Reflective.MofError $ex) {
622            out = $rh.createExceptionReply ();
623            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
624          }
625          break;
626        }
627
628        case 39: // org/omg/mof/Model/ModelElement/set_name
629
{
630          try {
631            String JavaDoc new_value = in.read_string ();
632            this.set_name (new_value);
633            out = $rh.createReply();
634          } catch (org.omg.mof.Reflective.MofError $ex) {
635            out = $rh.createExceptionReply ();
636            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
637          }
638          break;
639        }
640
641
642   //
643
case 40: // org/omg/mof/Model/ModelElement/annotation
644
{
645          try {
646            String JavaDoc $result = null;
647            $result = this.annotation ();
648            out = $rh.createReply();
649            out.write_string ($result);
650          } catch (org.omg.mof.Reflective.MofError $ex) {
651            out = $rh.createExceptionReply ();
652            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
653          }
654          break;
655        }
656
657        case 41: // org/omg/mof/Model/ModelElement/set_annotation
658
{
659          try {
660            String JavaDoc new_value = in.read_string ();
661            this.set_annotation (new_value);
662            out = $rh.createReply();
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
671   //
672
case 42: // org/omg/mof/Model/ModelElement/qualified_name
673
{
674          try {
675            String JavaDoc $result[] = null;
676            $result = this.qualified_name ();
677            out = $rh.createReply();
678            org.omg.mof.Model.StringListHelper.write (out, $result);
679          } catch (org.omg.mof.Reflective.MofError $ex) {
680            out = $rh.createExceptionReply ();
681            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
682          }
683          break;
684        }
685
686
687   //
688
case 43: // org/omg/mof/Model/ModelElement/container
689
{
690          try {
691            org.omg.mof.Model.Namespace $result = null;
692            $result = this.container ();
693            out = $rh.createReply();
694            org.omg.mof.Model.NamespaceHelper.write (out, $result);
695          } catch (org.omg.mof.Reflective.NotSet $ex) {
696            out = $rh.createExceptionReply ();
697            org.omg.mof.Reflective.NotSetHelper.write (out, $ex);
698          } catch (org.omg.mof.Reflective.MofError $ex) {
699            out = $rh.createExceptionReply ();
700            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
701          }
702          break;
703        }
704
705        case 44: // org/omg/mof/Model/ModelElement/set_container
706
{
707          try {
708            org.omg.mof.Model.Namespace new_value = org.omg.mof.Model.NamespaceHelper.read (in);
709            this.set_container (new_value);
710            out = $rh.createReply();
711          } catch (org.omg.mof.Reflective.MofError $ex) {
712            out = $rh.createExceptionReply ();
713            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
714          }
715          break;
716        }
717
718        case 45: // org/omg/mof/Model/ModelElement/unset_container
719
{
720          try {
721            this.unset_container ();
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
731   //
732
case 46: // org/omg/mof/Model/ModelElement/required_elements
733
{
734          try {
735            org.omg.mof.Model.ModelElement $result[] = null;
736            $result = this.required_elements ();
737            out = $rh.createReply();
738            org.omg.mof.Model.ModelElementBagHelper.write (out, $result);
739          } catch (org.omg.mof.Reflective.MofError $ex) {
740            out = $rh.createExceptionReply ();
741            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
742          }
743          break;
744        }
745
746        case 47: // org/omg/mof/Model/ModelElement/set_required_elements
747
{
748          try {
749            org.omg.mof.Model.ModelElement new_value[] = org.omg.mof.Model.ModelElementBagHelper.read (in);
750            this.set_required_elements (new_value);
751            out = $rh.createReply();
752          } catch (org.omg.mof.Reflective.MofError $ex) {
753            out = $rh.createExceptionReply ();
754            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
755          }
756          break;
757        }
758
759        case 48: // org/omg/mof/Model/ModelElement/add_required_elements
760
{
761          try {
762            org.omg.mof.Model.ModelElement new_element = org.omg.mof.Model.ModelElementHelper.read (in);
763            this.add_required_elements (new_element);
764            out = $rh.createReply();
765          } catch (org.omg.mof.Reflective.MofError $ex) {
766            out = $rh.createExceptionReply ();
767            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
768          }
769          break;
770        }
771
772        case 49: // org/omg/mof/Model/ModelElement/modify_required_elements
773
{
774          try {
775            org.omg.mof.Model.ModelElement old_element = org.omg.mof.Model.ModelElementHelper.read (in);
776            org.omg.mof.Model.ModelElement new_element = org.omg.mof.Model.ModelElementHelper.read (in);
777            this.modify_required_elements (old_element, new_element);
778            out = $rh.createReply();
779          } catch (org.omg.mof.Reflective.NotFound $ex) {
780            out = $rh.createExceptionReply ();
781            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
782          } catch (org.omg.mof.Reflective.MofError $ex) {
783            out = $rh.createExceptionReply ();
784            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
785          }
786          break;
787        }
788
789        case 50: // org/omg/mof/Model/ModelElement/remove_required_elements
790
{
791          try {
792            org.omg.mof.Model.ModelElement old_element = org.omg.mof.Model.ModelElementHelper.read (in);
793            this.remove_required_elements (old_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
806   //
807
case 51: // org/omg/mof/Model/ModelElement/constraints
808
{
809          try {
810            org.omg.mof.Model.Constraint $result[] = null;
811            $result = this.constraints ();
812            out = $rh.createReply();
813            org.omg.mof.Model.ConstraintBagHelper.write (out, $result);
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        case 52: // org/omg/mof/Model/ModelElement/set_constraints
822
{
823          try {
824            org.omg.mof.Model.Constraint new_value[] = org.omg.mof.Model.ConstraintBagHelper.read (in);
825            this.set_constraints (new_value);
826            out = $rh.createReply();
827          } catch (org.omg.mof.Reflective.MofError $ex) {
828            out = $rh.createExceptionReply ();
829            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
830          }
831          break;
832        }
833
834        case 53: // org/omg/mof/Model/ModelElement/add_constraints
835
{
836          try {
837            org.omg.mof.Model.Constraint new_element = org.omg.mof.Model.ConstraintHelper.read (in);
838            this.add_constraints (new_element);
839            out = $rh.createReply();
840          } catch (org.omg.mof.Reflective.MofError $ex) {
841            out = $rh.createExceptionReply ();
842            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
843          }
844          break;
845        }
846
847        case 54: // org/omg/mof/Model/ModelElement/modify_constraints
848
{
849          try {
850            org.omg.mof.Model.Constraint old_element = org.omg.mof.Model.ConstraintHelper.read (in);
851            org.omg.mof.Model.Constraint new_element = org.omg.mof.Model.ConstraintHelper.read (in);
852            this.modify_constraints (old_element, new_element);
853            out = $rh.createReply();
854          } catch (org.omg.mof.Reflective.NotFound $ex) {
855            out = $rh.createExceptionReply ();
856            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
857          } catch (org.omg.mof.Reflective.MofError $ex) {
858            out = $rh.createExceptionReply ();
859            org.omg.mof.Reflective.MofErrorHelper.write (out, $ex);
860          }
861          break;
862        }
863
864        case 55: // org/omg/mof/Model/ModelElement/remove_constraints
865
{
866          try {
867            org.omg.mof.Model.Constraint old_element = org.omg.mof.Model.ConstraintHelper.read (in);
868            this.remove_constraints (old_element);
869            out = $rh.createReply();
870          } catch (org.omg.mof.Reflective.NotFound $ex) {
871            out = $rh.createExceptionReply ();
872            org.omg.mof.Reflective.NotFoundHelper.write (out, $ex);
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        default:
881          throw new org.omg.CORBA.BAD_OPERATION JavaDoc (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
882     }
883
884     return out;
885   } // _invoke
886

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