KickJava   Java API By Example, From Geeks To Geeks.

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


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

40   public void set_is_derived (boolean 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_is_derived", true);
45        $out.write_boolean (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_is_derived (new_value);
56     } finally {
57         _releaseReply ($in);
58     }
59   } // set_is_derived
60

61   public org.omg.mof.Model.MofAttribute[] all_of_type_mof_attribute ()
62   {
63     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
64     try {
65        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_mof_attribute", true);
66        $in = _invoke ($out);
67        org.omg.mof.Model.MofAttribute $result[] = org.omg.mof.Model.MofAttributeSetHelper.read ($in);
68        return $result;
69     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
70        $in = $ex.getInputStream ();
71        String JavaDoc _id = $ex.getId ();
72        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
73     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
74        return all_of_type_mof_attribute ();
75     } finally {
76         _releaseReply ($in);
77     }
78   } // all_of_type_mof_attribute
79

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

99   public org.omg.mof.Model.MofAttribute create_mof_attribute (String JavaDoc name, String JavaDoc annotation, org.omg.mof.Model.VisibilityKind visibility, org.omg.mof.Model.ScopeKind scope, org.omg.mof.Model.MultiplicityType multiplicity, boolean is_changeable, boolean is_derived) throws org.omg.mof.Reflective.MofError
100   {
101     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
102     try {
103        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("create_mof_attribute", true);
104        $out.write_string (name);
105        $out.write_string (annotation);
106        org.omg.mof.Model.VisibilityKindHelper.write ($out, visibility);
107        org.omg.mof.Model.ScopeKindHelper.write ($out, scope);
108        org.omg.mof.Model.MultiplicityTypeHelper.write ($out, multiplicity);
109        $out.write_boolean (is_changeable);
110        $out.write_boolean (is_derived);
111        $in = _invoke ($out);
112        org.omg.mof.Model.MofAttribute $result = org.omg.mof.Model.MofAttributeHelper.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        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
118           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
119        else
120             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
121     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
122        return create_mof_attribute (name, annotation, visibility, scope, multiplicity, is_changeable, is_derived);
123     } finally {
124         _releaseReply ($in);
125     }
126   } // create_mof_attribute
127

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

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

166   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
167   {
168     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
169     try {
170        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
171        $in = _invoke ($out);
172        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.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        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
178     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
179        return all_of_type_model_element ();
180     } finally {
181         _releaseReply ($in);
182     }
183   } // all_of_type_model_element
184

185   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
186   {
187     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
188     try {
189        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
190        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
191        $out.write_boolean (consider_subtypes);
192        $in = _invoke ($out);
193        boolean $result = $in.read_boolean ();
194        return $result;
195     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
196        $in = $ex.getInputStream ();
197        String JavaDoc _id = $ex.getId ();
198        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
199     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
200        return ref_is_instance_of (some_class, consider_subtypes);
201     } finally {
202         _releaseReply ($in);
203     }
204   } // ref_is_instance_of
205

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

229   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
230   {
231     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
232     try {
233        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
234        $out.write_boolean (include_subtypes);
235        $in = _invoke ($out);
236        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
237        return $result;
238     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
239        $in = $ex.getInputStream ();
240        String JavaDoc _id = $ex.getId ();
241        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
242     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
243        return ref_all_objects (include_subtypes);
244     } finally {
245         _releaseReply ($in);
246     }
247   } // ref_all_objects
248

249   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws 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_set_value", true);
254        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
255        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
256        $in = _invoke ($out);
257     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
258        $in = $ex.getInputStream ();
259        String JavaDoc _id = $ex.getId ();
260        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
261           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
262        else
263             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
264     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
265        ref_set_value (feature, new_value);
266     } finally {
267         _releaseReply ($in);
268     }
269   } // ref_set_value
270

271   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
272   {
273     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
274     try {
275        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
276        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
277        $in = _invoke ($out);
278        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
279        return $result;
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/NotSet:1.0"))
284           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
285        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
286           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
287        else
288             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
289     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
290        return ref_value (feature);
291     } finally {
292         _releaseReply ($in);
293     }
294   } // ref_value
295

296   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
297   {
298     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
299     try {
300        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
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_unset_value ();
311     } finally {
312         _releaseReply ($in);
313     }
314   } // ref_unset_value
315

