KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_StructuralFeatureStub.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 StructuralFeatureClass
13
public class _StructuralFeatureStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.StructuralFeature
14 {
15
16
17   //
18
public org.omg.mof.Model.MultiplicityType multiplicity () 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 ("multiplicity", true);
23        $in = _invoke ($out);
24        org.omg.mof.Model.MultiplicityType $result = org.omg.mof.Model.MultiplicityTypeHelper.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 multiplicity ();
35     } finally {
36         _releaseReply ($in);
37     }
38   } // multiplicity
39

40   public void set_multiplicity (org.omg.mof.Model.MultiplicityType 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_multiplicity", true);
45        org.omg.mof.Model.MultiplicityTypeHelper.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_multiplicity (new_value);
56     } finally {
57         _releaseReply ($in);
58     }
59   } // set_multiplicity
60

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

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

106   public org.omg.mof.Model.StructuralFeature[] all_of_type_structural_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_structural_feature", true);
111        $in = _invoke ($out);
112        org.omg.mof.Model.StructuralFeature $result[] = org.omg.mof.Model.StructuralFeatureSetHelper.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_structural_feature ();
120     } finally {
121         _releaseReply ($in);
122     }
123   } // all_of_type_structural_feature
124

125   public org.omg.mof.Model.TypedElement[] all_of_type_typed_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_typed_element", true);
130        $in = _invoke ($out);
131        org.omg.mof.Model.TypedElement $result[] = org.omg.mof.Model.TypedElementSetHelper.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_typed_element ();
139     } finally {
140         _releaseReply ($in);
141     }
142   } // all_of_type_typed_element
143

144   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
145   {
146     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
147     try {
148        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
149        $in = _invoke ($out);
150        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in);
151        return $result;
152     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
153        $in = $ex.getInputStream ();
154        String JavaDoc _id = $ex.getId ();
155        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
156     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
157        return all_of_type_model_element ();
158     } finally {
159         _releaseReply ($in);
160     }
161   } // all_of_type_model_element
162

163   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
164   {
165     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
166     try {
167        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
168        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
169        $out.write_boolean (consider_subtypes);
170        $in = _invoke ($out);
171        boolean $result = $in.read_boolean ();
172        return $result;
173     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
174        $in = $ex.getInputStream ();
175        String JavaDoc _id = $ex.getId ();
176        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
177     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
178        return ref_is_instance_of (some_class, consider_subtypes);
179     } finally {
180         _releaseReply ($in);
181     }
182   } // ref_is_instance_of
183

184   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
185   {
186     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
187     try {
188        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
189        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
190        $in = _invoke ($out);
191        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
192        return $result;
193     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
194        $in = $ex.getInputStream ();
195        String JavaDoc _id = $ex.getId ();
196        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
197           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
198        else
199             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
200     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
201        return ref_create_instance (args);
202     } finally {
203         _releaseReply ($in);
204     }
205   } // ref_create_instance
206

207   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
208   {
209     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
210     try {
211        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
212        $out.write_boolean (include_subtypes);
213        $in = _invoke ($out);
214        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
215        return $result;
216     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
217        $in = $ex.getInputStream ();
218        String JavaDoc _id = $ex.getId ();
219        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
220     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
221        return ref_all_objects (include_subtypes);
222     } finally {
223         _releaseReply ($in);
224     }
225   } // ref_all_objects
226

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

249   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
250   {
251     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
252     try {
253        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
254        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
255        $in = _invoke ($out);
256        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
257        return $result;
258     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
259        $in = $ex.getInputStream ();
260        String JavaDoc _id = $ex.getId ();
261        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
262           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
263        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
264           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
265        else
266             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
267     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
268        return ref_value (feature);
269     } finally {
270         _releaseReply ($in);
271     }
272   } // ref_value
273

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

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

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

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

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

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

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

440   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
441   {
442     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
443     try {
444        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
445        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
446        $out.write_ulong (position);
447        $in = _invoke ($out);
448     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
449        $in = $ex.getInputStream ();
450        String JavaDoc _id = $ex.getId ();
451        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
452           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
453        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
454           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
455        else
456             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
457     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
458        ref_remove_value_at (feature, position);
459     } finally {
460         _releaseReply ($in);
461     }
462   } // ref_remove_value_at
463

464   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
465   {
466     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
467     try {
468        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_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_immediate_composite ();
478     } finally {
479         _releaseReply ($in);
480     }
481   } // ref_immediate_composite
482

483   public org.omg.mof.Reflective.RefObject ref_outermost_composite ()
484   {
485     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
486     try {
487        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_composite", true);
488        $in = _invoke ($out);
489        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
490        return $result;
491     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
492        $in = $ex.getInputStream ();
493        String JavaDoc _id = $ex.getId ();
494        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
495     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
496        return ref_outermost_composite ();
497     } finally {
498         _releaseReply ($in);
499     }
500   } // ref_outermost_composite
501

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

