KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_PackageStub.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 PackageClass
13
public class _PackageStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.Package
14 {
15
16   public org.omg.mof.Model.Package[] all_of_type_package ()
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_package", true);
21        $in = _invoke ($out);
22        org.omg.mof.Model.Package $result[] = org.omg.mof.Model.PackageSetHelper.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_package ();
30     } finally {
31         _releaseReply ($in);
32     }
33   } // all_of_type_package
34

35   public org.omg.mof.Model.Package[] all_of_class_package ()
36   {
37     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
38     try {
39        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_class_package", true);
40        $in = _invoke ($out);
41        org.omg.mof.Model.Package $result[] = org.omg.mof.Model.PackageSetHelper.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_class_package ();
49     } finally {
50         _releaseReply ($in);
51     }
52   } // all_of_class_package
53

54   public org.omg.mof.Model.Package create_package (String JavaDoc name, String JavaDoc annotation, org.omg.mof.Model.VisibilityKind visibility, boolean is_leaf, boolean is_root, boolean is_abstract) throws org.omg.mof.Reflective.MofError
55   {
56     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
57     try {
58        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("create_package", true);
59        $out.write_string (name);
60        $out.write_string (annotation);
61        org.omg.mof.Model.VisibilityKindHelper.write ($out, visibility);
62        $out.write_boolean (is_leaf);
63        $out.write_boolean (is_root);
64        $out.write_boolean (is_abstract);
65        $in = _invoke ($out);
66        org.omg.mof.Model.Package $result = org.omg.mof.Model.PackageHelper.read ($in);
67        return $result;
68     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
69        $in = $ex.getInputStream ();
70        String JavaDoc _id = $ex.getId ();
71        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
72           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
73        else
74             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
75     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
76        return create_package (name, annotation, visibility, is_leaf, is_root, is_abstract);
77     } finally {
78         _releaseReply ($in);
79     }
80   } // create_package
81

82   public org.omg.mof.Model.GeneralizableElement[] all_of_type_generalizable_element ()
83   {
84     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
85     try {
86        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_generalizable_element", true);
87        $in = _invoke ($out);
88        org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementSetHelper.read ($in);
89        return $result;
90     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
91        $in = $ex.getInputStream ();
92        String JavaDoc _id = $ex.getId ();
93        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
94     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
95        return all_of_type_generalizable_element ();
96     } finally {
97         _releaseReply ($in);
98     }
99   } // all_of_type_generalizable_element
100

101   public org.omg.mof.Model.Namespace[] all_of_type_namespace ()
102   {
103     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
104     try {
105        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_namespace", true);
106        $in = _invoke ($out);
107        org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.read ($in);
108        return $result;
109     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
110        $in = $ex.getInputStream ();
111        String JavaDoc _id = $ex.getId ();
112        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
113     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
114        return all_of_type_namespace ();
115     } finally {
116         _releaseReply ($in);
117     }
118   } // all_of_type_namespace
119

120   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
121   {
122     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
123     try {
124        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
125        $in = _invoke ($out);
126        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in);
127        return $result;
128     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
129        $in = $ex.getInputStream ();
130        String JavaDoc _id = $ex.getId ();
131        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
132     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
133        return all_of_type_model_element ();
134     } finally {
135         _releaseReply ($in);
136     }
137   } // all_of_type_model_element
138

139   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
140   {
141     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
142     try {
143        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
144        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
145        $out.write_boolean (consider_subtypes);
146        $in = _invoke ($out);
147        boolean $result = $in.read_boolean ();
148        return $result;
149     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
150        $in = $ex.getInputStream ();
151        String JavaDoc _id = $ex.getId ();
152        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
153     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
154        return ref_is_instance_of (some_class, consider_subtypes);
155     } finally {
156         _releaseReply ($in);
157     }
158   } // ref_is_instance_of
159

160   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
161   {
162     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
163     try {
164        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
165        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
166        $in = _invoke ($out);
167        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
168        return $result;
169     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
170        $in = $ex.getInputStream ();
171        String JavaDoc _id = $ex.getId ();
172        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
173           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
174        else
175             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
176     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
177        return ref_create_instance (args);
178     } finally {
179         _releaseReply ($in);
180     }
181   } // ref_create_instance
182

183   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
184   {
185     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
186     try {
187        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
188        $out.write_boolean (include_subtypes);
189        $in = _invoke ($out);
190        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
191        return $result;
192     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
193        $in = $ex.getInputStream ();
194        String JavaDoc _id = $ex.getId ();
195        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
196     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
197        return ref_all_objects (include_subtypes);
198     } finally {
199         _releaseReply ($in);
200     }
201   } // ref_all_objects
202

