KickJava   Java API By Example, From Geeks To Geeks.

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


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

40   public void set_tag_id (String JavaDoc 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_tag_id", true);
45        $out.write_string (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_tag_id (new_value);
56     } finally {
57         _releaseReply ($in);
58     }
59   } // set_tag_id
60

61
62   //
63
public org.omg.CORBA.Any JavaDoc[] values () 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 ("values", true);
68        $in = _invoke ($out);
69        org.omg.CORBA.Any JavaDoc $result[] = org.omg.mof.Model.AnyBagHelper.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 values ();
80     } finally {
81         _releaseReply ($in);
82     }
83   } // values
84

85   public void set_values (org.omg.CORBA.Any JavaDoc[] 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_values", true);
90        org.omg.mof.Model.AnyBagHelper.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_values (new_value);
101     } finally {
102         _releaseReply ($in);
103     }
104   } // set_values
105

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

127   public void modify_values (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
128   {
129     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
130     try {
131        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_values", true);
132        $out.write_any (old_element);
133        $out.write_any (new_element);
134        $in = _invoke ($out);
135     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
136        $in = $ex.getInputStream ();
137        String JavaDoc _id = $ex.getId ();
138        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
139           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
140        else 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        modify_values (old_element, new_element);
146     } finally {
147         _releaseReply ($in);
148     }
149   } // modify_values
150

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

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

198   public void set_elements (org.omg.mof.Model.ModelElement[] new_value) 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 ("set_elements", true);
203        org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value);
204        $in = _invoke ($out);
205     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
206        $in = $ex.getInputStream ();
207        String JavaDoc _id = $ex.getId ();
208        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
209           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
210        else
211             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
212     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
213        set_elements (new_value);
214     } finally {
215         _releaseReply ($in);
216     }
217   } // set_elements
218

219   public void add_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
220   {
221     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
222     try {
223        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_elements", true);
224        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
225        $in = _invoke ($out);
226     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
227        $in = $ex.getInputStream ();
228        String JavaDoc _id = $ex.getId ();
229        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
230           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
231        else
232             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
233     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
234        add_elements (new_element);
235     } finally {
236         _releaseReply ($in);
237     }
238   } // add_elements
239

240   public void modify_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
241   {
242     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
243     try {
244        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_elements", true);
245        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
246        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
247        $in = _invoke ($out);
248     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
249        $in = $ex.getInputStream ();
250        String JavaDoc _id = $ex.getId ();
251        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
252           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
253        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
254           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
255        else
256             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
257     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
258        modify_elements (old_element, new_element);
259     } finally {
260         _releaseReply ($in);
261     }
262   } // modify_elements
263

264   public void remove_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
265   {
266     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
267     try {
268        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_elements", true);
269        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
270        $in = _invoke ($out);
271     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
272        $in = $ex.getInputStream ();
273        String JavaDoc _id = $ex.getId ();
274        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
275           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
276        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
277           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
278        else
279             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
280     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
281        remove_elements (old_element);
282     } finally {
283         _releaseReply ($in);
284     }
285   } // remove_elements
286

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

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

325   public org.omg.mof.Model.Tag create_tag (String JavaDoc name, String JavaDoc annotation, String JavaDoc tag_id, org.omg.CORBA.Any JavaDoc[] values) throws org.omg.mof.Reflective.MofError
326   {
327     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
328     try {
329        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("create_tag", true);
330        $out.write_string (name);
331        $out.write_string (annotation);
332        $out.write_string (tag_id);
333        org.omg.mof.Model.AnyBagHelper.write ($out, values);
334        $in = _invoke ($out);
335        org.omg.mof.Model.Tag $result = org.omg.mof.Model.TagHelper.read ($in);
336        return $result;
337     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
338        $in = $ex.getInputStream ();
339        String JavaDoc _id = $ex.getId ();
340        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
341           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
342        else
343             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
344     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
345        return create_tag (name, annotation, tag_id, values);
346     } finally {
347         _releaseReply ($in);
348     }
349   } // create_tag
350

351   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
352   {
353     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
354     try {
355        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
356        $in = _invoke ($out);
357        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in);
358        return $result;
359     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
360        $in = $ex.getInputStream ();
361        String JavaDoc _id = $ex.getId ();
362        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
363     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
364        return all_of_type_model_element ();
365     } finally {
366         _releaseReply ($in);
367     }
368   } // all_of_type_model_element
369

370   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
371   {
372     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
373     try {
374        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
375        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
376        $out.write_boolean (consider_subtypes);
377        $in = _invoke ($out);
378        boolean $result = $in.read_boolean ();
379        return $result;
380     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
381        $in = $ex.getInputStream ();
382        String JavaDoc _id = $ex.getId ();
383        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
384     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
385        return ref_is_instance_of (some_class, consider_subtypes);
386     } finally {
387         _releaseReply ($in);
388     }
389   } // ref_is_instance_of
390

