KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_AssociationEndStub.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 AssociationEndClass
13
public class _AssociationEndStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.AssociationEnd
14 {
15
16
17   //
18
public boolean is_navigable () 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_navigable", 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_navigable ();
35     } finally {
36         _releaseReply ($in);
37     }
38   } // is_navigable
39

40   public void set_is_navigable (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_navigable", 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_navigable (new_value);
56     } finally {
57         _releaseReply ($in);
58     }
59   } // set_is_navigable
60

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

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

106
107   //
108
public org.omg.mof.Model.MultiplicityType multiplicity () throws org.omg.mof.Reflective.MofError
109   {
110     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
111     try {
112        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("multiplicity", true);
113        $in = _invoke ($out);
114        org.omg.mof.Model.MultiplicityType $result = org.omg.mof.Model.MultiplicityTypeHelper.read ($in);
115        return $result;
116     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
117        $in = $ex.getInputStream ();
118        String JavaDoc _id = $ex.getId ();
119        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
120           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
121        else
122             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
123     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
124        return multiplicity ();
125     } finally {
126         _releaseReply ($in);
127     }
128   } // multiplicity
129

130   public void set_multiplicity (org.omg.mof.Model.MultiplicityType new_value) throws org.omg.mof.Reflective.MofError
131   {
132     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
133     try {
134        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_multiplicity", true);
135        org.omg.mof.Model.MultiplicityTypeHelper.write ($out, new_value);
136        $in = _invoke ($out);
137     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
138        $in = $ex.getInputStream ();
139        String JavaDoc _id = $ex.getId ();
140        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
141           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
142        else
143             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
144     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
145        set_multiplicity (new_value);
146     } finally {
147         _releaseReply ($in);
148     }
149   } // set_multiplicity
150

151
152   //
153
public boolean is_changeable () throws org.omg.mof.Reflective.MofError
154   {
155     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
156     try {
157        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("is_changeable", true);
158        $in = _invoke ($out);
159        boolean $result = $in.read_boolean ();
160        return $result;
161     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
162        $in = $ex.getInputStream ();
163        String JavaDoc _id = $ex.getId ();
164        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
165           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
166        else
167             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
168     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
169        return is_changeable ();
170     } finally {
171         _releaseReply ($in);
172     }
173   } // is_changeable
174

175   public void set_is_changeable (boolean new_value) throws org.omg.mof.Reflective.MofError
176   {
177     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
178     try {
179        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_is_changeable", true);
180        $out.write_boolean (new_value);
181        $in = _invoke ($out);
182     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
183        $in = $ex.getInputStream ();
184        String JavaDoc _id = $ex.getId ();
185        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
186           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
187        else
188             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
189     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
190        set_is_changeable (new_value);
191     } finally {
192         _releaseReply ($in);
193     }
194   } // set_is_changeable
195

196
197   //
198
public org.omg.mof.Model.AssociationEnd other_end () throws org.omg.mof.Reflective.MofError
199   {
200     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
201     try {
202        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("other_end", true);
203        $in = _invoke ($out);
204        org.omg.mof.Model.AssociationEnd $result = org.omg.mof.Model.AssociationEndHelper.read ($in);
205        return $result;
206     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
207        $in = $ex.getInputStream ();
208        String JavaDoc _id = $ex.getId ();
209        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
210           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
211        else
212             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
213     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
214        return other_end ();
215     } finally {
216         _releaseReply ($in);
217     }
218   } // other_end
219

220   public org.omg.mof.Model.AssociationEnd[] all_of_type_association_end ()
221   {
222     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
223     try {
224        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_association_end", true);
225        $in = _invoke ($out);
226        org.omg.mof.Model.AssociationEnd $result[] = org.omg.mof.Model.AssociationEndSetHelper.read ($in);
227        return $result;
228     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
229        $in = $ex.getInputStream ();
230        String JavaDoc _id = $ex.getId ();
231        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
232     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
233        return all_of_type_association_end ();
234     } finally {
235         _releaseReply ($in);
236     }
237   } // all_of_type_association_end
238

