KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_ClassifierStub.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 class _ClassifierStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.Classifier
14 {
15
16   public org.omg.mof.Model.Classifier[] all_of_type_classifier ()
17   {
18     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
19     try {
20        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_classifier", true);
21        $in = _invoke ($out);
22        org.omg.mof.Model.Classifier $result[] = org.omg.mof.Model.ClassifierSetHelper.read ($in);
23        return $result;
24     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
25        $in = $ex.getInputStream ();
26        String JavaDoc _id = $ex.getId ();
27        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
28     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
29        return all_of_type_classifier ();
30     } finally {
31         _releaseReply ($in);
32     }
33   } // all_of_type_classifier
34

35   public org.omg.mof.Model.GeneralizableElement[] all_of_type_generalizable_element ()
36   {
37     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
38     try {
39        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_generalizable_element", true);
40        $in = _invoke ($out);
41        org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementSetHelper.read ($in);
42        return $result;
43     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
44        $in = $ex.getInputStream ();
45        String JavaDoc _id = $ex.getId ();
46        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
47     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
48        return all_of_type_generalizable_element ();
49     } finally {
50         _releaseReply ($in);
51     }
52   } // all_of_type_generalizable_element
53

54   public org.omg.mof.Model.Namespace[] all_of_type_namespace ()
55   {
56     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
57     try {
58        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_namespace", true);
59        $in = _invoke ($out);
60        org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.read ($in);
61        return $result;
62     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
63        $in = $ex.getInputStream ();
64        String JavaDoc _id = $ex.getId ();
65        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
66     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
67        return all_of_type_namespace ();
68     } finally {
69         _releaseReply ($in);
70     }
71   } // all_of_type_namespace
72

73   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
74   {
75     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
76     try {
77        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
78        $in = _invoke ($out);
79        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in);
80        return $result;
81     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
82        $in = $ex.getInputStream ();
83        String JavaDoc _id = $ex.getId ();
84        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
85     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
86        return all_of_type_model_element ();
87     } finally {
88         _releaseReply ($in);
89     }
90   } // all_of_type_model_element
91

92   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
93   {
94     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
95     try {
96        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
97        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
98        $out.write_boolean (consider_subtypes);
99        $in = _invoke ($out);
100        boolean $result = $in.read_boolean ();
101        return $result;
102     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
103        $in = $ex.getInputStream ();
104        String JavaDoc _id = $ex.getId ();
105        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
106     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
107        return ref_is_instance_of (some_class, consider_subtypes);
108     } finally {
109         _releaseReply ($in);
110     }
111   } // ref_is_instance_of
112

113   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
114   {
115     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
116     try {
117        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
118        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
119        $in = _invoke ($out);
120        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
121        return $result;
122     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
123        $in = $ex.getInputStream ();
124        String JavaDoc _id = $ex.getId ();
125        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
126           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
127        else
128             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
129     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
130        return ref_create_instance (args);
131     } finally {
132         _releaseReply ($in);
133     }
134   } // ref_create_instance
135

136   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
137   {
138     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
139     try {
140        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
141        $out.write_boolean (include_subtypes);
142        $in = _invoke ($out);
143        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
144        return $result;
145     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
146        $in = $ex.getInputStream ();
147        String JavaDoc _id = $ex.getId ();
148        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
149     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
150        return ref_all_objects (include_subtypes);
151     } finally {
152         _releaseReply ($in);
153     }
154   } // ref_all_objects
155

156   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws org.omg.mof.Reflective.MofError
157   {
158     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
159     try {
160        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_set_value", true);
161        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
162        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
163        $in = _invoke ($out);
164     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
165        $in = $ex.getInputStream ();
166        String JavaDoc _id = $ex.getId ();
167        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
168           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
169        else
170             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
171     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
172        ref_set_value (feature, new_value);
173     } finally {
174         _releaseReply ($in);
175     }
176   } // ref_set_value
177

178   public org.omg.CORBA.Any JavaDoc ref_value (org.omg.mof.Reflective.RefObject feature) throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError
179   {
180     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
181     try {
182        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
183        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
184        $in = _invoke ($out);
185        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
186        return $result;
187     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
188        $in = $ex.getInputStream ();
189        String JavaDoc _id = $ex.getId ();
190        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
191           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
192        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
193           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
194        else
195             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
196     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
197        return ref_value (feature);
198     } finally {
199         _releaseReply ($in);
200     }
201   } // ref_value
202