391   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
392   {
393     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
394     try {
395        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
396        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
397        $in = _invoke ($out);
398        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
399        return $result;
400     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
401        $in = $ex.getInputStream ();
402        String JavaDoc _id = $ex.getId ();
403        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
404           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
405        else
406             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
407     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
408        return ref_create_instance (args);
409     } finally {
410         _releaseReply ($in);
411     }
412   } // ref_create_instance
413

414   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
415   {
416     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
417     try {
418        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
419        $out.write_boolean (include_subtypes);
420        $in = _invoke ($out);
421        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
422        return $result;
423     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
424        $in = $ex.getInputStream ();
425        String JavaDoc _id = $ex.getId ();
426        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
427     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
428        return ref_all_objects (include_subtypes);
429     } finally {
430         _releaseReply ($in);
431     }
432   } // ref_all_objects
433

434   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws org.omg.mof.Reflective.MofError
435   {
436     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
437     try {
438        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_set_value", true);
439        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
440        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
441        $in = _invoke ($out);
442     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
443        $in = $ex.getInputStream ();
444        String JavaDoc _id = $ex.getId ();
445        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
446           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
447        else
448             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
449     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
450        ref_set_value (feature, new_value);
451     } finally {
452         _releaseReply ($in);
453     }
454   } // ref_set_value
455

456   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
457   {
458     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
459     try {
460        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
461        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
462        $in = _invoke ($out);
463        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
464        return $result;
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/NotSet:1.0"))
469           throw org.omg.mof.Reflective.NotSetHelper.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        return ref_value (feature);
476     } finally {
477         _releaseReply ($in);
478     }
479   } // ref_value
480

481   public void ref_unset_value () throws 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_unset_value", true);
486        $in = _invoke ($out);
487     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
488        $in = $ex.getInputStream ();
489        String JavaDoc _id = $ex.getId ();
490        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
491           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
492        else
493             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
494     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
495        ref_unset_value ();
496     } finally {
497         _releaseReply ($in);
498     }
499   } // ref_unset_value
500

501   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws org.omg.mof.Reflective.MofError
502   {
503     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
504     try {
505        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value", true);
506        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
507        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
508        $in = _invoke ($out);
509     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
510        $in = $ex.getInputStream ();
511        String JavaDoc _id = $ex.getId ();
512        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
513           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
514        else
515             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
516     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
517        ref_add_value (feature, new_element);
518     } finally {
519         _releaseReply ($in);
520     }
521   } // ref_add_value
522

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

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

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

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

623   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
624   {
625     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
626     try {
627        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value", true);
628        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
629        org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element);
630        $in = _invoke ($out);
631     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
632        $in = $ex.getInputStream ();
633        String JavaDoc _id = $ex.getId ();
634        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
635           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
636        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
637           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
638        else
639             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
640     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
641        ref_remove_value (feature, existing_element);
642     } finally {
643         _releaseReply ($in);
644     }
645   } // ref_remove_value
646

647   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
648   {
649     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
650     try {
651        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
652        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
653        $out.write_ulong (position);
654        $in = _invoke ($out);
655     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
656        $in = $ex.getInputStream ();
657        String JavaDoc _id = $ex.getId ();
658        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
659           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
660        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
661           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
662        else
663             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
664     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
665        ref_remove_value_at (feature, position);
666     } finally {
667         _releaseReply ($in);
668     }
669   } // ref_remove_value_at
670

671   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
672   {
673     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
674     try {
675        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_composite", true);
676        $in = _invoke ($out);
677        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
678        return $result;
679     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
680        $in = $ex.getInputStream ();
681        String JavaDoc _id = $ex.getId ();
682        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
683     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
684        return ref_immediate_composite ();
685     } finally {
686         _releaseReply ($in);
687     }
688   } // ref_immediate_composite
689

690   public org.omg.mof.Reflective.RefObject ref_outermost_composite ()
691   {
692     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
693     try {
694        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_composite", true);
695        $in = _invoke ($out);
696        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
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_outermost_composite ();
704     } finally {
705         _releaseReply ($in);
706     }
707   } // ref_outermost_composite
708

709   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
710   {
711     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
712     try {
713        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
714        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
715        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
716        $in = _invoke ($out);
717        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
718        args.value = org.omg.mof.Reflective.ValueTypeListHelper.read ($in);
719        return $result;
720     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
721        $in = $ex.getInputStream ();
722        String JavaDoc _id = $ex.getId ();
723        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
724           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
725        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
726           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
727        else
728             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
729     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
730        return ref_invoke_operation (requested_operation, args);
731     } finally {
732         _releaseReply ($in);
733     }
734   } // ref_invoke_operation
735

736   public String JavaDoc ref_mof_id ()
737   {
738     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
739     try {
740        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
741        $in = _invoke ($out);
742        String JavaDoc $result = $in.read_string ();
743        return $result;
744     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
745        $in = $ex.getInputStream ();
746        String JavaDoc _id = $ex.getId ();
747        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
748     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
749        return ref_mof_id ();
750     } finally {
751         _releaseReply ($in);
752     }
753   } // ref_mof_id
754