239   public org.omg.mof.Model.AssociationEnd[] all_of_class_association_end ()
240   {
241     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
242     try {
243        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_class_association_end", true);
244        $in = _invoke ($out);
245        org.omg.mof.Model.AssociationEnd $result[] = org.omg.mof.Model.AssociationEndSetHelper.read ($in);
246        return $result;
247     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
248        $in = $ex.getInputStream ();
249        String JavaDoc _id = $ex.getId ();
250        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
251     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
252        return all_of_class_association_end ();
253     } finally {
254         _releaseReply ($in);
255     }
256   } // all_of_class_association_end
257

258   public org.omg.mof.Model.AssociationEnd create_association_end (String JavaDoc name, String JavaDoc annotation, boolean is_navigable, org.omg.mof.Model.AggregationKind aggregation, org.omg.mof.Model.MultiplicityType multiplicity, boolean is_changeable) throws org.omg.mof.Reflective.MofError
259   {
260     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
261     try {
262        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("create_association_end", true);
263        $out.write_string (name);
264        $out.write_string (annotation);
265        $out.write_boolean (is_navigable);
266        org.omg.mof.Model.AggregationKindHelper.write ($out, aggregation);
267        org.omg.mof.Model.MultiplicityTypeHelper.write ($out, multiplicity);
268        $out.write_boolean (is_changeable);
269        $in = _invoke ($out);
270        org.omg.mof.Model.AssociationEnd $result = org.omg.mof.Model.AssociationEndHelper.read ($in);
271        return $result;
272     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
273        $in = $ex.getInputStream ();
274        String JavaDoc _id = $ex.getId ();
275        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
276           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
277        else
278             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
279     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
280        return create_association_end (name, annotation, is_navigable, aggregation, multiplicity, is_changeable);
281     } finally {
282         _releaseReply ($in);
283     }
284   } // create_association_end
285

286   public org.omg.mof.Model.TypedElement[] all_of_type_typed_element ()
287   {
288     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
289     try {
290        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_typed_element", true);
291        $in = _invoke ($out);
292        org.omg.mof.Model.TypedElement $result[] = org.omg.mof.Model.TypedElementSetHelper.read ($in);
293        return $result;
294     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
295        $in = $ex.getInputStream ();
296        String JavaDoc _id = $ex.getId ();
297        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
298     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
299        return all_of_type_typed_element ();
300     } finally {
301         _releaseReply ($in);
302     }
303   } // all_of_type_typed_element
304

305   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
306   {
307     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
308     try {
309        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
310        $in = _invoke ($out);
311        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in);
312        return $result;
313     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
314        $in = $ex.getInputStream ();
315        String JavaDoc _id = $ex.getId ();
316        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
317     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
318        return all_of_type_model_element ();
319     } finally {
320         _releaseReply ($in);
321     }
322   } // all_of_type_model_element
323

324   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
325   {
326     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
327     try {
328        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
329        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
330        $out.write_boolean (consider_subtypes);
331        $in = _invoke ($out);
332        boolean $result = $in.read_boolean ();
333        return $result;
334     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
335        $in = $ex.getInputStream ();
336        String JavaDoc _id = $ex.getId ();
337        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
338     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
339        return ref_is_instance_of (some_class, consider_subtypes);
340     } finally {
341         _releaseReply ($in);
342     }
343   } // ref_is_instance_of
344

345   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
346   {
347     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
348     try {
349        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
350        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
351        $in = _invoke ($out);
352        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
353        return $result;
354     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
355        $in = $ex.getInputStream ();
356        String JavaDoc _id = $ex.getId ();
357        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
358           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
359        else
360             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
361     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
362        return ref_create_instance (args);
363     } finally {
364         _releaseReply ($in);
365     }
366   } // ref_create_instance
367

368   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
369   {
370     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
371     try {
372        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
373        $out.write_boolean (include_subtypes);
374        $in = _invoke ($out);
375        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
376        return $result;
377     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
378        $in = $ex.getInputStream ();
379        String JavaDoc _id = $ex.getId ();
380        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
381     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
382        return ref_all_objects (include_subtypes);
383     } finally {
384         _releaseReply ($in);
385     }
386   } // ref_all_objects
387

388   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws 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_set_value", true);
393        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
394        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
395        $in = _invoke ($out);
396     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
397        $in = $ex.getInputStream ();
398        String JavaDoc _id = $ex.getId ();
399        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
400           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
401        else
402             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
403     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
404        ref_set_value (feature, new_value);
405     } finally {
406         _releaseReply ($in);
407     }
408   } // ref_set_value
409

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