203   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
204   {
205     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
206     try {
207        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
208        $in = _invoke ($out);
209     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
210        $in = $ex.getInputStream ();
211        String JavaDoc _id = $ex.getId ();
212        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
213           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
214        else
215             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
216     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
217        ref_unset_value ();
218     } finally {
219         _releaseReply ($in);
220     }
221   } // ref_unset_value
222

223   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws org.omg.mof.Reflective.MofError
224   {
225     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
226     try {
227        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value", true);
228        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
229        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
230        $in = _invoke ($out);
231     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
232        $in = $ex.getInputStream ();
233        String JavaDoc _id = $ex.getId ();
234        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
235           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
236        else
237             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
238     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
239        ref_add_value (feature, new_element);
240     } finally {
241         _releaseReply ($in);
242     }
243   } // ref_add_value
244

245   public void ref_add_value_before (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element, org.omg.CORBA.Any JavaDoc before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
246   {
247     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
248     try {
249        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_before", true);
250        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
251        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
252        org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element);
253        $in = _invoke ($out);
254     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
255        $in = $ex.getInputStream ();
256        String JavaDoc _id = $ex.getId ();
257        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
258           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
259        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
260           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
261        else
262             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
263     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
264        ref_add_value_before (feature, new_element, before_element);
265     } finally {
266         _releaseReply ($in);
267     }
268   } // ref_add_value_before
269

270   public void ref_add_value_at (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element, int position) throws org.omg.mof.Reflective.BadPosition, org.omg.mof.Reflective.MofError
271   {
272     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
273     try {
274        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_at", true);
275        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
276        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
277        $out.write_ulong (position);
278        $in = _invoke ($out);
279     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
280        $in = $ex.getInputStream ();
281        String JavaDoc _id = $ex.getId ();
282        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
283           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
284        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
285           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
286        else
287             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
288     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
289        ref_add_value_at (feature, new_element, position);
290     } finally {
291         _releaseReply ($in);
292     }
293   } // ref_add_value_at
294

295   public void ref_modify_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc old_element, org.omg.CORBA.Any JavaDoc new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
296   {
297     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
298     try {
299        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value", true);
300        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
301        org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element);
302        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
303        $in = _invoke ($out);
304     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
305        $in = $ex.getInputStream ();
306        String JavaDoc _id = $ex.getId ();
307        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
308           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
309        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
310           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
311        else
312             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
313     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
314        ref_modify_value (feature, old_element, new_element);
315     } finally {
316         _releaseReply ($in);
317     }
318   } // ref_modify_value
319

320   public void ref_modify_value_at (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element, int position) throws org.omg.mof.Reflective.BadPosition, org.omg.mof.Reflective.MofError
321   {
322     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
323     try {
324        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value_at", true);
325        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
326        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
327        $out.write_ulong (position);
328        $in = _invoke ($out);
329     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
330        $in = $ex.getInputStream ();
331        String JavaDoc _id = $ex.getId ();
332        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
333           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
334        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
335           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
336        else
337             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
338     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
339        ref_modify_value_at (feature, new_element, position);
340     } finally {
341         _releaseReply ($in);
342     }
343   } // ref_modify_value_at
344

345   public void ref_remove_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc existing_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
346   {
347     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
348     try {
349        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value", true);
350        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
351        org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element);
352        $in = _invoke ($out);
353     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
354        $in = $ex.getInputStream ();
355        String JavaDoc _id = $ex.getId ();
356        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
357           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
358        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
359           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
360        else
361             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
362     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
363        ref_remove_value (feature, existing_element);
364     } finally {
365         _releaseReply ($in);
366     }
367   } // ref_remove_value
368

369   public void ref_remove_value_at (org.omg.mof.Reflective.RefObject feature, int position) throws org.omg.mof.Reflective.BadPosition, org.omg.mof.Reflective.MofError
370   {
371     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
372     try {
373        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
374        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
375        $out.write_ulong (position);
376        $in = _invoke ($out);
377     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
378        $in = $ex.getInputStream ();
379        String JavaDoc _id = $ex.getId ();
380        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
381           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
382        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
383           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
384        else
385             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
386     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
387        ref_remove_value_at (feature, position);
388     } finally {
389         _releaseReply ($in);
390     }
391   } // ref_remove_value_at
392