755   public org.omg.mof.Reflective.RefObject ref_meta_object ()
756   {
757     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
758     try {
759        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_meta_object", true);
760        $in = _invoke ($out);
761        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in);
762        return $result;
763     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
764        $in = $ex.getInputStream ();
765        String JavaDoc _id = $ex.getId ();
766        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
767     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
768        return ref_meta_object ();
769     } finally {
770         _releaseReply ($in);
771     }
772   } // ref_meta_object
773

774   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
775   {
776     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
777     try {
778        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
779        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
780        $in = _invoke ($out);
781        boolean $result = $in.read_boolean ();
782        return $result;
783     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
784        $in = $ex.getInputStream ();
785        String JavaDoc _id = $ex.getId ();
786        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
787     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
788        return ref_itself (other_object);
789     } finally {
790         _releaseReply ($in);
791     }
792   } // ref_itself
793

794   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
795   {
796     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
797     try {
798        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_package", true);
799        $in = _invoke ($out);
800        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
801        return $result;
802     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
803        $in = $ex.getInputStream ();
804        String JavaDoc _id = $ex.getId ();
805        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
806     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
807        return ref_immediate_package ();
808     } finally {
809         _releaseReply ($in);
810     }
811   } // ref_immediate_package
812

813   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
814   {
815     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
816     try {
817        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
818        $in = _invoke ($out);
819        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
820        return $result;
821     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
822        $in = $ex.getInputStream ();
823        String JavaDoc _id = $ex.getId ();
824        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
825     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
826        return ref_outermost_package ();
827     } finally {
828         _releaseReply ($in);
829     }
830   } // ref_outermost_package
831

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

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

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

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

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

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

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

992   public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError
993   {
994     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
995     try {
996        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_container", true);
997        org.omg.mof.Model.NamespaceHelper.write ($out, new_value);
998        $in = _invoke ($out);
999     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1000       $in = $ex.getInputStream ();
1001       String JavaDoc _id = $ex.getId ();
1002       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1003          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1004       else
1005            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1006    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1007       set_container (new_value);
1008    } finally {
1009        _releaseReply ($in);
1010    }
1011  } // set_container
1012

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

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

1057  public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError
1058  {
1059    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1060    try {
1061       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_required_elements", true);
1062       org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value);
1063       $in = _invoke ($out);
1064    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1065       $in = $ex.getInputStream ();
1066       String JavaDoc _id = $ex.getId ();
1067       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1068          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1069       else
1070            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1071    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1072       set_required_elements (new_value);
1073    } finally {
1074        _releaseReply ($in);
1075    }
1076  } // set_required_elements
1077

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

1099  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
1100  {
1101    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1102    try {
1103       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
1104       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1105       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1106       $in = _invoke ($out);
1107    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1108       $in = $ex.getInputStream ();
1109       String JavaDoc _id = $ex.getId ();
1110       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1111          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1112       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1113          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1114       else
1115            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1116    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1117       modify_required_elements (old_element, new_element);
1118    } finally {
1119        _releaseReply ($in);
1120    }
1121  } // modify_required_elements
1122

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

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

1170  public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError
1171  {
1172    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1173    try {
1174       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_constraints", true);
1175       org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value);
1176       $in = _invoke ($out);
1177    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1178       $in = $ex.getInputStream ();
1179       String JavaDoc _id = $ex.getId ();
1180       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1181          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1182       else
1183            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1184    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1185       set_constraints (new_value);
1186    } finally {
1187        _releaseReply ($in);
1188    }
1189  } // set_constraints
1190

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

1212  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
1213  {
1214    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1215    try {
1216       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
1217       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
1218       org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
1219       $in = _invoke ($out);
1220    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1221       $in = $ex.getInputStream ();
1222       String JavaDoc _id = $ex.getId ();
1223       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1224          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1225       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1226          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1227       else
1228            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1229    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1230       modify_constraints (old_element, new_element);
1231    } finally {
1232        _releaseReply ($in);
1233    }
1234  } // modify_constraints
1235

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

1259  // Type-specific CORBA::Object operations
1260
private static String JavaDoc[] __ids = {
1261    "IDL:org/omg/mof/Model/Tag:1.0",
1262    "IDL:org/omg/mof/Model/TagClass: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
1268  public String JavaDoc[] _ids ()
1269  {
1270    return (String JavaDoc[])__ids.clone ();
1271  }
1272
1273  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1274  {
1275     String JavaDoc str = s.readUTF ();
1276     String JavaDoc[] args = null;
1277     java.util.Properties JavaDoc props = null;
1278     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1279     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1280     _set_delegate (delegate);
1281  }
1282
1283  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1284  {
1285     String JavaDoc[] args = null;
1286     java.util.Properties JavaDoc props = null;
1287     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1288     s.writeUTF (str);
1289  }
1290} // class _TagStub
1291
Popular Tags