203   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_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_set_value", true);
208        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
209        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
210        $in = _invoke ($out);
211     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
212        $in = $ex.getInputStream ();
213        String JavaDoc _id = $ex.getId ();
214        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
215           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
216        else
217             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
218     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
219        ref_set_value (feature, new_value);
220     } finally {
221         _releaseReply ($in);
222     }
223   } // ref_set_value
224

225   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
226   {
227     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
228     try {
229        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
230        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
231        $in = _invoke ($out);
232        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
233        return $result;
234     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
235        $in = $ex.getInputStream ();
236        String JavaDoc _id = $ex.getId ();
237        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
238           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
239        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
240           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
241        else
242             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
243     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
244        return ref_value (feature);
245     } finally {
246         _releaseReply ($in);
247     }
248   } // ref_value
249

250   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
251   {
252     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
253     try {
254        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
255        $in = _invoke ($out);
256     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
257        $in = $ex.getInputStream ();
258        String JavaDoc _id = $ex.getId ();
259        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_unset_value ();
265     } finally {
266         _releaseReply ($in);
267     }
268   } // ref_unset_value
269

270   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws 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", true);
275        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
276        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
277        $in = _invoke ($out);
278     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
279        $in = $ex.getInputStream ();
280        String JavaDoc _id = $ex.getId ();
281        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
282           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
283        else
284             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
285     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
286        ref_add_value (feature, new_element);
287     } finally {
288         _releaseReply ($in);
289     }
290   } // ref_add_value
291

292   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
293   {
294     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
295     try {
296        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_before", true);
297        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
298        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
299        org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element);
300        $in = _invoke ($out);
301     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
302        $in = $ex.getInputStream ();
303        String JavaDoc _id = $ex.getId ();
304        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
305           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
306        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
307           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
308        else
309             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
310     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
311        ref_add_value_before (feature, new_element, before_element);
312     } finally {
313         _releaseReply ($in);
314     }
315   } // ref_add_value_before
316

317   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
318   {
319     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
320     try {
321        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_at", true);
322        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
323        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
324        $out.write_ulong (position);
325        $in = _invoke ($out);
326     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
327        $in = $ex.getInputStream ();
328        String JavaDoc _id = $ex.getId ();
329        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
330           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
331        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
332           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
333        else
334             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
335     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
336        ref_add_value_at (feature, new_element, position);
337     } finally {
338         _releaseReply ($in);
339     }
340   } // ref_add_value_at
341

342   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
343   {
344     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
345     try {
346        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value", true);
347        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
348        org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element);
349        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
350        $in = _invoke ($out);
351     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
352        $in = $ex.getInputStream ();
353        String JavaDoc _id = $ex.getId ();
354        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
355           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
356        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
357           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
358        else
359             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
360     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
361        ref_modify_value (feature, old_element, new_element);
362     } finally {
363         _releaseReply ($in);
364     }
365   } // ref_modify_value
366

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

392   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
393   {
394     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
395     try {
396        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value", true);
397        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
398        org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element);
399        $in = _invoke ($out);
400     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
401        $in = $ex.getInputStream ();
402        String JavaDoc _id = $ex.getId ();
403        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
404           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
405        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
406           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
407        else
408             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
409     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
410        ref_remove_value (feature, existing_element);
411     } finally {
412         _releaseReply ($in);
413     }
414   } // ref_remove_value
415

416   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
417   {
418     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
419     try {
420        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
421        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
422        $out.write_ulong (position);
423        $in = _invoke ($out);
424     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
425        $in = $ex.getInputStream ();
426        String JavaDoc _id = $ex.getId ();
427        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
428           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
429        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
430           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
431        else
432             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
433     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
434        ref_remove_value_at (feature, position);
435     } finally {
436         _releaseReply ($in);
437     }
438   } // ref_remove_value_at
439

440   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
441   {
442     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
443     try {
444        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_composite", true);
445        $in = _invoke ($out);
446        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
447        return $result;
448     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
449        $in = $ex.getInputStream ();
450        String JavaDoc _id = $ex.getId ();
451        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
452     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
453        return ref_immediate_composite ();
454     } finally {
455         _releaseReply ($in);
456     }
457   } // ref_immediate_composite
458

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

478   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
479   {
480     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
481     try {
482        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
483        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
484        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
485        $in = _invoke ($out);
486        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
487        args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in);
488        return $result;
489     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
490        $in = $ex.getInputStream ();
491        String JavaDoc _id = $ex.getId ();
492        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
493           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
494        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
495           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
496        else
497             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
498     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
499        return ref_invoke_operation (requested_operation, args);
500     } finally {
501         _releaseReply ($in);
502     }
503   } // ref_invoke_operation
504