393   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
394   {
395     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
396     try {
397        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_composite", true);
398        $in = _invoke ($out);
399        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
400        return $result;
401     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
402        $in = $ex.getInputStream ();
403        String JavaDoc _id = $ex.getId ();
404        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
405     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
406        return ref_immediate_composite ();
407     } finally {
408         _releaseReply ($in);
409     }
410   } // ref_immediate_composite
411

412   public org.omg.mof.Reflective.RefObject ref_outermost_composite ()
413   {
414     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
415     try {
416        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_composite", true);
417        $in = _invoke ($out);
418        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
419        return $result;
420     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
421        $in = $ex.getInputStream ();
422        String JavaDoc _id = $ex.getId ();
423        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
424     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
425        return ref_outermost_composite ();
426     } finally {
427         _releaseReply ($in);
428     }
429   } // ref_outermost_composite
430

431   public org.omg.CORBA.Any JavaDoc ref_invoke_operation (org.omg.mof.Reflective.RefObject requested_operation, org.omg.mof.Reflective.ValueTypeListHolder args) throws org.omg.mof.Reflective.OtherException, org.omg.mof.Reflective.MofError
432   {
433     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
434     try {
435        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
436        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
437        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
438        $in = _invoke ($out);
439        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
440        args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in);
441        return $result;
442     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
443        $in = $ex.getInputStream ();
444        String JavaDoc _id = $ex.getId ();
445        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
446           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
447        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
448           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
449        else
450             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
451     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
452        return ref_invoke_operation (requested_operation, args);
453     } finally {
454         _releaseReply ($in);
455     }
456   } // ref_invoke_operation
457

458   public String JavaDoc ref_mof_id ()
459   {
460     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
461     try {
462        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
463        $in = _invoke ($out);
464        String JavaDoc $result = $in.read_string ();
465        return $result;
466     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
467        $in = $ex.getInputStream ();
468        String JavaDoc _id = $ex.getId ();
469        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
470     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
471        return ref_mof_id ();
472     } finally {
473         _releaseReply ($in);
474     }
475   } // ref_mof_id
476

477   public org.omg.mof.Reflective.RefObject ref_meta_object ()
478   {
479     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
480     try {
481        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_meta_object", true);
482        $in = _invoke ($out);
483        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in);
484        return $result;
485     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
486        $in = $ex.getInputStream ();
487        String JavaDoc _id = $ex.getId ();
488        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
489     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
490        return ref_meta_object ();
491     } finally {
492         _releaseReply ($in);
493     }
494   } // ref_meta_object
495

496   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
497   {
498     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
499     try {
500        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
501        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
502        $in = _invoke ($out);
503        boolean $result = $in.read_boolean ();
504        return $result;
505     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
506        $in = $ex.getInputStream ();
507        String JavaDoc _id = $ex.getId ();
508        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
509     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
510        return ref_itself (other_object);
511     } finally {
512         _releaseReply ($in);
513     }
514   } // ref_itself
515

516   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
517   {
518     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
519     try {
520        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_package", true);
521        $in = _invoke ($out);
522        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
523        return $result;
524     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
525        $in = $ex.getInputStream ();
526        String JavaDoc _id = $ex.getId ();
527        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
528     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
529        return ref_immediate_package ();
530     } finally {
531         _releaseReply ($in);
532     }
533   } // ref_immediate_package
534

535   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
536   {
537     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
538     try {
539        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
540        $in = _invoke ($out);
541        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
542        return $result;
543     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
544        $in = $ex.getInputStream ();
545        String JavaDoc _id = $ex.getId ();
546        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
547     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
548        return ref_outermost_package ();
549     } finally {
550         _releaseReply ($in);
551     }
552   } // ref_outermost_package
553

554   public void ref_delete () throws org.omg.mof.Reflective.MofError
555   {
556     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
557     try {
558        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_delete", true);
559        $in = _invoke ($out);
560     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
561        $in = $ex.getInputStream ();
562        String JavaDoc _id = $ex.getId ();
563        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
564           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
565        else
566             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
567     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
568        ref_delete ();
569     } finally {
570         _releaseReply ($in);
571     }
572   } // ref_delete
573

