KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_FeatureStub.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 FeatureClass
13
public class _FeatureStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.Feature
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 org.omg.mof.Model.ScopeKind scope () 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 ("scope", true);
68        $in = _invoke ($out);
69        org.omg.mof.Model.ScopeKind $result = org.omg.mof.Model.ScopeKindHelper.read ($in);
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 scope ();
80     } finally {
81         _releaseReply ($in);
82     }
83   } // scope
84

85   public void set_scope (org.omg.mof.Model.ScopeKind 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_scope", true);
90        org.omg.mof.Model.ScopeKindHelper.write ($out, 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_scope (new_value);
101     } finally {
102         _releaseReply ($in);
103     }
104   } // set_scope
105

106   public org.omg.mof.Model.Feature[] all_of_type_feature ()
107   {
108     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
109     try {
110        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_feature", true);
111        $in = _invoke ($out);
112        org.omg.mof.Model.Feature $result[] = org.omg.mof.Model.FeatureSetHelper.read ($in);
113        return $result;
114     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
115        $in = $ex.getInputStream ();
116        String JavaDoc _id = $ex.getId ();
117        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
118     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
119        return all_of_type_feature ();
120     } finally {
121         _releaseReply ($in);
122     }
123   } // all_of_type_feature
124

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

695   public void set_annotation (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
696   {
697     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
698     try {
699        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_annotation", true);
700        $out.write_string (new_value);
701        $in = _invoke ($out);
702     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
703        $in = $ex.getInputStream ();
704        String JavaDoc _id = $ex.getId ();
705        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
706           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
707        else
708             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
709     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
710        set_annotation (new_value);
711     } finally {
712         _releaseReply ($in);
713     }
714   } // set_annotation
715

716
717   //
718
public String JavaDoc[] qualified_name () throws org.omg.mof.Reflective.MofError
719   {
720     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
721     try {
722        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("qualified_name", true);
723        $in = _invoke ($out);
724        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.read ($in);
725        return $result;
726     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
727        $in = $ex.getInputStream ();
728        String JavaDoc _id = $ex.getId ();
729        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
730           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
731        else
732             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
733     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
734        return qualified_name ();
735     } finally {
736         _releaseReply ($in);
737     }
738   } // qualified_name
739

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

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

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

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

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

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

873   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
874   {
875     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
876     try {
877        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
878        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
879        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
880        $in = _invoke ($out);
881     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
882        $in = $ex.getInputStream ();
883        String JavaDoc _id = $ex.getId ();
884        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
885           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
886        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
887           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
888        else
889             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
890     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
891        modify_required_elements (old_element, new_element);
892     } finally {
893         _releaseReply ($in);
894     }
895   } // modify_required_elements
896

897   public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
898   {
899     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
900     try {
901        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_required_elements", true);
902        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
903        $in = _invoke ($out);
904     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
905        $in = $ex.getInputStream ();
906        String JavaDoc _id = $ex.getId ();
907        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
908           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
909        else 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        remove_required_elements (old_element);
915     } finally {
916         _releaseReply ($in);
917     }
918   } // remove_required_elements
919

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

944   public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError
945   {
946     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
947     try {
948        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_constraints", true);
949        org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value);
950        $in = _invoke ($out);
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        set_constraints (new_value);
960     } finally {
961         _releaseReply ($in);
962     }
963   } // set_constraints
964

965   public void add_constraints (org.omg.mof.Model.Constraint new_element) 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 ("add_constraints", true);
970        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
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        add_constraints (new_element);
981     } finally {
982         _releaseReply ($in);
983     }
984   } // add_constraints
985

986   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
987   {
988     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
989     try {
990        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
991        org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
992        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
993        $in = _invoke ($out);
994     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
995        $in = $ex.getInputStream ();
996        String JavaDoc _id = $ex.getId ();
997        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
998           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
999        else 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       modify_constraints (old_element, new_element);
1005    } finally {
1006        _releaseReply ($in);
1007    }
1008  } // modify_constraints
1009

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

1033  // Type-specific CORBA::Object operations
1034
private static String JavaDoc[] __ids = {
1035    "IDL:org/omg/mof/Model/Feature:1.0",
1036    "IDL:org/omg/mof/Model/FeatureClass:1.0",
1037    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1038    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1039    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1040    "IDL:org/omg/mof/Model/ModelElement:1.0"};
1041
1042  public String JavaDoc[] _ids ()
1043  {
1044    return (String JavaDoc[])__ids.clone ();
1045  }
1046
1047  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1048  {
1049     String JavaDoc str = s.readUTF ();
1050     String JavaDoc[] args = null;
1051     java.util.Properties JavaDoc props = null;
1052     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1053     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1054     _set_delegate (delegate);
1055  }
1056
1057  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1058  {
1059     String JavaDoc[] args = null;
1060     java.util.Properties JavaDoc props = null;
1061     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1062     s.writeUTF (str);
1063  }
1064} // class _FeatureStub
1065
Popular Tags