KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_AssociationStub.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 AssociationClass
13
public class _AssociationStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.Association
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.Association[] all_of_type_association ()
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_association", true);
66        $in = _invoke ($out);
67        org.omg.mof.Model.Association $result[] = org.omg.mof.Model.AssociationSetHelper.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_association ();
75     } finally {
76         _releaseReply ($in);
77     }
78   } // all_of_type_association
79

80   public org.omg.mof.Model.Association[] all_of_class_association ()
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_association", true);
85        $in = _invoke ($out);
86        org.omg.mof.Model.Association $result[] = org.omg.mof.Model.AssociationSetHelper.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_association ();
94     } finally {
95         _releaseReply ($in);
96     }
97   } // all_of_class_association
98

99   public org.omg.mof.Model.Association create_association (String JavaDoc name, String JavaDoc annotation, org.omg.mof.Model.VisibilityKind visibility, boolean is_leaf, boolean is_root, boolean is_abstract, 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_association", true);
104        $out.write_string (name);
105        $out.write_string (annotation);
106        org.omg.mof.Model.VisibilityKindHelper.write ($out, visibility);
107        $out.write_boolean (is_leaf);
108        $out.write_boolean (is_root);
109        $out.write_boolean (is_abstract);
110        $out.write_boolean (is_derived);
111        $in = _invoke ($out);
112        org.omg.mof.Model.Association $result = org.omg.mof.Model.AssociationHelper.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_association (name, annotation, visibility, is_leaf, is_root, is_abstract, is_derived);
123     } finally {
124         _releaseReply ($in);
125     }
126   } // create_association
127

128   public org.omg.mof.Model.Classifier[] all_of_type_classifier ()
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_classifier", true);
133        $in = _invoke ($out);
134        org.omg.mof.Model.Classifier $result[] = org.omg.mof.Model.ClassifierSetHelper.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_classifier ();
142     } finally {
143         _releaseReply ($in);
144     }
145   } // all_of_type_classifier
146

147   public org.omg.mof.Model.GeneralizableElement[] all_of_type_generalizable_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_generalizable_element", true);
152        $in = _invoke ($out);
153        org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementSetHelper.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_generalizable_element ();
161     } finally {
162         _releaseReply ($in);
163     }
164   } // all_of_type_generalizable_element
165

166   public org.omg.mof.Model.Namespace[] all_of_type_namespace ()
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_namespace", true);
171        $in = _invoke ($out);
172        org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.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_namespace ();
180     } finally {
181         _releaseReply ($in);
182     }
183   } // all_of_type_namespace
184

185   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
186   {
187     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
188     try {
189        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
190        $in = _invoke ($out);
191        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.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        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
197     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
198        return all_of_type_model_element ();
199     } finally {
200         _releaseReply ($in);
201     }
202   } // all_of_type_model_element
203

204   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
205   {
206     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
207     try {
208        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
209        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
210        $out.write_boolean (consider_subtypes);
211        $in = _invoke ($out);
212        boolean $result = $in.read_boolean ();
213        return $result;
214     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
215        $in = $ex.getInputStream ();
216        String JavaDoc _id = $ex.getId ();
217        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
218     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
219        return ref_is_instance_of (some_class, consider_subtypes);
220     } finally {
221         _releaseReply ($in);
222     }
223   } // ref_is_instance_of
224

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

248   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
249   {
250     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
251     try {
252        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
253        $out.write_boolean (include_subtypes);
254        $in = _invoke ($out);
255        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
256        return $result;
257     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
258        $in = $ex.getInputStream ();
259        String JavaDoc _id = $ex.getId ();
260        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
261     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
262        return ref_all_objects (include_subtypes);
263     } finally {
264         _releaseReply ($in);
265     }
266   } // ref_all_objects
267

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

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

315   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
316   {
317     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
318     try {
319        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
320        $in = _invoke ($out);
321     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
322        $in = $ex.getInputStream ();
323        String JavaDoc _id = $ex.getId ();
324        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
325           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
326        else
327             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
328     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
329        ref_unset_value ();
330     } finally {
331         _releaseReply ($in);
332     }
333   } // ref_unset_value
334

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

357   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
358   {
359     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
360     try {
361        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_before", true);
362        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
363        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
364        org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element);
365        $in = _invoke ($out);
366     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
367        $in = $ex.getInputStream ();
368        String JavaDoc _id = $ex.getId ();
369        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
370           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
371        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
372           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
373        else
374             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
375     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
376        ref_add_value_before (feature, new_element, before_element);
377     } finally {
378         _releaseReply ($in);
379     }
380   } // ref_add_value_before
381

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

