KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_GeneralizableElementStub.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 GeneralizableElementClass
13
public class _GeneralizableElementStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.GeneralizableElement
14 {
15
16
17   //
18
public org.omg.mof.Model.VisibilityKind visibility () throws org.omg.mof.Reflective.MofError
19   {
20     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
21     try {
22        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("visibility", true);
23        $in = _invoke ($out);
24        org.omg.mof.Model.VisibilityKind $result = org.omg.mof.Model.VisibilityKindHelper.read ($in);
25        return $result;
26     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
27        $in = $ex.getInputStream ();
28        String JavaDoc _id = $ex.getId ();
29        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
30           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
31        else
32             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
33     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
34        return visibility ();
35     } finally {
36         _releaseReply ($in);
37     }
38   } // visibility
39

40   public void set_visibility (org.omg.mof.Model.VisibilityKind new_value) throws org.omg.mof.Reflective.MofError
41   {
42     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
43     try {
44        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_visibility", true);
45        org.omg.mof.Model.VisibilityKindHelper.write ($out, new_value);
46        $in = _invoke ($out);
47     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
48        $in = $ex.getInputStream ();
49        String JavaDoc _id = $ex.getId ();
50        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
51           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
52        else
53             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
54     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
55        set_visibility (new_value);
56     } finally {
57         _releaseReply ($in);
58     }
59   } // set_visibility
60

61
62   //
63
public boolean is_leaf () throws org.omg.mof.Reflective.MofError
64   {
65     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
66     try {
67        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_leaf", true);
68        $in = _invoke ($out);
69        boolean $result = $in.read_boolean ();
70        return $result;
71     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
72        $in = $ex.getInputStream ();
73        String JavaDoc _id = $ex.getId ();
74        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
75           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
76        else
77             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
78     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
79        return is_leaf ();
80     } finally {
81         _releaseReply ($in);
82     }
83   } // is_leaf
84

85   public void set_is_leaf (boolean new_value) throws org.omg.mof.Reflective.MofError
86   {
87     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
88     try {
89        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_leaf", true);
90        $out.write_boolean (new_value);
91        $in = _invoke ($out);
92     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
93        $in = $ex.getInputStream ();
94        String JavaDoc _id = $ex.getId ();
95        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
96           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
97        else
98             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
99     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
100        set_is_leaf (new_value);
101     } finally {
102         _releaseReply ($in);
103     }
104   } // set_is_leaf
105

106
107   //
108
public boolean is_root () throws org.omg.mof.Reflective.MofError
109   {
110     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
111     try {
112        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_root", true);
113        $in = _invoke ($out);
114        boolean $result = $in.read_boolean ();
115        return $result;
116     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
117        $in = $ex.getInputStream ();
118        String JavaDoc _id = $ex.getId ();
119        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
120           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
121        else
122             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
123     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
124        return is_root ();
125     } finally {
126         _releaseReply ($in);
127     }
128   } // is_root
129

130   public void set_is_root (boolean new_value) throws org.omg.mof.Reflective.MofError
131   {
132     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
133     try {
134        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_root", true);
135        $out.write_boolean (new_value);
136        $in = _invoke ($out);
137     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
138        $in = $ex.getInputStream ();
139        String JavaDoc _id = $ex.getId ();
140        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
141           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
142        else
143             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
144     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
145        set_is_root (new_value);
146     } finally {
147         _releaseReply ($in);
148     }
149   } // set_is_root
150

151
152   //
153
public boolean is_abstract () throws org.omg.mof.Reflective.MofError
154   {
155     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
156     try {
157        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_abstract", true);
158        $in = _invoke ($out);
159        boolean $result = $in.read_boolean ();
160        return $result;
161     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
162        $in = $ex.getInputStream ();
163        String JavaDoc _id = $ex.getId ();
164        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
165           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
166        else
167             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
168     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
169        return is_abstract ();
170     } finally {
171         _releaseReply ($in);
172     }
173   } // is_abstract
174

175   public void set_is_abstract (boolean new_value) throws org.omg.mof.Reflective.MofError
176   {
177     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
178     try {
179        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_abstract", true);
180        $out.write_boolean (new_value);
181        $in = _invoke ($out);
182     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
183        $in = $ex.getInputStream ();
184        String JavaDoc _id = $ex.getId ();
185        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
186           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
187        else
188             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
189     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
190        set_is_abstract (new_value);
191     } finally {
192         _releaseReply ($in);
193     }
194   } // set_is_abstract
195

196
197   //
198
public org.omg.mof.Model.GeneralizableElement[] all_supertypes () throws org.omg.mof.Reflective.MofError
199   {
200     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
201     try {
202        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("all_supertypes", true);
203        $in = _invoke ($out);
204        org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementUListHelper.read ($in);
205        return $result;
206     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
207        $in = $ex.getInputStream ();
208        String JavaDoc _id = $ex.getId ();
209        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
210           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
211        else
212             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
213     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
214        return all_supertypes ();
215     } finally {
216         _releaseReply ($in);
217     }
218   } // all_supertypes
219

220
221   //
222
public org.omg.mof.Model.GeneralizableElement[] supertypes () throws org.omg.mof.Reflective.MofError
223   {
224     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
225     try {
226        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("supertypes", true);
227        $in = _invoke ($out);
228        org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementListHelper.read ($in);
229        return $result;
230     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
231        $in = $ex.getInputStream ();
232        String JavaDoc _id = $ex.getId ();
233        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
234           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
235        else
236             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
237     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
238        return supertypes ();
239     } finally {
240         _releaseReply ($in);
241     }
242   } // supertypes
243

244   public void set_supertypes (org.omg.mof.Model.GeneralizableElement[] new_value) throws org.omg.mof.Reflective.MofError
245   {
246     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
247     try {
248        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_supertypes", true);
249        org.omg.mof.Model.GeneralizableElementListHelper.write ($out, new_value);
250        $in = _invoke ($out);
251     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
252        $in = $ex.getInputStream ();
253        String JavaDoc _id = $ex.getId ();
254        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
255           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
256        else
257             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
258     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
259        set_supertypes (new_value);
260     } finally {
261         _releaseReply ($in);
262     }
263   } // set_supertypes
264

265   public void add_supertypes (org.omg.mof.Model.GeneralizableElement new_element) throws org.omg.mof.Reflective.MofError
266   {
267     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
268     try {
269        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_supertypes", true);
270        org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
271        $in = _invoke ($out);
272     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
273        $in = $ex.getInputStream ();
274        String JavaDoc _id = $ex.getId ();
275        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
276           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
277        else
278             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
279     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
280        add_supertypes (new_element);
281     } finally {
282         _releaseReply ($in);
283     }
284   } // add_supertypes
285

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

310   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
311   {
312     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
313     try {
314        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_supertypes", true);
315        org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element);
316        org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
317        $in = _invoke ($out);
318     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
319        $in = $ex.getInputStream ();
320        String JavaDoc _id = $ex.getId ();
321        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
322           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
323        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
324           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
325        else
326             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
327     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
328        modify_supertypes (old_element, new_element);
329     } finally {
330         _releaseReply ($in);
331     }
332   } // modify_supertypes
333