435   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
436   {
437     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
438     try {
439        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
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/MofError:1.0"))
445           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
446        else
447             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
448     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
449        ref_unset_value ();
450     } finally {
451         _releaseReply ($in);
452     }
453   } // ref_unset_value
454

455   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws org.omg.mof.Reflective.MofError
456   {
457     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
458     try {
459        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value", true);
460        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
461        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
462        $in = _invoke ($out);
463     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
464        $in = $ex.getInputStream ();
465        String JavaDoc _id = $ex.getId ();
466        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
467           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
468        else
469             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
470     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
471        ref_add_value (feature, new_element);
472     } finally {
473         _releaseReply ($in);
474     }
475   } // ref_add_value
476

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

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

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

552   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
553   {
554     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
555     try {
556        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value_at", true);
557        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
558        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
559        $out.write_ulong (position);
560        $in = _invoke ($out);
561     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
562        $in = $ex.getInputStream ();
563        String JavaDoc _id = $ex.getId ();
564        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
565           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
566        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
567           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
568        else
569             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
570     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
571        ref_modify_value_at (feature, new_element, position);
572     } finally {
573         _releaseReply ($in);
574     }
575   } // ref_modify_value_at
576

577   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
578   {
579     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
580     try {
581        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value", true);
582        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
583        org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element);
584        $in = _invoke ($out);
585     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
586        $in = $ex.getInputStream ();
587        String JavaDoc _id = $ex.getId ();
588        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
589           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
590        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
591           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
592        else
593             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
594     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
595        ref_remove_value (feature, existing_element);
596     } finally {
597         _releaseReply ($in);
598     }
599   } // ref_remove_value
600

601   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
602   {
603     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
604     try {
605        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
606        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
607        $out.write_ulong (position);
608        $in = _invoke ($out);
609     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
610        $in = $ex.getInputStream ();
611        String JavaDoc _id = $ex.getId ();
612        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
613           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
614        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
615           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
616        else
617             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
618     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
619        ref_remove_value_at (feature, position);
620     } finally {
621         _releaseReply ($in);
622     }
623   } // ref_remove_value_at
624

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

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

663   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
664   {
665     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
666     try {
667        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
668        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
669        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
670        $in = _invoke ($out);
671        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
672        args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in);
673        return $result;
674     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
675        $in = $ex.getInputStream ();
676        String JavaDoc _id = $ex.getId ();
677        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
678           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
679        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
680           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
681        else
682             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
683     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
684        return ref_invoke_operation (requested_operation, args);
685     } finally {
686         _releaseReply ($in);
687     }
688   } // ref_invoke_operation
689

690   public String JavaDoc ref_mof_id ()
691   {
692     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
693     try {
694        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
695        $in = _invoke ($out);
696        String JavaDoc $result = $in.read_string ();
697        return $result;
698     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
699        $in = $ex.getInputStream ();
700        String JavaDoc _id = $ex.getId ();
701        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
702     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
703        return ref_mof_id ();
704     } finally {
705         _releaseReply ($in);
706     }
707   } // ref_mof_id
708

709   public org.omg.mof.Reflective.RefObject ref_meta_object ()
710   {
711     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
712     try {
713        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_meta_object", true);
714        $in = _invoke ($out);
715        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in);
716        return $result;
717     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
718        $in = $ex.getInputStream ();
719        String JavaDoc _id = $ex.getId ();
720        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
721     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
722        return ref_meta_object ();
723     } finally {
724         _releaseReply ($in);
725     }
726   } // ref_meta_object
727

728   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
729   {
730     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
731     try {
732        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
733        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
734        $in = _invoke ($out);
735        boolean $result = $in.read_boolean ();
736        return $result;
737     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
738        $in = $ex.getInputStream ();
739        String JavaDoc _id = $ex.getId ();
740        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
741     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
742        return ref_itself (other_object);
743     } finally {
744         _releaseReply ($in);
745     }
746   } // ref_itself
747

748   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
749   {
750     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
751     try {
752        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_package", true);
753        $in = _invoke ($out);
754        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
755        return $result;
756     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
757        $in = $ex.getInputStream ();
758        String JavaDoc _id = $ex.getId ();
759        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
760     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
761        return ref_immediate_package ();
762     } finally {
763         _releaseReply ($in);
764     }
765   } // ref_immediate_package
766