574
575   //
576
public String JavaDoc name () throws org.omg.mof.Reflective.MofError
577   {
578     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
579     try {
580        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("name", true);
581        $in = _invoke ($out);
582        String JavaDoc $result = $in.read_string ();
583        return $result;
584     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
585        $in = $ex.getInputStream ();
586        String JavaDoc _id = $ex.getId ();
587        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
588           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
589        else
590             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
591     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
592        return name ();
593     } finally {
594         _releaseReply ($in);
595     }
596   } // name
597

598   public void set_name (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
599   {
600     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
601     try {
602        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_name", true);
603        $out.write_string (new_value);
604        $in = _invoke ($out);
605     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
606        $in = $ex.getInputStream ();
607        String JavaDoc _id = $ex.getId ();
608        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
609           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
610        else
611             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
612     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
613        set_name (new_value);
614     } finally {
615         _releaseReply ($in);
616     }
617   } // set_name
618

619
620   //
621
public String JavaDoc annotation () throws org.omg.mof.Reflective.MofError
622   {
623     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
624     try {
625        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("annotation", true);
626        $in = _invoke ($out);
627        String JavaDoc $result = $in.read_string ();
628        return $result;
629     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
630        $in = $ex.getInputStream ();
631        String JavaDoc _id = $ex.getId ();
632        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
633           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
634        else
635             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
636     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
637        return annotation ();
638     } finally {
639         _releaseReply ($in);
640     }
641   } // annotation
642

643   public void set_annotation (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
644   {
645     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
646     try {
647        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_annotation", true);
648        $out.write_string (new_value);
649        $in = _invoke ($out);
650     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
651        $in = $ex.getInputStream ();
652        String JavaDoc _id = $ex.getId ();
653        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
654           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
655        else
656             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
657     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
658        set_annotation (new_value);
659     } finally {
660         _releaseReply ($in);
661     }
662   } // set_annotation
663

664
665   //
666
public String JavaDoc[] qualified_name () throws org.omg.mof.Reflective.MofError
667   {
668     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
669     try {
670        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("qualified_name", true);
671        $in = _invoke ($out);
672        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.read ($in);
673        return $result;
674     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
675        $in = $ex.getInputStream ();
676        String JavaDoc _id = $ex.getId ();
677        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
678           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
679        else
680             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
681     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
682        return qualified_name ();
683     } finally {
684         _releaseReply ($in);
685     }
686   } // qualified_name
687

688
689   //
690
public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError
691   {
692     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
693     try {
694        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("container", true);
695        $in = _invoke ($out);
696        org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in);
697        return $result;
698     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
699        $in = $ex.getInputStream ();
700        String JavaDoc _id = $ex.getId ();
701        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
702           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
703        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
704           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
705        else
706             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
707     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
708        return container ();
709     } finally {
710         _releaseReply ($in);
711     }
712   } // container
713

714   public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError
715   {
716     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
717     try {
718        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_container", true);
719        org.omg.mof.Model.NamespaceHelper.write ($out, new_value);
720        $in = _invoke ($out);
721     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
722        $in = $ex.getInputStream ();
723        String JavaDoc _id = $ex.getId ();
724        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
725           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
726        else
727             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
728     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
729        set_container (new_value);
730     } finally {
731         _releaseReply ($in);
732     }
733   } // set_container
734

735   public void unset_container () throws org.omg.mof.Reflective.MofError
736   {
737     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
738     try {
739        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("unset_container", true);
740        $in = _invoke ($out);
741     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
742        $in = $ex.getInputStream ();
743        String JavaDoc _id = $ex.getId ();
744        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
745           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
746        else
747             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
748     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
749        unset_container ();
750     } finally {
751         _releaseReply ($in);
752     }
753   } // unset_container
754

755
756   //
757
public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError
758   {
759     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
760     try {
761        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("required_elements", true);
762        $in = _invoke ($out);
763        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in);
764        return $result;
765     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
766        $in = $ex.getInputStream ();
767        String JavaDoc _id = $ex.getId ();
768        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
769           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
770        else
771             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
772     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
773        return required_elements ();
774     } finally {
775         _releaseReply ($in);
776     }
777   } // required_elements
778

779   public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError
780   {
781     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
782     try {
783        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_required_elements", true);
784        org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value);
785        $in = _invoke ($out);
786     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
787        $in = $ex.getInputStream ();
788        String JavaDoc _id = $ex.getId ();
789        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
790           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
791        else
792             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
793     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
794        set_required_elements (new_value);
795     } finally {
796         _releaseReply ($in);
797     }
798   } // set_required_elements
799