334   public void remove_supertypes (org.omg.mof.Model.GeneralizableElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
335   {
336     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
337     try {
338        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_supertypes", true);
339        org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element);
340        $in = _invoke ($out);
341     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
342        $in = $ex.getInputStream ();
343        String JavaDoc _id = $ex.getId ();
344        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
345           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
346        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
347           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
348        else
349             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
350     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
351        remove_supertypes (old_element);
352     } finally {
353         _releaseReply ($in);
354     }
355   } // remove_supertypes
356

357   public org.omg.mof.Model.GeneralizableElement[] all_of_type_generalizable_element ()
358   {
359     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
360     try {
361        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_generalizable_element", true);
362        $in = _invoke ($out);
363        org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementSetHelper.read ($in);
364        return $result;
365     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
366        $in = $ex.getInputStream ();
367        String JavaDoc _id = $ex.getId ();
368        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
369     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
370        return all_of_type_generalizable_element ();
371     } finally {
372         _releaseReply ($in);
373     }
374   } // all_of_type_generalizable_element
375

376   public org.omg.mof.Model.Namespace[] all_of_type_namespace ()
377   {
378     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
379     try {
380        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_namespace", true);
381        $in = _invoke ($out);
382        org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.read ($in);
383        return $result;
384     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
385        $in = $ex.getInputStream ();
386        String JavaDoc _id = $ex.getId ();
387        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
388     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
389        return all_of_type_namespace ();
390     } finally {
391         _releaseReply ($in);
392     }
393   } // all_of_type_namespace
394

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

