KickJava   Java API By Example, From Geeks To Geeks.

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


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

847   // Type-specific CORBA::Object operations
848
private static String JavaDoc[] __ids = {
849     "IDL:org/omg/mof/Model/BehavioralFeature:1.0",
850     "IDL:org/omg/mof/Model/BehavioralFeatureClass:1.0",
851     "IDL:org/omg/mof/Model/NamespaceClass:1.0",
852     "IDL:org/omg/mof/Model/ModelElementClass:1.0",
853     "IDL:org/omg/mof/Reflective/RefObject:1.0",
854     "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
855     "IDL:org/omg/mof/Model/FeatureClass:1.0",
856     "IDL:org/omg/mof/Model/ModelElement:1.0",
857     "IDL:org/omg/mof/Model/Namespace:1.0",
858     "IDL:org/omg/mof/Model/Feature:1.0"};
859
860   public String JavaDoc[] _all_interfaces (org.omg.PortableServer.POA JavaDoc poa, byte[] objectId)
861   {
862     return (String JavaDoc[])__ids.clone ();
863   }
864
865   public BehavioralFeature _this()
866   {
867     return BehavioralFeatureHelper.narrow(
868     super._this_object());
869   }
870
871   public BehavioralFeature _this(org.omg.CORBA.ORB JavaDoc orb)
872   {
873     return BehavioralFeatureHelper.narrow(
874     super._this_object(orb));
875   }
876
877
878 } // class BehavioralFeaturePOA
879
Popular Tags