800   public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
801   {
802     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
803     try {
804        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_required_elements", true);
805        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
806        $in = _invoke ($out);
807     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
808        $in = $ex.getInputStream ();
809        String JavaDoc _id = $ex.getId ();
810        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
811           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
812        else
813             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
814     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
815        add_required_elements (new_element);
816     } finally {
817         _releaseReply ($in);
818     }
819   } // add_required_elements
820

821   public void modify_required_elements (org.omg.mof.Model.ModelElement old_element, org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
822   {
823     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
824     try {
825        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
826        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
827        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
828        $in = _invoke ($out);
829     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
830        $in = $ex.getInputStream ();
831        String JavaDoc _id = $ex.getId ();
832        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
833           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
834        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
835           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
836        else
837             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
838     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
839        modify_required_elements (old_element, new_element);
840     } finally {
841         _releaseReply ($in);
842     }
843   } // modify_required_elements
844

845   public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
846   {
847     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
848     try {
849        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_required_elements", true);
850        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
851        $in = _invoke ($out);
852     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
853        $in = $ex.getInputStream ();
854        String JavaDoc _id = $ex.getId ();
855        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
856           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
857        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
858           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
859        else
860             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
861     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
862        remove_required_elements (old_element);
863     } finally {
864         _releaseReply ($in);
865     }
866   } // remove_required_elements
867

868
869   //
870
public org.omg.mof.Model.Constraint[] constraints () throws org.omg.mof.Reflective.MofError
871   {
872     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
873     try {
874        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("constraints", true);
875        $in = _invoke ($out);
876        org.omg.mof.Model.Constraint $result[] = org.omg.mof.Model.ConstraintBagHelper.read ($in);
877        return $result;
878     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
879        $in = $ex.getInputStream ();
880        String JavaDoc _id = $ex.getId ();
881        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
882           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
883        else
884             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
885     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
886        return constraints ();
887     } finally {
888         _releaseReply ($in);
889     }
890   } // constraints
891

892   public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError
893   {
894     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
895     try {
896        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_constraints", true);
897        org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value);
898        $in = _invoke ($out);
899     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
900        $in = $ex.getInputStream ();
901        String JavaDoc _id = $ex.getId ();
902        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
903           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
904        else
905             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
906     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
907        set_constraints (new_value);
908     } finally {
909         _releaseReply ($in);
910     }
911   } // set_constraints
912

913   public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError
914   {
915     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
916     try {
917        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_constraints", true);
918        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
919        $in = _invoke ($out);
920     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
921        $in = $ex.getInputStream ();
922        String JavaDoc _id = $ex.getId ();
923        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
924           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
925        else
926             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
927     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
928        add_constraints (new_element);
929     } finally {
930         _releaseReply ($in);
931     }
932   } // add_constraints
933