414   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
415   {
416     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
417     try {
418        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
419        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
420        $out.write_boolean (consider_subtypes);
421        $in = _invoke ($out);
422        boolean $result = $in.read_boolean ();
423        return $result;
424     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
425        $in = $ex.getInputStream ();
426        String JavaDoc _id = $ex.getId ();
427        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
428     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
429        return ref_is_instance_of (some_class, consider_subtypes);
430     } finally {
431         _releaseReply ($in);
432     }
433   } // ref_is_instance_of
434

435   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
436   {
437     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
438     try {
439        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
440        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
441        $in = _invoke ($out);
442        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
443        return $result;
444     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
445        $in = $ex.getInputStream ();
446        String JavaDoc _id = $ex.getId ();
447        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_create_instance (args);
453     } finally {
454         _releaseReply ($in);
455     }
456   } // ref_create_instance
457

458   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
459   {
460     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
461     try {
462        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
463        $out.write_boolean (include_subtypes);
464        $in = _invoke ($out);
465        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.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_all_objects (include_subtypes);
473     } finally {
474         _releaseReply ($in);
475     }
476   } // ref_all_objects
477

478   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws 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_set_value", true);
483        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
484        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
485        $in = _invoke ($out);
486     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
487        $in = $ex.getInputStream ();
488        String JavaDoc _id = $ex.getId ();
489        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
490           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
491        else
492             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
493     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
494        ref_set_value (feature, new_value);
495     } finally {
496         _releaseReply ($in);
497     }
498   } // ref_set_value
499

500   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
501   {
502     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
503     try {
504        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
505        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
506        $in = _invoke ($out);
507        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
508        return $result;
509     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
510        $in = $ex.getInputStream ();
511        String JavaDoc _id = $ex.getId ();
512        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
513           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
514        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
515           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
516        else
517             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
518     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
519        return ref_value (feature);
520     } finally {
521         _releaseReply ($in);
522     }
523   } // ref_value
524

525   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
526   {
527     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
528     try {
529        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
530        $in = _invoke ($out);
531     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
532        $in = $ex.getInputStream ();
533        String JavaDoc _id = $ex.getId ();
534        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
535           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
536        else
537             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
538     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
539        ref_unset_value ();
540     } finally {
541         _releaseReply ($in);
542     }
543   } // ref_unset_value
544

545   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws org.omg.mof.Reflective.MofError
546   {
547     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
548     try {
549        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value", true);
550        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
551        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
552        $in = _invoke ($out);
553     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
554        $in = $ex.getInputStream ();
555        String JavaDoc _id = $ex.getId ();
556        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
557           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
558        else
559             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
560     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
561        ref_add_value (feature, new_element);
562     } finally {
563         _releaseReply ($in);
564     }
565   } // ref_add_value
566

567   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
568   {
569     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
570     try {
571        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_before", true);
572        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
573        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
574        org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element);
575        $in = _invoke ($out);
576     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
577        $in = $ex.getInputStream ();
578        String JavaDoc _id = $ex.getId ();
579        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
580           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
581        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
582           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
583        else
584             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
585     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
586        ref_add_value_before (feature, new_element, before_element);
587     } finally {
588         _releaseReply ($in);
589     }
590   } // ref_add_value_before
591

592   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
593   {
594     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
595     try {
596        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_at", true);
597        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
598        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
599        $out.write_ulong (position);
600        $in = _invoke ($out);
601     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
602        $in = $ex.getInputStream ();
603        String JavaDoc _id = $ex.getId ();
604        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
605           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
606        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
607           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
608        else
609             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
610     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
611        ref_add_value_at (feature, new_element, position);
612     } finally {
613         _releaseReply ($in);
614     }
615   } // ref_add_value_at
616

617   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
618   {
619     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
620     try {
621        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value", true);
622        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
623        org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element);
624        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
625        $in = _invoke ($out);
626     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
627        $in = $ex.getInputStream ();
628        String JavaDoc _id = $ex.getId ();
629        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
630           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
631        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
632           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
633        else
634             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
635     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
636        ref_modify_value (feature, old_element, new_element);
637     } finally {
638         _releaseReply ($in);
639     }
640   } // ref_modify_value
641

642   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
643   {
644     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
645     try {
646        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value_at", true);
647        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
648        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
649        $out.write_ulong (position);
650        $in = _invoke ($out);
651     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
652        $in = $ex.getInputStream ();
653        String JavaDoc _id = $ex.getId ();
654        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
655           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
656        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
657           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
658        else
659             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
660     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
661        ref_modify_value_at (feature, new_element, position);
662     } finally {
663         _releaseReply ($in);
664     }
665   } // ref_modify_value_at
666