767   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
768   {
769     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
770     try {
771        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
772        $in = _invoke ($out);
773        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
774        return $result;
775     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
776        $in = $ex.getInputStream ();
777        String JavaDoc _id = $ex.getId ();
778        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
779     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
780        return ref_outermost_package ();
781     } finally {
782         _releaseReply ($in);
783     }
784   } // ref_outermost_package
785

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

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

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

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

875   public void set_annotation (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
876   {
877     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
878     try {
879        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_annotation", true);
880        $out.write_string (new_value);
881        $in = _invoke ($out);
882     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
883        $in = $ex.getInputStream ();
884        String JavaDoc _id = $ex.getId ();
885        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
886           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
887        else
888             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
889     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
890        set_annotation (new_value);
891     } finally {
892         _releaseReply ($in);
893     }
894   } // set_annotation
895

896
897   //
898
public String JavaDoc[] qualified_name () throws org.omg.mof.Reflective.MofError
899   {
900     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
901     try {
902        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("qualified_name", true);
903        $in = _invoke ($out);
904        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.read ($in);
905        return $result;
906     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
907        $in = $ex.getInputStream ();
908        String JavaDoc _id = $ex.getId ();
909        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
910           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
911        else
912             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
913     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
914        return qualified_name ();
915     } finally {
916         _releaseReply ($in);
917     }
918   } // qualified_name
919

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

946   public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError
947   {
948     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
949     try {
950        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_container", true);
951        org.omg.mof.Model.NamespaceHelper.write ($out, new_value);
952        $in = _invoke ($out);
953     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
954        $in = $ex.getInputStream ();
955        String JavaDoc _id = $ex.getId ();
956        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
957           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
958        else
959             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
960     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
961        set_container (new_value);
962     } finally {
963         _releaseReply ($in);
964     }
965   } // set_container
966

967   public void unset_container () throws org.omg.mof.Reflective.MofError
968   {
969     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
970     try {
971        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("unset_container", true);
972        $in = _invoke ($out);
973     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
974        $in = $ex.getInputStream ();
975        String JavaDoc _id = $ex.getId ();
976        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
977           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
978        else
979             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
980     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
981        unset_container ();
982     } finally {
983         _releaseReply ($in);
984     }
985   } // unset_container
986

987
988   //
989
public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError
990   {
991     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
992     try {
993        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("required_elements", true);
994        $in = _invoke ($out);
995        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in);
996        return $result;
997     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
998        $in = $ex.getInputStream ();
999        String JavaDoc _id = $ex.getId ();
1000       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1001          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1002       else
1003            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1004    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1005       return required_elements ();
1006    } finally {
1007        _releaseReply ($in);
1008    }
1009  } // required_elements
1010

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

1032  public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
1033  {
1034    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1035    try {
1036       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_required_elements", true);
1037       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1038       $in = _invoke ($out);
1039    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1040       $in = $ex.getInputStream ();
1041       String JavaDoc _id = $ex.getId ();
1042       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1043          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1044       else
1045            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1046    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1047       add_required_elements (new_element);
1048    } finally {
1049        _releaseReply ($in);
1050    }
1051  } // add_required_elements
1052

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

1077  public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1078  {
1079    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1080    try {
1081       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_required_elements", true);
1082       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1083       $in = _invoke ($out);
1084    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1085       $in = $ex.getInputStream ();
1086       String JavaDoc _id = $ex.getId ();
1087       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1088          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1089       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1090          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1091       else
1092            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1093    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1094       remove_required_elements (old_element);
1095    } finally {
1096        _releaseReply ($in);
1097    }
1098  } // remove_required_elements
1099

1100
1101  //
1102
public org.omg.mof.Model.Constraint[] constraints () throws org.omg.mof.Reflective.MofError
1103  {
1104    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1105    try {
1106       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("constraints", true);
1107       $in = _invoke ($out);
1108       org.omg.mof.Model.Constraint $result[] = org.omg.mof.Model.ConstraintBagHelper.read ($in);
1109       return $result;
1110    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1111       $in = $ex.getInputStream ();
1112       String JavaDoc _id = $ex.getId ();
1113       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1114          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1115       else
1116            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1117    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1118       return constraints ();
1119    } finally {
1120        _releaseReply ($in);
1121    }
1122  } // constraints
1123