934   public void modify_constraints (org.omg.mof.Model.Constraint old_element, org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
935   {
936     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
937     try {
938        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
939        org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
940        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
941        $in = _invoke ($out);
942     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
943        $in = $ex.getInputStream ();
944        String JavaDoc _id = $ex.getId ();
945        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
946           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
947        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
948           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
949        else
950             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
951     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
952        modify_constraints (old_element, new_element);
953     } finally {
954         _releaseReply ($in);
955     }
956   } // modify_constraints
957

958   public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
959   {
960     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
961     try {
962        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_constraints", true);
963        org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
964        $in = _invoke ($out);
965     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
966        $in = $ex.getInputStream ();
967        String JavaDoc _id = $ex.getId ();
968        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
969           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
970        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
971           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
972        else
973             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
974     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
975        remove_constraints (old_element);
976     } finally {
977         _releaseReply ($in);
978     }
979   } // remove_constraints
980

981
982   //
983
public org.omg.mof.Model.ModelElement[] contents () throws org.omg.mof.Reflective.MofError
984   {
985     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
986     try {
987        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("contents", true);
988        $in = _invoke ($out);
989        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementListHelper.read ($in);
990        return $result;
991     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
992        $in = $ex.getInputStream ();
993        String JavaDoc _id = $ex.getId ();
994        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
995           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
996        else
997             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
998     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
999        return contents ();
1000    } finally {
1001        _releaseReply ($in);
1002    }
1003  } // contents
1004

1005  public void set_contents (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError
1006  {
1007    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1008    try {
1009       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_contents", true);
1010       org.omg.mof.Model.ModelElementListHelper.write ($out, new_value);
1011       $in = _invoke ($out);
1012    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1013       $in = $ex.getInputStream ();
1014       String JavaDoc _id = $ex.getId ();
1015       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1016          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1017       else
1018            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1019    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1020       set_contents (new_value);
1021    } finally {
1022        _releaseReply ($in);
1023    }
1024  } // set_contents
1025

1026  public void add_contents (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
1027  {
1028    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1029    try {
1030       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_contents", true);
1031       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1032       $in = _invoke ($out);
1033    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1034       $in = $ex.getInputStream ();
1035       String JavaDoc _id = $ex.getId ();
1036       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1037          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1038       else
1039            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1040    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1041       add_contents (new_element);
1042    } finally {
1043        _releaseReply ($in);
1044    }
1045  } // add_contents
1046

1047  public void add_contents_before (org.omg.mof.Model.ModelElement new_element, org.omg.mof.Model.ModelElement before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1048  {
1049    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1050    try {
1051       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_contents_before", true);
1052       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1053       org.omg.mof.Model.ModelElementHelper.write ($out, before_element);
1054       $in = _invoke ($out);
1055    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1056       $in = $ex.getInputStream ();
1057       String JavaDoc _id = $ex.getId ();
1058       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1059          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1060       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1061          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1062       else
1063            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1064    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1065       add_contents_before (new_element, before_element);
1066    } finally {
1067        _releaseReply ($in);
1068    }
1069  } // add_contents_before
1070

1071  public void modify_contents (org.omg.mof.Model.ModelElement old_element, org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1072  {
1073    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1074    try {
1075       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_contents", true);
1076       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1077       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1078       $in = _invoke ($out);
1079    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1080       $in = $ex.getInputStream ();
1081       String JavaDoc _id = $ex.getId ();
1082       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1083          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1084       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1085          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1086       else
1087            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1088    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1089       modify_contents (old_element, new_element);
1090    } finally {
1091        _releaseReply ($in);
1092    }
1093  } // modify_contents
1094

1095  public void remove_contents (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1096  {
1097    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1098    try {
1099       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_contents", true);
1100       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1101       $in = _invoke ($out);
1102    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1103       $in = $ex.getInputStream ();
1104       String JavaDoc _id = $ex.getId ();
1105       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1106          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1107       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1108          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1109       else
1110            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1111    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1112       remove_contents (old_element);
1113    } finally {
1114        _releaseReply ($in);
1115    }
1116  } // remove_contents
1117

1118
1119  //
1120
public org.omg.mof.Model.VisibilityKind visibility () throws org.omg.mof.Reflective.MofError
1121  {
1122    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1123    try {
1124       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("visibility", true);
1125       $in = _invoke ($out);
1126       org.omg.mof.Model.VisibilityKind $result = org.omg.mof.Model.VisibilityKindHelper.read ($in);
1127       return $result;
1128    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1129       $in = $ex.getInputStream ();
1130       String JavaDoc _id = $ex.getId ();
1131       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1132          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1133       else
1134            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1135    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1136       return visibility ();
1137    } finally {
1138        _releaseReply ($in);
1139    }
1140  } // visibility
1141

1142  public void set_visibility (org.omg.mof.Model.VisibilityKind new_value) throws org.omg.mof.Reflective.MofError
1143  {
1144    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1145    try {
1146       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_visibility", true);
1147       org.omg.mof.Model.VisibilityKindHelper.write ($out, new_value);
1148       $in = _invoke ($out);
1149    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1150       $in = $ex.getInputStream ();
1151       String JavaDoc _id = $ex.getId ();
1152       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1153          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1154       else
1155            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1156    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1157       set_visibility (new_value);
1158    } finally {
1159        _releaseReply ($in);
1160    }
1161  } // set_visibility
1162

1163
1164  //
1165
public boolean is_leaf () throws org.omg.mof.Reflective.MofError
1166  {
1167    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1168    try {
1169       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_leaf", true);
1170       $in = _invoke ($out);
1171       boolean $result = $in.read_boolean ();
1172       return $result;
1173    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1174       $in = $ex.getInputStream ();
1175       String JavaDoc _id = $ex.getId ();
1176       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1177          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1178       else
1179            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1180    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1181       return is_leaf ();
1182    } finally {
1183        _releaseReply ($in);
1184    }
1185  } // is_leaf
1186

1187  public void set_is_leaf (boolean new_value) throws org.omg.mof.Reflective.MofError
1188  {
1189    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1190    try {
1191       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_leaf", true);
1192       $out.write_boolean (new_value);
1193       $in = _invoke ($out);
1194    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1195       $in = $ex.getInputStream ();
1196       String JavaDoc _id = $ex.getId ();
1197       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1198          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1199       else
1200            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1201    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1202       set_is_leaf (new_value);
1203    } finally {
1204        _releaseReply ($in);
1205    }
1206  } // set_is_leaf
1207

1208
1209  //
1210
public boolean is_root () throws org.omg.mof.Reflective.MofError
1211  {
1212    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1213    try {
1214       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_root", true);
1215       $in = _invoke ($out);
1216       boolean $result = $in.read_boolean ();
1217       return $result;
1218    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1219       $in = $ex.getInputStream ();
1220       String JavaDoc _id = $ex.getId ();
1221       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1222          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1223       else
1224            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1225    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1226       return is_root ();
1227    } finally {
1228        _releaseReply ($in);
1229    }
1230  } // is_root
1231

1232  public void set_is_root (boolean new_value) throws org.omg.mof.Reflective.MofError
1233  {
1234    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1235    try {
1236       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_root", true);
1237       $out.write_boolean (new_value);
1238       $in = _invoke ($out);
1239    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1240       $in = $ex.getInputStream ();
1241       String JavaDoc _id = $ex.getId ();
1242       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1243          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1244       else
1245            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1246    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1247       set_is_root (new_value);
1248    } finally {
1249        _releaseReply ($in);
1250    }
1251  } // set_is_root
1252

1253
1254  //
1255
public boolean is_abstract () throws org.omg.mof.Reflective.MofError
1256  {
1257    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1258    try {
1259       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_abstract", true);
1260       $in = _invoke ($out);
1261       boolean $result = $in.read_boolean ();
1262       return $result;
1263    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1264       $in = $ex.getInputStream ();
1265       String JavaDoc _id = $ex.getId ();
1266       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1267          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1268       else
1269            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1270    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1271       return is_abstract ();
1272    } finally {
1273        _releaseReply ($in);
1274    }
1275  } // is_abstract
1276

1277  public void set_is_abstract (boolean new_value) throws org.omg.mof.Reflective.MofError
1278  {
1279    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1280    try {
1281       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_abstract", true);
1282       $out.write_boolean (new_value);
1283       $in = _invoke ($out);
1284    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1285       $in = $ex.getInputStream ();
1286       String JavaDoc _id = $ex.getId ();
1287       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1288          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1289       else
1290            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1291    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1292       set_is_abstract (new_value);
1293    } finally {
1294        _releaseReply ($in);
1295    }
1296  } // set_is_abstract
1297

1298
1299  //
1300
public org.omg.mof.Model.GeneralizableElement[] all_supertypes () throws org.omg.mof.Reflective.MofError
1301  {
1302    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1303    try {
1304       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("all_supertypes", true);
1305       $in = _invoke ($out);
1306       org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementUListHelper.read ($in);
1307       return $result;
1308    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1309       $in = $ex.getInputStream ();
1310       String JavaDoc _id = $ex.getId ();
1311       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1312          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1313       else
1314            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1315    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1316       return all_supertypes ();
1317    } finally {
1318        _releaseReply ($in);
1319    }
1320  } // all_supertypes
1321

1322
1323  //
1324
public org.omg.mof.Model.GeneralizableElement[] supertypes () throws org.omg.mof.Reflective.MofError
1325  {
1326    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1327    try {
1328       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("supertypes", true);
1329       $in = _invoke ($out);
1330       org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementListHelper.read ($in);
1331       return $result;
1332    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1333       $in = $ex.getInputStream ();
1334       String JavaDoc _id = $ex.getId ();
1335       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1336          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1337       else
1338            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1339    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1340       return supertypes ();
1341    } finally {
1342        _releaseReply ($in);
1343    }
1344  } // supertypes
1345

1346  public void set_supertypes (org.omg.mof.Model.GeneralizableElement[] new_value) throws org.omg.mof.Reflective.MofError
1347  {
1348    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1349    try {
1350       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_supertypes", true);
1351       org.omg.mof.Model.GeneralizableElementListHelper.write ($out, new_value);
1352       $in = _invoke ($out);
1353    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1354       $in = $ex.getInputStream ();
1355       String JavaDoc _id = $ex.getId ();
1356       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1357          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1358       else
1359            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1360    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1361       set_supertypes (new_value);
1362    } finally {
1363        _releaseReply ($in);
1364    }
1365  } // set_supertypes
1366

1367  public void add_supertypes (org.omg.mof.Model.GeneralizableElement new_element) throws org.omg.mof.Reflective.MofError
1368  {
1369    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1370    try {
1371       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_supertypes", true);
1372       org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
1373       $in = _invoke ($out);
1374    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1375       $in = $ex.getInputStream ();
1376       String JavaDoc _id = $ex.getId ();
1377       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1378          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1379       else
1380            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1381    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1382       add_supertypes (new_element);
1383    } finally {
1384        _releaseReply ($in);
1385    }
1386  } // add_supertypes
1387

1388  public void add_supertypes_before (org.omg.mof.Model.GeneralizableElement new_element, org.omg.mof.Model.GeneralizableElement before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1389  {
1390    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1391    try {
1392       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_supertypes_before", true);
1393       org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
1394       org.omg.mof.Model.GeneralizableElementHelper.write ($out, before_element);
1395       $in = _invoke ($out);
1396    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1397       $in = $ex.getInputStream ();
1398       String JavaDoc _id = $ex.getId ();
1399       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1400          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1401       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1402          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1403       else
1404            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1405    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1406       add_supertypes_before (new_element, before_element);
1407    } finally {
1408        _releaseReply ($in);
1409    }
1410  } // add_supertypes_before
1411

1412  public void modify_supertypes (org.omg.mof.Model.GeneralizableElement old_element, org.omg.mof.Model.GeneralizableElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1413  {
1414    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1415    try {
1416       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_supertypes", true);
1417       org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element);
1418       org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
1419       $in = _invoke ($out);
1420    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1421       $in = $ex.getInputStream ();
1422       String JavaDoc _id = $ex.getId ();
1423       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1424          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1425       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1426          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1427       else
1428            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1429    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1430       modify_supertypes (old_element, new_element);
1431    } finally {
1432        _releaseReply ($in);
1433    }
1434  } // modify_supertypes
1435

1436  public void remove_supertypes (org.omg.mof.Model.GeneralizableElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1437  {
1438    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1439    try {
1440       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_supertypes", true);
1441       org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element);
1442       $in = _invoke ($out);
1443    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1444       $in = $ex.getInputStream ();
1445       String JavaDoc _id = $ex.getId ();
1446       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1447          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1448       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1449          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1450       else
1451            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1452    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1453       remove_supertypes (old_element);
1454    } finally {
1455        _releaseReply ($in);
1456    }
1457  } // remove_supertypes
1458

1459  // Type-specific CORBA::Object operations
1460
private static String JavaDoc[] __ids = {
1461    "IDL:org/omg/mof/Model/Classifier:1.0",
1462    "IDL:org/omg/mof/Model/ClassifierClass:1.0",
1463    "IDL:org/omg/mof/Model/GeneralizableElementClass:1.0",
1464    "IDL:org/omg/mof/Model/NamespaceClass:1.0",
1465    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1466    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1467    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1468    "IDL:org/omg/mof/Model/ModelElement:1.0",
1469    "IDL:org/omg/mof/Model/Namespace:1.0",
1470    "IDL:org/omg/mof/Model/GeneralizableElement:1.0"};
1471
1472  public String JavaDoc[] _ids ()
1473  {
1474    return (String JavaDoc[])__ids.clone ();
1475  }
1476
1477  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1478  {
1479     String JavaDoc str = s.readUTF ();
1480     String JavaDoc[] args = null;
1481     java.util.Properties JavaDoc props = null;
1482     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1483     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1484     _set_delegate (delegate);
1485  }
1486
1487  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1488  {
1489     String JavaDoc[] args = null;
1490     java.util.Properties JavaDoc props = null;
1491     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1492     s.writeUTF (str);
1493  }
1494} // class _ClassifierStub
1495
Popular Tags