667   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
668   {
669     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
670     try {
671        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value", true);
672        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
673        org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element);
674        $in = _invoke ($out);
675     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
676        $in = $ex.getInputStream ();
677        String JavaDoc _id = $ex.getId ();
678        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
679           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
680        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
681           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
682        else
683             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
684     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
685        ref_remove_value (feature, existing_element);
686     } finally {
687         _releaseReply ($in);
688     }
689   } // ref_remove_value
690

691   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
692   {
693     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
694     try {
695        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
696        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
697        $out.write_ulong (position);
698        $in = _invoke ($out);
699     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
700        $in = $ex.getInputStream ();
701        String JavaDoc _id = $ex.getId ();
702        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
703           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
704        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
705           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
706        else
707             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
708     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
709        ref_remove_value_at (feature, position);
710     } finally {
711         _releaseReply ($in);
712     }
713   } // ref_remove_value_at
714

715   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
716   {
717     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
718     try {
719        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_composite", true);
720        $in = _invoke ($out);
721        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
722        return $result;
723     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
724        $in = $ex.getInputStream ();
725        String JavaDoc _id = $ex.getId ();
726        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
727     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
728        return ref_immediate_composite ();
729     } finally {
730         _releaseReply ($in);
731     }
732   } // ref_immediate_composite
733

734   public org.omg.mof.Reflective.RefObject ref_outermost_composite ()
735   {
736     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
737     try {
738        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_composite", true);
739        $in = _invoke ($out);
740        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
741        return $result;
742     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
743        $in = $ex.getInputStream ();
744        String JavaDoc _id = $ex.getId ();
745        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
746     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
747        return ref_outermost_composite ();
748     } finally {
749         _releaseReply ($in);
750     }
751   } // ref_outermost_composite
752

753   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
754   {
755     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
756     try {
757        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
758        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
759        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
760        $in = _invoke ($out);
761        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
762        args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in);
763        return $result;
764     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
765        $in = $ex.getInputStream ();
766        String JavaDoc _id = $ex.getId ();
767        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
768           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
769        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
770           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
771        else
772             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
773     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
774        return ref_invoke_operation (requested_operation, args);
775     } finally {
776         _releaseReply ($in);
777     }
778   } // ref_invoke_operation
779

780   public String JavaDoc ref_mof_id ()
781   {
782     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
783     try {
784        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
785        $in = _invoke ($out);
786        String JavaDoc $result = $in.read_string ();
787        return $result;
788     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
789        $in = $ex.getInputStream ();
790        String JavaDoc _id = $ex.getId ();
791        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
792     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
793        return ref_mof_id ();
794     } finally {
795         _releaseReply ($in);
796     }
797   } // ref_mof_id
798

799   public org.omg.mof.Reflective.RefObject ref_meta_object ()
800   {
801     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
802     try {
803        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_meta_object", true);
804        $in = _invoke ($out);
805        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in);
806        return $result;
807     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
808        $in = $ex.getInputStream ();
809        String JavaDoc _id = $ex.getId ();
810        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
811     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
812        return ref_meta_object ();
813     } finally {
814         _releaseReply ($in);
815     }
816   } // ref_meta_object
817

818   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
819   {
820     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
821     try {
822        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
823        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
824        $in = _invoke ($out);
825        boolean $result = $in.read_boolean ();
826        return $result;
827     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
828        $in = $ex.getInputStream ();
829        String JavaDoc _id = $ex.getId ();
830        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
831     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
832        return ref_itself (other_object);
833     } finally {
834         _releaseReply ($in);
835     }
836   } // ref_itself
837

838   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
839   {
840     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
841     try {
842        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_package", true);
843        $in = _invoke ($out);
844        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
845        return $result;
846     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
847        $in = $ex.getInputStream ();
848        String JavaDoc _id = $ex.getId ();
849        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
850     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
851        return ref_immediate_package ();
852     } finally {
853         _releaseReply ($in);
854     }
855   } // ref_immediate_package
856

857   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
858   {
859     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
860     try {
861        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
862        $in = _invoke ($out);
863        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
864        return $result;
865     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
866        $in = $ex.getInputStream ();
867        String JavaDoc _id = $ex.getId ();
868        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
869     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
870        return ref_outermost_package ();
871     } finally {
872         _releaseReply ($in);
873     }
874   } // ref_outermost_package
875