316   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws 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", true);
321        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
322        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
323        $in = _invoke ($out);
324     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
325        $in = $ex.getInputStream ();
326        String JavaDoc _id = $ex.getId ();
327        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
328           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
329        else
330             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
331     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
332        ref_add_value (feature, new_element);
333     } finally {
334         _releaseReply ($in);
335     }
336   } // ref_add_value
337

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

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

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

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

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

462   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
463   {
464     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
465     try {
466        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
467        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
468        $out.write_ulong (position);
469        $in = _invoke ($out);
470     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
471        $in = $ex.getInputStream ();
472        String JavaDoc _id = $ex.getId ();
473        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
474           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
475        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
476           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
477        else
478             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
479     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
480        ref_remove_value_at (feature, position);
481     } finally {
482         _releaseReply ($in);
483     }
484   } // ref_remove_value_at
485

486   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
487   {
488     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
489     try {
490        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_composite", true);
491        $in = _invoke ($out);
492        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.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        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
498     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
499        return ref_immediate_composite ();
500     } finally {
501         _releaseReply ($in);
502     }
503   } // ref_immediate_composite
504

505   public org.omg.mof.Reflective.RefObject ref_outermost_composite ()
506   {
507     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
508     try {
509        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_composite", true);
510        $in = _invoke ($out);
511        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.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        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
517     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
518        return ref_outermost_composite ();
519     } finally {
520         _releaseReply ($in);
521     }
522   } // ref_outermost_composite
523

524   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
525   {
526     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
527     try {
528        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
529        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
530        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
531        $in = _invoke ($out);
532        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
533        args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in);
534        return $result;
535     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
536        $in = $ex.getInputStream ();
537        String JavaDoc _id = $ex.getId ();
538        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
539           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
540        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
541           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
542        else
543             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
544     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
545        return ref_invoke_operation (requested_operation, args);
546     } finally {
547         _releaseReply ($in);
548     }
549   } // ref_invoke_operation
550

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

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

589   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
590   {
591     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
592     try {
593        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
594        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
595        $in = _invoke ($out);
596        boolean $result = $in.read_boolean ();
597        return $result;
598     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
599        $in = $ex.getInputStream ();
600        String JavaDoc _id = $ex.getId ();
601        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
602     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
603        return ref_itself (other_object);
604     } finally {
605         _releaseReply ($in);
606     }
607   } // ref_itself
608

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

628   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
629   {
630     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
631     try {
632        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
633        $in = _invoke ($out);
634        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
635        return $result;
636     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
637        $in = $ex.getInputStream ();
638        String JavaDoc _id = $ex.getId ();
639        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
640     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
641        return ref_outermost_package ();
642     } finally {
643         _releaseReply ($in);
644     }
645   } // ref_outermost_package
646

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

667   public org.omg.mof.Model.Feature[] all_of_type_feature ()
668   {
669     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
670     try {
671        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_feature", true);
672        $in = _invoke ($out);
673        org.omg.mof.Model.Feature $result[] = org.omg.mof.Model.FeatureSetHelper.read ($in);
674        return $result;
675     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
676        $in = $ex.getInputStream ();
677        String JavaDoc _id = $ex.getId ();
678        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
679     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
680        return all_of_type_feature ();
681     } finally {
682         _releaseReply ($in);
683     }
684   } // all_of_type_feature
685

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

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

731
732   //
733
public String JavaDoc annotation () 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 ("annotation", true);
738        $in = _invoke ($out);
739        String JavaDoc $result = $in.read_string ();
740        return $result;
741     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
742        $in = $ex.getInputStream ();
743        String JavaDoc _id = $ex.getId ();
744        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
745           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
746        else
747             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
748     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
749        return annotation ();
750     } finally {
751         _releaseReply ($in);
752     }
753   } // annotation
754

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

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

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

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

847   public void unset_container () 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 ("unset_container", true);
852        $in = _invoke ($out);
853     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
854        $in = $ex.getInputStream ();
855        String JavaDoc _id = $ex.getId ();
856        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
857           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
858        else
859             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
860     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
861        unset_container ();
862     } finally {
863         _releaseReply ($in);
864     }
865   } // unset_container
866

867
868   //
869
public org.omg.mof.Model.ModelElement[] required_elements () 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 ("required_elements", true);
874        $in = _invoke ($out);
875        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in);
876        return $result;
877     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
878        $in = $ex.getInputStream ();
879        String JavaDoc _id = $ex.getId ();
880        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
881           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
882        else
883             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
884     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
885        return required_elements ();
886     } finally {
887         _releaseReply ($in);
888     }
889   } // required_elements
890

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