529   public String JavaDoc ref_mof_id ()
530   {
531     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
532     try {
533        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
534        $in = _invoke ($out);
535        String JavaDoc $result = $in.read_string ();
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_mof_id ();
543     } finally {
544         _releaseReply ($in);
545     }
546   } // ref_mof_id
547

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

567   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
568   {
569     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
570     try {
571        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
572        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
573        $in = _invoke ($out);
574        boolean $result = $in.read_boolean ();
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_itself (other_object);
582     } finally {
583         _releaseReply ($in);
584     }
585   } // ref_itself
586

587   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
588   {
589     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
590     try {
591        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_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_immediate_package ();
601     } finally {
602         _releaseReply ($in);
603     }
604   } // ref_immediate_package
605

606   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
607   {
608     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
609     try {
610        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
611        $in = _invoke ($out);
612        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
613        return $result;
614     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
615        $in = $ex.getInputStream ();
616        String JavaDoc _id = $ex.getId ();
617        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
618     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
619        return ref_outermost_package ();
620     } finally {
621         _releaseReply ($in);
622     }
623   } // ref_outermost_package
624

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

645   public org.omg.mof.Model.Feature[] all_of_type_feature ()
646   {
647     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
648     try {
649        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_feature", true);
650        $in = _invoke ($out);
651        org.omg.mof.Model.Feature $result[] = org.omg.mof.Model.FeatureSetHelper.read ($in);
652        return $result;
653     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
654        $in = $ex.getInputStream ();
655        String JavaDoc _id = $ex.getId ();
656        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
657     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
658        return all_of_type_feature ();
659     } finally {
660         _releaseReply ($in);
661     }
662   } // all_of_type_feature
663

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

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

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

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

754
755   //
756
public String JavaDoc[] qualified_name () throws org.omg.mof.Reflective.MofError
757   {
758     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
759     try {
760        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("qualified_name", true);
761        $in = _invoke ($out);
762        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.read ($in);
763        return $result;
764     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
765        $in = $ex.getInputStream ();
766        String JavaDoc _id = $ex.getId ();
767        if (_id.equals ("IDL:org/omg/mof/Reflective/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 qualified_name ();
773     } finally {
774         _releaseReply ($in);
775     }
776   } // qualified_name
777

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

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

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

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

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

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

911   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
912   {
913     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
914     try {
915        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
916        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
917        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
918        $in = _invoke ($out);
919     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
920        $in = $ex.getInputStream ();
921        String JavaDoc _id = $ex.getId ();
922        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
923           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
924        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
925           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
926        else
927             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
928     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
929        modify_required_elements (old_element, new_element);
930     } finally {
931         _releaseReply ($in);
932     }
933   } // modify_required_elements
934

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

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

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

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

1024  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
1025  {
1026    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1027    try {
1028       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
1029       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
1030       org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
1031       $in = _invoke ($out);
1032    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1033       $in = $ex.getInputStream ();
1034       String JavaDoc _id = $ex.getId ();
1035       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1036          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1037       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1038          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1039       else
1040            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1041    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1042       modify_constraints (old_element, new_element);
1043    } finally {
1044        _releaseReply ($in);
1045    }
1046  } // modify_constraints
1047

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

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

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

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

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

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

1185  public void set_scope (org.omg.mof.Model.ScopeKind new_value) throws org.omg.mof.Reflective.MofError
1186  {
1187    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1188    try {
1189       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_scope", true);
1190       org.omg.mof.Model.ScopeKindHelper.write ($out, new_value);
1191       $in = _invoke ($out);
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       set_scope (new_value);
1201    } finally {
1202        _releaseReply ($in);
1203    }
1204  } // set_scope
1205

1206  // Type-specific CORBA::Object operations
1207
private static String JavaDoc[] __ids = {
1208    "IDL:org/omg/mof/Model/StructuralFeature:1.0",
1209    "IDL:org/omg/mof/Model/StructuralFeatureClass:1.0",
1210    "IDL:org/omg/mof/Model/TypedElementClass:1.0",
1211    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1212    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1213    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1214    "IDL:org/omg/mof/Model/FeatureClass:1.0",
1215    "IDL:org/omg/mof/Model/ModelElement:1.0",
1216    "IDL:org/omg/mof/Model/TypedElement:1.0",
1217    "IDL:org/omg/mof/Model/Feature:1.0"};
1218
1219  public String JavaDoc[] _ids ()
1220  {
1221    return (String JavaDoc[])__ids.clone ();
1222  }
1223
1224  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1225  {
1226     String JavaDoc str = s.readUTF ();
1227     String JavaDoc[] args = null;
1228     java.util.Properties JavaDoc props = null;
1229     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1230     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1231     _set_delegate (delegate);
1232  }
1233
1234  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1235  {
1236     String JavaDoc[] args = null;
1237     java.util.Properties JavaDoc props = null;
1238     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1239     s.writeUTF (str);
1240  }
1241} // class _StructuralFeatureStub
1242
Popular Tags