505   public String JavaDoc ref_mof_id ()
506   {
507     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
508     try {
509        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
510        $in = _invoke ($out);
511        String JavaDoc $result = $in.read_string ();
512        return $result;
513     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
514        $in = $ex.getInputStream ();
515        String JavaDoc _id = $ex.getId ();
516        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
517     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
518        return ref_mof_id ();
519     } finally {
520         _releaseReply ($in);
521     }
522   } // ref_mof_id
523

524   public org.omg.mof.Reflective.RefObject ref_meta_object ()
525   {
526     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
527     try {
528        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_meta_object", true);
529        $in = _invoke ($out);
530        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in);
531        return $result;
532     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
533        $in = $ex.getInputStream ();
534        String JavaDoc _id = $ex.getId ();
535        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
536     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
537        return ref_meta_object ();
538     } finally {
539         _releaseReply ($in);
540     }
541   } // ref_meta_object
542

543   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
544   {
545     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
546     try {
547        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
548        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
549        $in = _invoke ($out);
550        boolean $result = $in.read_boolean ();
551        return $result;
552     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
553        $in = $ex.getInputStream ();
554        String JavaDoc _id = $ex.getId ();
555        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
556     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
557        return ref_itself (other_object);
558     } finally {
559         _releaseReply ($in);
560     }
561   } // ref_itself
562

563   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
564   {
565     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
566     try {
567        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_package", true);
568        $in = _invoke ($out);
569        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
570        return $result;
571     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
572        $in = $ex.getInputStream ();
573        String JavaDoc _id = $ex.getId ();
574        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
575     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
576        return ref_immediate_package ();
577     } finally {
578         _releaseReply ($in);
579     }
580   } // ref_immediate_package
581

582   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
583   {
584     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
585     try {
586        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
587        $in = _invoke ($out);
588        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
589        return $result;
590     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
591        $in = $ex.getInputStream ();
592        String JavaDoc _id = $ex.getId ();
593        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
594     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
595        return ref_outermost_package ();
596     } finally {
597         _releaseReply ($in);
598     }
599   } // ref_outermost_package
600

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

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

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

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

690   public void set_annotation (String JavaDoc new_value) throws 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 ("set_annotation", true);
695        $out.write_string (new_value);
696        $in = _invoke ($out);
697     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
698        $in = $ex.getInputStream ();
699        String JavaDoc _id = $ex.getId ();
700        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
701           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
702        else
703             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
704     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
705        set_annotation (new_value);
706     } finally {
707         _releaseReply ($in);
708     }
709   } // set_annotation
710

711
712   //
713
public String JavaDoc[] qualified_name () throws org.omg.mof.Reflective.MofError
714   {
715     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
716     try {
717        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("qualified_name", true);
718        $in = _invoke ($out);
719        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.read ($in);
720        return $result;
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        return qualified_name ();
730     } finally {
731         _releaseReply ($in);
732     }
733   } // qualified_name
734

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

761   public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError
762   {
763     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
764     try {
765        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_container", true);
766        org.omg.mof.Model.NamespaceHelper.write ($out, new_value);
767        $in = _invoke ($out);
768     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
769        $in = $ex.getInputStream ();
770        String JavaDoc _id = $ex.getId ();
771        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
772           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
773        else
774             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
775     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
776        set_container (new_value);
777     } finally {
778         _releaseReply ($in);
779     }
780   } // set_container
781

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

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

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

847   public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
848   {
849     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
850     try {
851        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_required_elements", true);
852        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
853        $in = _invoke ($out);
854     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
855        $in = $ex.getInputStream ();
856        String JavaDoc _id = $ex.getId ();
857        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        add_required_elements (new_element);
863     } finally {
864         _releaseReply ($in);
865     }
866   } // add_required_elements
867

868   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
869   {
870     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
871     try {
872        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
873        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
874        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
875        $in = _invoke ($out);
876     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
877        $in = $ex.getInputStream ();
878        String JavaDoc _id = $ex.getId ();
879        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
880           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
881        else 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        modify_required_elements (old_element, new_element);
887     } finally {
888         _releaseReply ($in);
889     }
890   } // modify_required_elements
891

892   public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, 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 ("remove_required_elements", true);
897        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
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/NotFound:1.0"))
903           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
904        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
905           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
906        else
907             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
908     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
909        remove_required_elements (old_element);
910     } finally {
911         _releaseReply ($in);
912     }
913   } // remove_required_elements
914

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

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

960   public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError
961   {
962     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
963     try {
964        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_constraints", true);
965        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
966        $in = _invoke ($out);
967     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
968        $in = $ex.getInputStream ();
969        String JavaDoc _id = $ex.getId ();
970        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        add_constraints (new_element);
976     } finally {
977         _releaseReply ($in);
978     }
979   } // add_constraints
980

981   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
982   {
983     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
984     try {
985        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
986        org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
987        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
988        $in = _invoke ($out);
989     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
990        $in = $ex.getInputStream ();
991        String JavaDoc _id = $ex.getId ();
992        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
993           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
994        else 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        modify_constraints (old_element, new_element);
1000    } finally {
1001        _releaseReply ($in);
1002    }
1003  } // modify_constraints
1004

