KickJava   Java API By Example, From Geeks To Geeks.

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


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

35   public org.omg.mof.Model.MofException[] all_of_class_mof_exception ()
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_mof_exception", true);
40        $in = _invoke ($out);
41        org.omg.mof.Model.MofException $result[] = org.omg.mof.Model.MofExceptionSetHelper.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_mof_exception ();
49     } finally {
50         _releaseReply ($in);
51     }
52   } // all_of_class_mof_exception
53

54   public org.omg.mof.Model.MofException create_mof_exception (String JavaDoc name, String JavaDoc annotation, org.omg.mof.Model.VisibilityKind visibility, org.omg.mof.Model.ScopeKind scope) 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_mof_exception", true);
59        $out.write_string (name);
60        $out.write_string (annotation);
61        org.omg.mof.Model.VisibilityKindHelper.write ($out, visibility);
62        org.omg.mof.Model.ScopeKindHelper.write ($out, scope);
63        $in = _invoke ($out);
64        org.omg.mof.Model.MofException $result = org.omg.mof.Model.MofExceptionHelper.read ($in);
65        return $result;
66     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
67        $in = $ex.getInputStream ();
68        String JavaDoc _id = $ex.getId ();
69        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
70           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
71        else
72             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
73     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
74        return create_mof_exception (name, annotation, visibility, scope);
75     } finally {
76         _releaseReply ($in);
77     }
78   } // create_mof_exception
79

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

619   public org.omg.mof.Model.Feature[] all_of_type_feature ()
620   {
621     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
622     try {
623        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_feature", true);
624        $in = _invoke ($out);
625        org.omg.mof.Model.Feature $result[] = org.omg.mof.Model.FeatureSetHelper.read ($in);
626        return $result;
627     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
628        $in = $ex.getInputStream ();
629        String JavaDoc _id = $ex.getId ();
630        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
631     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
632        return all_of_type_feature ();
633     } finally {
634         _releaseReply ($in);
635     }
636   } // all_of_type_feature
637

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