407   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
408   {
409     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
410     try {
411        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value", true);
412        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
413        org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element);
414        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
415        $in = _invoke ($out);
416     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
417        $in = $ex.getInputStream ();
418        String JavaDoc _id = $ex.getId ();
419        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
420           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
421        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
422           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
423        else
424             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
425     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
426        ref_modify_value (feature, old_element, new_element);
427     } finally {
428         _releaseReply ($in);
429     }
430   } // ref_modify_value
431

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

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

481   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
482   {
483     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
484     try {
485        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
486        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
487        $out.write_ulong (position);
488        $in = _invoke ($out);
489     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
490        $in = $ex.getInputStream ();
491        String JavaDoc _id = $ex.getId ();
492        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
493           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
494        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
495           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
496        else
497             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
498     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
499        ref_remove_value_at (feature, position);
500     } finally {
501         _releaseReply ($in);
502     }
503   } // ref_remove_value_at
504

505   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
506   {
507     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
508     try {
509        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_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_immediate_composite ();
519     } finally {
520         _releaseReply ($in);
521     }
522   } // ref_immediate_composite
523

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

543   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
544   {
545     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
546     try {
547        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
548        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
549        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
550        $in = _invoke ($out);
551        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
552        args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in);
553        return $result;
554     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
555        $in = $ex.getInputStream ();
556        String JavaDoc _id = $ex.getId ();
557        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
558           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
559        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
560           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
561        else
562             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
563     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
564        return ref_invoke_operation (requested_operation, args);
565     } finally {
566         _releaseReply ($in);
567     }
568   } // ref_invoke_operation
569

570   public String JavaDoc ref_mof_id ()
571   {
572     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
573     try {
574        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
575        $in = _invoke ($out);
576        String JavaDoc $result = $in.read_string ();
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_mof_id ();
584     } finally {
585         _releaseReply ($in);
586     }
587   } // ref_mof_id
588

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

608   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
609   {
610     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
611     try {
612        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
613        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
614        $in = _invoke ($out);
615        boolean $result = $in.read_boolean ();
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_itself (other_object);
623     } finally {
624         _releaseReply ($in);
625     }
626   } // ref_itself
627

628   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
629   {
630     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
631     try {
632        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_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_immediate_package ();
642     } finally {
643         _releaseReply ($in);
644     }
645   } // ref_immediate_package
646

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

666   public void ref_delete () 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 ("ref_delete", true);
671        $in = _invoke ($out);
672     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
673        $in = $ex.getInputStream ();
674        String JavaDoc _id = $ex.getId ();
675        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
676           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
677        else
678             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
679     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
680        ref_delete ();
681     } finally {
682         _releaseReply ($in);
683     }
684   } // ref_delete
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.ModelElement[] contents () 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 ("contents", true);
1100       $in = _invoke ($out);
1101       org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementListHelper.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 contents ();
1112    } finally {
1113        _releaseReply ($in);
1114    }
1115  } // contents
1116

1117  public void set_contents (org.omg.mof.Model.ModelElement[] 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_contents", true);
1122       org.omg.mof.Model.ModelElementListHelper.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_contents (new_value);
1133    } finally {
1134        _releaseReply ($in);
1135    }
1136  } // set_contents
1137

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