1124  public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError
1125  {
1126    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1127    try {
1128       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_constraints", true);
1129       org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value);
1130       $in = _invoke ($out);
1131    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1132       $in = $ex.getInputStream ();
1133       String JavaDoc _id = $ex.getId ();
1134       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1135          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1136       else
1137            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1138    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1139       set_constraints (new_value);
1140    } finally {
1141        _releaseReply ($in);
1142    }
1143  } // set_constraints
1144

1145  public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError
1146  {
1147    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1148    try {
1149       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_constraints", true);
1150       org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
1151       $in = _invoke ($out);
1152    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1153       $in = $ex.getInputStream ();
1154       String JavaDoc _id = $ex.getId ();
1155       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1156          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1157       else
1158            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1159    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1160       add_constraints (new_element);
1161    } finally {
1162        _releaseReply ($in);
1163    }
1164  } // add_constraints
1165

1166  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
1167  {
1168    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1169    try {
1170       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
1171       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
1172       org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
1173       $in = _invoke ($out);
1174    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1175       $in = $ex.getInputStream ();
1176       String JavaDoc _id = $ex.getId ();
1177       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1178          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1179       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1180          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1181       else
1182            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1183    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1184       modify_constraints (old_element, new_element);
1185    } finally {
1186        _releaseReply ($in);
1187    }
1188  } // modify_constraints
1189

1190  public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1191  {
1192    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1193    try {
1194       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_constraints", true);
1195       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
1196       $in = _invoke ($out);
1197    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1198       $in = $ex.getInputStream ();
1199       String JavaDoc _id = $ex.getId ();
1200       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1201          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1202       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1203          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1204       else
1205            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1206    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1207       remove_constraints (old_element);
1208    } finally {
1209        _releaseReply ($in);
1210    }
1211  } // remove_constraints
1212

1213
1214  //
1215
public org.omg.mof.Model.Classifier type () throws org.omg.mof.Reflective.MofError
1216  {
1217    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1218    try {
1219       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("type", true);
1220       $in = _invoke ($out);
1221       org.omg.mof.Model.Classifier $result = org.omg.mof.Model.ClassifierHelper.read ($in);
1222       return $result;
1223    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1224       $in = $ex.getInputStream ();
1225       String JavaDoc _id = $ex.getId ();
1226       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1227          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1228       else
1229            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1230    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1231       return type ();
1232    } finally {
1233        _releaseReply ($in);
1234    }
1235  } // type
1236

1237  public void set_type (org.omg.mof.Model.Classifier new_value) throws org.omg.mof.Reflective.MofError
1238  {
1239    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1240    try {
1241       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_type", true);
1242       org.omg.mof.Model.ClassifierHelper.write ($out, new_value);
1243       $in = _invoke ($out);
1244    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1245       $in = $ex.getInputStream ();
1246       String JavaDoc _id = $ex.getId ();
1247       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1248          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1249       else
1250            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1251    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1252       set_type (new_value);
1253    } finally {
1254        _releaseReply ($in);
1255    }
1256  } // set_type
1257

1258  // Type-specific CORBA::Object operations
1259
private static String JavaDoc[] __ids = {
1260    "IDL:org/omg/mof/Model/AssociationEnd:1.0",
1261    "IDL:org/omg/mof/Model/AssociationEndClass:1.0",
1262    "IDL:org/omg/mof/Model/TypedElementClass:1.0",
1263    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1264    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1265    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1266    "IDL:org/omg/mof/Model/ModelElement:1.0",
1267    "IDL:org/omg/mof/Model/TypedElement:1.0"};
1268
1269  public String JavaDoc[] _ids ()
1270  {
1271    return (String JavaDoc[])__ids.clone ();
1272  }
1273
1274  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1275  {
1276     String JavaDoc str = s.readUTF ();
1277     String JavaDoc[] args = null;
1278     java.util.Properties JavaDoc props = null;
1279     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1280     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1281     _set_delegate (delegate);
1282  }
1283
1284  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1285  {
1286     String JavaDoc[] args = null;
1287     java.util.Properties JavaDoc props = null;
1288     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1289     s.writeUTF (str);
1290  }
1291} // class _AssociationEndStub
1292
Popular Tags