1005  public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, 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 ("remove_constraints", true);
1010       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
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/NotFound:1.0"))
1016          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1017       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1018          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1019       else
1020            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1021    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1022       remove_constraints (old_element);
1023    } finally {
1024        _releaseReply ($in);
1025    }
1026  } // remove_constraints
1027

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

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

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

1094  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
1095  {
1096    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1097    try {
1098       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_contents_before", true);
1099       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1100       org.omg.mof.Model.ModelElementHelper.write ($out, before_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       add_contents_before (new_element, before_element);
1113    } finally {
1114        _releaseReply ($in);
1115    }
1116  } // add_contents_before
1117

1118  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
1119  {
1120    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1121    try {
1122       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_contents", true);
1123       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1124       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1125       $in = _invoke ($out);
1126    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1127       $in = $ex.getInputStream ();
1128       String JavaDoc _id = $ex.getId ();
1129       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1130          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1131       else 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       modify_contents (old_element, new_element);
1137    } finally {
1138        _releaseReply ($in);
1139    }
1140  } // modify_contents
1141

1142  public void remove_contents (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, 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 ("remove_contents", true);
1147       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
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/NotFound:1.0"))
1153          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1154       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1155          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1156       else
1157            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1158    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1159       remove_contents (old_element);
1160    } finally {
1161        _releaseReply ($in);
1162    }
1163  } // remove_contents
1164

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

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

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

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

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

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

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

1324  public void set_is_abstract (boolean new_value) 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 ("set_is_abstract", true);
1329       $out.write_boolean (new_value);
1330       $in = _invoke ($out);
1331    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1332       $in = $ex.getInputStream ();
1333       String JavaDoc _id = $ex.getId ();
1334       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1335          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1336       else
1337            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1338    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1339       set_is_abstract (new_value);
1340    } finally {
1341        _releaseReply ($in);
1342    }
1343  } // set_is_abstract
1344

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

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

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

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

1435  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
1436  {
1437    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1438    try {
1439       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_supertypes_before", true);
1440       org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
1441       org.omg.mof.Model.GeneralizableElementHelper.write ($out, before_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       add_supertypes_before (new_element, before_element);
1454    } finally {
1455        _releaseReply ($in);
1456    }
1457  } // add_supertypes_before
1458

1459  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
1460  {
1461    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1462    try {
1463       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_supertypes", true);
1464       org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element);
1465       org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
1466       $in = _invoke ($out);
1467    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1468       $in = $ex.getInputStream ();
1469       String JavaDoc _id = $ex.getId ();
1470       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1471          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1472       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1473          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1474       else
1475            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1476    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1477       modify_supertypes (old_element, new_element);
1478    } finally {
1479        _releaseReply ($in);
1480    }
1481  } // modify_supertypes
1482

1483  public void remove_supertypes (org.omg.mof.Model.GeneralizableElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1484  {
1485    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1486    try {
1487       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_supertypes", true);
1488       org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element);
1489       $in = _invoke ($out);
1490    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1491       $in = $ex.getInputStream ();
1492       String JavaDoc _id = $ex.getId ();
1493       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1494          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1495       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1496          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1497       else
1498            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1499    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1500       remove_supertypes (old_element);
1501    } finally {
1502        _releaseReply ($in);
1503    }
1504  } // remove_supertypes
1505

1506  // Type-specific CORBA::Object operations
1507
private static String JavaDoc[] __ids = {
1508    "IDL:org/omg/mof/Model/Package:1.0",
1509    "IDL:org/omg/mof/Model/PackageClass:1.0",
1510    "IDL:org/omg/mof/Model/GeneralizableElementClass:1.0",
1511    "IDL:org/omg/mof/Model/NamespaceClass:1.0",
1512    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1513    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1514    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1515    "IDL:org/omg/mof/Model/ModelElement:1.0",
1516    "IDL:org/omg/mof/Model/Namespace:1.0",
1517    "IDL:org/omg/mof/Model/GeneralizableElement:1.0"};
1518
1519  public String JavaDoc[] _ids ()
1520  {
1521    return (String JavaDoc[])__ids.clone ();
1522  }
1523
1524  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1525  {
1526     String JavaDoc str = s.readUTF ();
1527     String JavaDoc[] args = null;
1528     java.util.Properties JavaDoc props = null;
1529     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1530     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1531     _set_delegate (delegate);
1532  }
1533
1534  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1535  {
1536     String JavaDoc[] args = null;
1537     java.util.Properties JavaDoc props = null;
1538     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1539     s.writeUTF (str);
1540  }
1541} // class _PackageStub
1542
Popular Tags