1159  public void add_contents_before (org.omg.mof.Model.ModelElement new_element, org.omg.mof.Model.ModelElement before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1160  {
1161    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1162    try {
1163       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_contents_before", true);
1164       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1165       org.omg.mof.Model.ModelElementHelper.write ($out, before_element);
1166       $in = _invoke ($out);
1167    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1168       $in = $ex.getInputStream ();
1169       String JavaDoc _id = $ex.getId ();
1170       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1171          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1172       else 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       add_contents_before (new_element, before_element);
1178    } finally {
1179        _releaseReply ($in);
1180    }
1181  } // add_contents_before
1182

1183  public void modify_contents (org.omg.mof.Model.ModelElement old_element, org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1184  {
1185    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1186    try {
1187       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_contents", true);
1188       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1189       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1190       $in = _invoke ($out);
1191    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1192       $in = $ex.getInputStream ();
1193       String JavaDoc _id = $ex.getId ();
1194       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1195          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1196       else 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       modify_contents (old_element, new_element);
1202    } finally {
1203        _releaseReply ($in);
1204    }
1205  } // modify_contents
1206

1207  public void remove_contents (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, 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 ("remove_contents", true);
1212       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
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/NotFound:1.0"))
1218          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1219       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1220          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1221       else
1222            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1223    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1224       remove_contents (old_element);
1225    } finally {
1226        _releaseReply ($in);
1227    }
1228  } // remove_contents
1229

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

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

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

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

1320
1321  //
1322
public boolean is_root () throws org.omg.mof.Reflective.MofError
1323  {
1324    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1325    try {
1326       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_root", true);
1327       $in = _invoke ($out);
1328       boolean $result = $in.read_boolean ();
1329       return $result;
1330    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1331       $in = $ex.getInputStream ();
1332       String JavaDoc _id = $ex.getId ();
1333       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1334          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1335       else
1336            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1337    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1338       return is_root ();
1339    } finally {
1340        _releaseReply ($in);
1341    }
1342  } // is_root
1343

1344  public void set_is_root (boolean new_value) throws org.omg.mof.Reflective.MofError
1345  {
1346    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1347    try {
1348       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_root", true);
1349       $out.write_boolean (new_value);
1350       $in = _invoke ($out);
1351    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1352       $in = $ex.getInputStream ();
1353       String JavaDoc _id = $ex.getId ();
1354       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1355          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1356       else
1357            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1358    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1359       set_is_root (new_value);
1360    } finally {
1361        _releaseReply ($in);
1362    }
1363  } // set_is_root
1364

1365
1366  //
1367
public boolean is_abstract () throws org.omg.mof.Reflective.MofError
1368  {
1369    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1370    try {
1371       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_abstract", true);
1372       $in = _invoke ($out);
1373       boolean $result = $in.read_boolean ();
1374       return $result;
1375    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1376       $in = $ex.getInputStream ();
1377       String JavaDoc _id = $ex.getId ();
1378       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1379          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1380       else
1381            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1382    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1383       return is_abstract ();
1384    } finally {
1385        _releaseReply ($in);
1386    }
1387  } // is_abstract
1388

1389  public void set_is_abstract (boolean new_value) throws org.omg.mof.Reflective.MofError
1390  {
1391    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1392    try {
1393       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_abstract", true);
1394       $out.write_boolean (new_value);
1395       $in = _invoke ($out);
1396    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1397       $in = $ex.getInputStream ();
1398       String JavaDoc _id = $ex.getId ();
1399       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1400          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1401       else
1402            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1403    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1404       set_is_abstract (new_value);
1405    } finally {
1406        _releaseReply ($in);
1407    }
1408  } // set_is_abstract
1409

1410
1411  //
1412
public org.omg.mof.Model.GeneralizableElement[] all_supertypes () throws org.omg.mof.Reflective.MofError
1413  {
1414    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1415    try {
1416       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("all_supertypes", true);
1417       $in = _invoke ($out);
1418       org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementUListHelper.read ($in);
1419       return $result;
1420    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1421       $in = $ex.getInputStream ();
1422       String JavaDoc _id = $ex.getId ();
1423       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1424          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1425       else
1426            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1427    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1428       return all_supertypes ();
1429    } finally {
1430        _releaseReply ($in);
1431    }
1432  } // all_supertypes
1433

1434
1435  //
1436
public org.omg.mof.Model.GeneralizableElement[] supertypes () throws org.omg.mof.Reflective.MofError
1437  {
1438    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1439    try {
1440       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("supertypes", true);
1441       $in = _invoke ($out);
1442       org.omg.mof.Model.GeneralizableElement $result[] = org.omg.mof.Model.GeneralizableElementListHelper.read ($in);
1443       return $result;
1444    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1445       $in = $ex.getInputStream ();
1446       String JavaDoc _id = $ex.getId ();
1447       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1448          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1449       else
1450            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1451    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1452       return supertypes ();
1453    } finally {
1454        _releaseReply ($in);
1455    }
1456  } // supertypes
1457

1458  public void set_supertypes (org.omg.mof.Model.GeneralizableElement[] new_value) throws org.omg.mof.Reflective.MofError
1459  {
1460    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1461    try {
1462       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_supertypes", true);
1463       org.omg.mof.Model.GeneralizableElementListHelper.write ($out, new_value);
1464       $in = _invoke ($out);
1465    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1466       $in = $ex.getInputStream ();
1467       String JavaDoc _id = $ex.getId ();
1468       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1469          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1470       else
1471            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1472    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1473       set_supertypes (new_value);
1474    } finally {
1475        _releaseReply ($in);
1476    }
1477  } // set_supertypes
1478

1479  public void add_supertypes (org.omg.mof.Model.GeneralizableElement new_element) throws org.omg.mof.Reflective.MofError
1480  {
1481    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1482    try {
1483       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_supertypes", true);
1484       org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
1485       $in = _invoke ($out);
1486    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1487       $in = $ex.getInputStream ();
1488       String JavaDoc _id = $ex.getId ();
1489       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1490          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1491       else
1492            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1493    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1494       add_supertypes (new_element);
1495    } finally {
1496        _releaseReply ($in);
1497    }
1498  } // add_supertypes
1499

1500  public void add_supertypes_before (org.omg.mof.Model.GeneralizableElement new_element, org.omg.mof.Model.GeneralizableElement before_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1501  {
1502    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1503    try {
1504       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_supertypes_before", true);
1505       org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
1506       org.omg.mof.Model.GeneralizableElementHelper.write ($out, before_element);
1507       $in = _invoke ($out);
1508    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1509       $in = $ex.getInputStream ();
1510       String JavaDoc _id = $ex.getId ();
1511       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1512          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1513       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1514          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1515       else
1516            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1517    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1518       add_supertypes_before (new_element, before_element);
1519    } finally {
1520        _releaseReply ($in);
1521    }
1522  } // add_supertypes_before
1523

1524  public void modify_supertypes (org.omg.mof.Model.GeneralizableElement old_element, org.omg.mof.Model.GeneralizableElement new_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1525  {
1526    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1527    try {
1528       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_supertypes", true);
1529       org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element);
1530       org.omg.mof.Model.GeneralizableElementHelper.write ($out, new_element);
1531       $in = _invoke ($out);
1532    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1533       $in = $ex.getInputStream ();
1534       String JavaDoc _id = $ex.getId ();
1535       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1536          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1537       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1538          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1539       else
1540            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1541    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1542       modify_supertypes (old_element, new_element);
1543    } finally {
1544        _releaseReply ($in);
1545    }
1546  } // modify_supertypes
1547

1548  public void remove_supertypes (org.omg.mof.Model.GeneralizableElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1549  {
1550    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1551    try {
1552       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_supertypes", true);
1553       org.omg.mof.Model.GeneralizableElementHelper.write ($out, old_element);
1554       $in = _invoke ($out);
1555    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1556       $in = $ex.getInputStream ();
1557       String JavaDoc _id = $ex.getId ();
1558       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1559          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1560       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1561          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1562       else
1563            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1564    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1565       remove_supertypes (old_element);
1566    } finally {
1567        _releaseReply ($in);
1568    }
1569  } // remove_supertypes
1570

1571  // Type-specific CORBA::Object operations
1572
private static String JavaDoc[] __ids = {
1573    "IDL:org/omg/mof/Model/Association:1.0",
1574    "IDL:org/omg/mof/Model/AssociationClass:1.0",
1575    "IDL:org/omg/mof/Model/ClassifierClass:1.0",
1576    "IDL:org/omg/mof/Model/GeneralizableElementClass:1.0",
1577    "IDL:org/omg/mof/Model/NamespaceClass:1.0",
1578    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1579    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1580    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1581    "IDL:org/omg/mof/Model/ModelElement:1.0",
1582    "IDL:org/omg/mof/Model/Namespace:1.0",
1583    "IDL:org/omg/mof/Model/GeneralizableElement:1.0",
1584    "IDL:org/omg/mof/Model/Classifier:1.0"};
1585
1586  public String JavaDoc[] _ids ()
1587  {
1588    return (String JavaDoc[])__ids.clone ();
1589  }
1590
1591  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1592  {
1593     String JavaDoc str = s.readUTF ();
1594     String JavaDoc[] args = null;
1595     java.util.Properties JavaDoc props = null;
1596     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1597     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1598     _set_delegate (delegate);
1599  }
1600
1601  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1602  {
1603     String JavaDoc[] args = null;
1604     java.util.Properties JavaDoc props = null;
1605     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1606     s.writeUTF (str);
1607  }
1608} // class _AssociationStub
1609
Popular Tags