876   public void ref_delete () throws org.omg.mof.Reflective.MofError
877   {
878     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
879     try {
880        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_delete", true);
881        $in = _invoke ($out);
882     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
883        $in = $ex.getInputStream ();
884        String JavaDoc _id = $ex.getId ();
885        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
886           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
887        else
888             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
889     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
890        ref_delete ();
891     } finally {
892         _releaseReply ($in);
893     }
894   } // ref_delete
895

896
897   //
898
public String JavaDoc name () throws org.omg.mof.Reflective.MofError
899   {
900     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
901     try {
902        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("name", true);
903        $in = _invoke ($out);
904        String JavaDoc $result = $in.read_string ();
905        return $result;
906     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
907        $in = $ex.getInputStream ();
908        String JavaDoc _id = $ex.getId ();
909        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
910           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
911        else
912             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
913     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
914        return name ();
915     } finally {
916         _releaseReply ($in);
917     }
918   } // name
919

920   public void set_name (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
921   {
922     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
923     try {
924        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_name", true);
925        $out.write_string (new_value);
926        $in = _invoke ($out);
927     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
928        $in = $ex.getInputStream ();
929        String JavaDoc _id = $ex.getId ();
930        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
931           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
932        else
933             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
934     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
935        set_name (new_value);
936     } finally {
937         _releaseReply ($in);
938     }
939   } // set_name
940

941
942   //
943
public String JavaDoc annotation () throws org.omg.mof.Reflective.MofError
944   {
945     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
946     try {
947        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("annotation", true);
948        $in = _invoke ($out);
949        String JavaDoc $result = $in.read_string ();
950        return $result;
951     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
952        $in = $ex.getInputStream ();
953        String JavaDoc _id = $ex.getId ();
954        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
955           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
956        else
957             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
958     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
959        return annotation ();
960     } finally {
961         _releaseReply ($in);
962     }
963   } // annotation
964

965   public void set_annotation (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
966   {
967     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
968     try {
969        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_annotation", true);
970        $out.write_string (new_value);
971        $in = _invoke ($out);
972     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
973        $in = $ex.getInputStream ();
974        String JavaDoc _id = $ex.getId ();
975        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
976           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
977        else
978             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
979     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
980        set_annotation (new_value);
981     } finally {
982         _releaseReply ($in);
983     }
984   } // set_annotation
985

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

1010
1011  //
1012
public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError
1013  {
1014    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1015    try {
1016       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("container", true);
1017       $in = _invoke ($out);
1018       org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in);
1019       return $result;
1020    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1021       $in = $ex.getInputStream ();
1022       String JavaDoc _id = $ex.getId ();
1023       if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
1024          throw org.omg.mof.Reflective.NotSetHelper.read ($in);
1025       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1026          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1027       else
1028            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1029    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1030       return container ();
1031    } finally {
1032        _releaseReply ($in);
1033    }
1034  } // container
1035

1036  public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError
1037  {
1038    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1039    try {
1040       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_container", true);
1041       org.omg.mof.Model.NamespaceHelper.write ($out, new_value);
1042       $in = _invoke ($out);
1043    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1044       $in = $ex.getInputStream ();
1045       String JavaDoc _id = $ex.getId ();
1046       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1047          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1048       else
1049            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1050    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1051       set_container (new_value);
1052    } finally {
1053        _releaseReply ($in);
1054    }
1055  } // set_container
1056

1057  public void unset_container () throws org.omg.mof.Reflective.MofError
1058  {
1059    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1060    try {
1061       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("unset_container", true);
1062       $in = _invoke ($out);
1063    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1064       $in = $ex.getInputStream ();
1065       String JavaDoc _id = $ex.getId ();
1066       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1067          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1068       else
1069            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1070    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1071       unset_container ();
1072    } finally {
1073        _releaseReply ($in);
1074    }
1075  } // unset_container
1076

1077
1078  //
1079
public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError
1080  {
1081    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1082    try {
1083       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("required_elements", true);
1084       $in = _invoke ($out);
1085       org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in);
1086       return $result;
1087    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1088       $in = $ex.getInputStream ();
1089       String JavaDoc _id = $ex.getId ();
1090       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1091          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1092       else
1093            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1094    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1095       return required_elements ();
1096    } finally {
1097        _releaseReply ($in);
1098    }
1099  } // required_elements
1100

1101  public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError
1102  {
1103    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1104    try {
1105       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_required_elements", true);
1106       org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value);
1107       $in = _invoke ($out);
1108    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1109       $in = $ex.getInputStream ();
1110       String JavaDoc _id = $ex.getId ();
1111       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1112          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1113       else
1114            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1115    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1116       set_required_elements (new_value);
1117    } finally {
1118        _releaseReply ($in);
1119    }
1120  } // set_required_elements
1121

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