912   public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
913   {
914     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
915     try {
916        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_required_elements", true);
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/MofError:1.0"))
923           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
924        else
925             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
926     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
927        add_required_elements (new_element);
928     } finally {
929         _releaseReply ($in);
930     }
931   } // add_required_elements
932

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

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

980
981   //
982
public org.omg.mof.Model.Constraint[] constraints () 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 ("constraints", true);
987        $in = _invoke ($out);
988        org.omg.mof.Model.Constraint $result[] = org.omg.mof.Model.ConstraintBagHelper.read ($in);
989        return $result;
990     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
991        $in = $ex.getInputStream ();
992        String JavaDoc _id = $ex.getId ();
993        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
994           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
995        else
996             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
997     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
998        return constraints ();
999     } finally {
1000        _releaseReply ($in);
1001    }
1002  } // constraints
1003

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

1025  public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError
1026  {
1027    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1028    try {
1029       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_constraints", true);
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/MofError:1.0"))
1036          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1037       else
1038            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1039    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1040       add_constraints (new_element);
1041    } finally {
1042        _releaseReply ($in);
1043    }
1044  } // add_constraints
1045

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

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

1093
1094  //
1095
public org.omg.mof.Model.Classifier type () 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 ("type", true);
1100       $in = _invoke ($out);
1101       org.omg.mof.Model.Classifier $result = org.omg.mof.Model.ClassifierHelper.read ($in);
1102       return $result;
1103    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1104       $in = $ex.getInputStream ();
1105       String JavaDoc _id = $ex.getId ();
1106       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1107          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1108       else
1109            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1110    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1111       return type ();
1112    } finally {
1113        _releaseReply ($in);
1114    }
1115  } // type
1116

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

1138
1139  //
1140
public org.omg.mof.Model.VisibilityKind visibility () 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 ("visibility", true);
1145       $in = _invoke ($out);
1146       org.omg.mof.Model.VisibilityKind $result = org.omg.mof.Model.VisibilityKindHelper.read ($in);
1147       return $result;
1148    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1149       $in = $ex.getInputStream ();
1150       String JavaDoc _id = $ex.getId ();
1151       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1152          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1153       else
1154            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1155    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1156       return visibility ();
1157    } finally {
1158        _releaseReply ($in);
1159    }
1160  } // visibility
1161

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

1183
1184  //
1185
public org.omg.mof.Model.ScopeKind scope () 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 ("scope", true);
1190       $in = _invoke ($out);
1191       org.omg.mof.Model.ScopeKind $result = org.omg.mof.Model.ScopeKindHelper.read ($in);
1192       return $result;
1193    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1194       $in = $ex.getInputStream ();
1195       String JavaDoc _id = $ex.getId ();
1196       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1197          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1198       else
1199            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1200    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1201       return scope ();
1202    } finally {
1203        _releaseReply ($in);
1204    }
1205  } // scope
1206

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

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

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

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

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

1318  // Type-specific CORBA::Object operations
1319
private static String JavaDoc[] __ids = {
1320    "IDL:org/omg/mof/Model/MofAttribute:1.0",
1321    "IDL:org/omg/mof/Model/MofAttributeClass:1.0",
1322    "IDL:org/omg/mof/Model/StructuralFeatureClass:1.0",
1323    "IDL:org/omg/mof/Model/TypedElementClass:1.0",
1324    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1325    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1326    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1327    "IDL:org/omg/mof/Model/FeatureClass:1.0",
1328    "IDL:org/omg/mof/Model/ModelElement:1.0",
1329    "IDL:org/omg/mof/Model/TypedElement:1.0",
1330    "IDL:org/omg/mof/Model/Feature:1.0",
1331    "IDL:org/omg/mof/Model/StructuralFeature:1.0"};
1332
1333  public String JavaDoc[] _ids ()
1334  {
1335    return (String JavaDoc[])__ids.clone ();
1336  }
1337
1338  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1339  {
1340     String JavaDoc str = s.readUTF ();
1341     String JavaDoc[] args = null;
1342     java.util.Properties JavaDoc props = null;
1343     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1344     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1345     _set_delegate (delegate);
1346  }
1347
1348  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1349  {
1350     String JavaDoc[] args = null;
1351     java.util.Properties JavaDoc props = null;
1352     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1353     s.writeUTF (str);
1354  }
1355} // class _MofAttributeStub
1356
Popular Tags