662   public void set_name (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
663   {
664     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
665     try {
666        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_name", true);
667        $out.write_string (new_value);
668        $in = _invoke ($out);
669     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
670        $in = $ex.getInputStream ();
671        String JavaDoc _id = $ex.getId ();
672        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
673           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
674        else
675             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
676     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
677        set_name (new_value);
678     } finally {
679         _releaseReply ($in);
680     }
681   } // set_name
682

683
684   //
685
public String JavaDoc annotation () throws org.omg.mof.Reflective.MofError
686   {
687     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
688     try {
689        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("annotation", true);
690        $in = _invoke ($out);
691        String JavaDoc $result = $in.read_string ();
692        return $result;
693     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
694        $in = $ex.getInputStream ();
695        String JavaDoc _id = $ex.getId ();
696        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
697           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
698        else
699             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
700     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
701        return annotation ();
702     } finally {
703         _releaseReply ($in);
704     }
705   } // annotation
706

707   public void set_annotation (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
708   {
709     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
710     try {
711        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_annotation", true);
712        $out.write_string (new_value);
713        $in = _invoke ($out);
714     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
715        $in = $ex.getInputStream ();
716        String JavaDoc _id = $ex.getId ();
717        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
718           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
719        else
720             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
721     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
722        set_annotation (new_value);
723     } finally {
724         _releaseReply ($in);
725     }
726   } // set_annotation
727

728
729   //
730
public String JavaDoc[] qualified_name () throws org.omg.mof.Reflective.MofError
731   {
732     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
733     try {
734        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("qualified_name", true);
735        $in = _invoke ($out);
736        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.read ($in);
737        return $result;
738     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
739        $in = $ex.getInputStream ();
740        String JavaDoc _id = $ex.getId ();
741        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
742           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
743        else
744             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
745     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
746        return qualified_name ();
747     } finally {
748         _releaseReply ($in);
749     }
750   } // qualified_name
751

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

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

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

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

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

864   public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
865   {
866     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
867     try {
868        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_required_elements", true);
869        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
870        $in = _invoke ($out);
871     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
872        $in = $ex.getInputStream ();
873        String JavaDoc _id = $ex.getId ();
874        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
875           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
876        else
877             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
878     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
879        add_required_elements (new_element);
880     } finally {
881         _releaseReply ($in);
882     }
883   } // add_required_elements
884

885   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
886   {
887     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
888     try {
889        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
890        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
891        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
892        $in = _invoke ($out);
893     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
894        $in = $ex.getInputStream ();
895        String JavaDoc _id = $ex.getId ();
896        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
897           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
898        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
899           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
900        else
901             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
902     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
903        modify_required_elements (old_element, new_element);
904     } finally {
905         _releaseReply ($in);
906     }
907   } // modify_required_elements
908

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

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

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

977   public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError
978   {
979     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
980     try {
981        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_constraints", true);
982        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
983        $in = _invoke ($out);
984     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
985        $in = $ex.getInputStream ();
986        String JavaDoc _id = $ex.getId ();
987        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
988           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
989        else
990             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
991     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
992        add_constraints (new_element);
993     } finally {
994         _releaseReply ($in);
995     }
996   } // add_constraints
997

998   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
999   {
1000    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1001    try {
1002       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
1003       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
1004       org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
1005       $in = _invoke ($out);
1006    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1007       $in = $ex.getInputStream ();
1008       String JavaDoc _id = $ex.getId ();
1009       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1010          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1011       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1012          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1013       else
1014            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1015    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1016       modify_constraints (old_element, new_element);
1017    } finally {
1018        _releaseReply ($in);
1019    }
1020  } // modify_constraints
1021

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

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

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

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

1111  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
1112  {
1113    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1114    try {
1115       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_contents_before", true);
1116       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1117       org.omg.mof.Model.ModelElementHelper.write ($out, before_element);
1118       $in = _invoke ($out);
1119    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1120       $in = $ex.getInputStream ();
1121       String JavaDoc _id = $ex.getId ();
1122       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1123          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1124       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1125          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1126       else
1127            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1128    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1129       add_contents_before (new_element, before_element);
1130    } finally {
1131        _releaseReply ($in);
1132    }
1133  } // add_contents_before
1134

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

1159  public void remove_contents (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1160  {
1161    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1162    try {
1163       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_contents", true);
1164       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1165       $in = _invoke ($out);
1166    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1167       $in = $ex.getInputStream ();
1168       String JavaDoc _id = $ex.getId ();
1169       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1170          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1171       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1172          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1173       else
1174            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1175    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1176       remove_contents (old_element);
1177    } finally {
1178        _releaseReply ($in);
1179    }
1180  } // remove_contents
1181

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

1206  public void set_visibility (org.omg.mof.Model.VisibilityKind new_value) throws org.omg.mof.Reflective.MofError
1207  {
1208    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1209    try {
1210       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_visibility", true);
1211       org.omg.mof.Model.VisibilityKindHelper.write ($out, new_value);
1212       $in = _invoke ($out);
1213    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1214       $in = $ex.getInputStream ();
1215       String JavaDoc _id = $ex.getId ();
1216       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1217          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1218       else
1219            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1220    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1221       set_visibility (new_value);
1222    } finally {
1223        _releaseReply ($in);
1224    }
1225  } // set_visibility
1226

1227
1228  //
1229
public org.omg.mof.Model.ScopeKind scope () throws org.omg.mof.Reflective.MofError
1230  {
1231    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1232    try {
1233       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("scope", true);
1234       $in = _invoke ($out);
1235       org.omg.mof.Model.ScopeKind $result = org.omg.mof.Model.ScopeKindHelper.read ($in);
1236       return $result;
1237    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1238       $in = $ex.getInputStream ();
1239       String JavaDoc _id = $ex.getId ();
1240       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1241          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1242       else
1243            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1244    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1245       return scope ();
1246    } finally {
1247        _releaseReply ($in);
1248    }
1249  } // scope
1250

1251  public void set_scope (org.omg.mof.Model.ScopeKind new_value) throws org.omg.mof.Reflective.MofError
1252  {
1253    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1254    try {
1255       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_scope", true);
1256       org.omg.mof.Model.ScopeKindHelper.write ($out, new_value);
1257       $in = _invoke ($out);
1258    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1259       $in = $ex.getInputStream ();
1260       String JavaDoc _id = $ex.getId ();
1261       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1262          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1263       else
1264            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1265    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1266       set_scope (new_value);
1267    } finally {
1268        _releaseReply ($in);
1269    }
1270  } // set_scope
1271

1272  // Type-specific CORBA::Object operations
1273
private static String JavaDoc[] __ids = {
1274    "IDL:org/omg/mof/Model/MofException:1.0",
1275    "IDL:org/omg/mof/Model/MofExceptionClass:1.0",
1276    "IDL:org/omg/mof/Model/BehavioralFeatureClass:1.0",
1277    "IDL:org/omg/mof/Model/NamespaceClass:1.0",
1278    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1279    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1280    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1281    "IDL:org/omg/mof/Model/FeatureClass:1.0",
1282    "IDL:org/omg/mof/Model/ModelElement:1.0",
1283    "IDL:org/omg/mof/Model/Namespace:1.0",
1284    "IDL:org/omg/mof/Model/Feature:1.0",
1285    "IDL:org/omg/mof/Model/BehavioralFeature:1.0"};
1286
1287  public String JavaDoc[] _ids ()
1288  {
1289    return (String JavaDoc[])__ids.clone ();
1290  }
1291
1292  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1293  {
1294     String JavaDoc str = s.readUTF ();
1295     String JavaDoc[] args = null;
1296     java.util.Properties JavaDoc props = null;
1297     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1298     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1299     _set_delegate (delegate);
1300  }
1301
1302  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1303  {
1304     String JavaDoc[] args = null;
1305     java.util.Properties JavaDoc props = null;
1306     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1307     s.writeUTF (str);
1308  }
1309} // class _MofExceptionStub
1310
Popular Tags