1143  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
1144  {
1145    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1146    try {
1147       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
1148       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1149       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1150       $in = _invoke ($out);
1151    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1152       $in = $ex.getInputStream ();
1153       String JavaDoc _id = $ex.getId ();
1154       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1155          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1156       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1157          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1158       else
1159            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1160    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1161       modify_required_elements (old_element, new_element);
1162    } finally {
1163        _releaseReply ($in);
1164    }
1165  } // modify_required_elements
1166

1167  public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, 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 ("remove_required_elements", true);
1172       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1173       $in = _invoke ($out);
1174    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1175       $in = $ex.getInputStream ();
1176       String JavaDoc _id = $ex.getId ();
1177       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1178          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1179       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1180          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1181       else
1182            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1183    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1184       remove_required_elements (old_element);
1185    } finally {
1186        _releaseReply ($in);
1187    }
1188  } // remove_required_elements
1189

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

1214  public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError
1215  {
1216    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1217    try {
1218       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_constraints", true);
1219       org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value);
1220       $in = _invoke ($out);
1221    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1222       $in = $ex.getInputStream ();
1223       String JavaDoc _id = $ex.getId ();
1224       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1225          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1226       else
1227            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1228    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1229       set_constraints (new_value);
1230    } finally {
1231        _releaseReply ($in);
1232    }
1233  } // set_constraints
1234

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

1256  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
1257  {
1258    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1259    try {
1260       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
1261       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
1262       org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
1263       $in = _invoke ($out);
1264    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1265       $in = $ex.getInputStream ();
1266       String JavaDoc _id = $ex.getId ();
1267       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1268          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1269       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1270          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1271       else
1272            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1273    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1274       modify_constraints (old_element, new_element);
1275    } finally {
1276        _releaseReply ($in);
1277    }
1278  } // modify_constraints
1279

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

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

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

1348  public void add_contents (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
1349  {
1350    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1351    try {
1352       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_contents", true);
1353       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1354       $in = _invoke ($out);
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       add_contents (new_element);
1364    } finally {
1365        _releaseReply ($in);
1366    }
1367  } // add_contents
1368

1369  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
1370  {
1371    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1372    try {
1373       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_contents_before", true);
1374       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1375       org.omg.mof.Model.ModelElementHelper.write ($out, before_element);
1376       $in = _invoke ($out);
1377    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1378       $in = $ex.getInputStream ();
1379       String JavaDoc _id = $ex.getId ();
1380       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1381          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1382       else 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       add_contents_before (new_element, before_element);
1388    } finally {
1389        _releaseReply ($in);
1390    }
1391  } // add_contents_before
1392

1393  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
1394  {
1395    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1396    try {
1397       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_contents", true);
1398       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1399       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1400       $in = _invoke ($out);
1401    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1402       $in = $ex.getInputStream ();
1403       String JavaDoc _id = $ex.getId ();
1404       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1405          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1406       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1407          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1408       else
1409            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1410    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1411       modify_contents (old_element, new_element);
1412    } finally {
1413        _releaseReply ($in);
1414    }
1415  } // modify_contents
1416

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

1440  // Type-specific CORBA::Object operations
1441
private static String JavaDoc[] __ids = {
1442    "IDL:org/omg/mof/Model/GeneralizableElement:1.0",
1443    "IDL:org/omg/mof/Model/GeneralizableElementClass:1.0",
1444    "IDL:org/omg/mof/Model/NamespaceClass:1.0",
1445    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1446    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1447    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1448    "IDL:org/omg/mof/Model/ModelElement:1.0",
1449    "IDL:org/omg/mof/Model/Namespace:1.0"};
1450
1451  public String JavaDoc[] _ids ()
1452  {
1453    return (String JavaDoc[])__ids.clone ();
1454  }
1455
1456  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1457  {
1458     String JavaDoc str = s.readUTF ();
1459     String JavaDoc[] args = null;
1460     java.util.Properties JavaDoc props = null;
1461     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1462     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1463     _set_delegate (delegate);
1464  }
1465
1466  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1467  {
1468     String JavaDoc[] args = null;
1469     java.util.Properties JavaDoc props = null;
1470     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1471     s.writeUTF (str);
1472  }
1473} // class _GeneralizableElementStub
1474
Popular Tags