KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_ConstraintStub.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 ConstraintClass
13
public class _ConstraintStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.Constraint
14 {
15
16
17   //
18
public org.omg.mof.Model.ConstraintClassPackage.EvaluationKind evaluation_policy () 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 ("evaluation_policy", true);
23        $in = _invoke ($out);
24        org.omg.mof.Model.ConstraintClassPackage.EvaluationKind $result = org.omg.mof.Model.ConstraintClassPackage.EvaluationKindHelper.read ($in);
25        return $result;
26     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
27        $in = $ex.getInputStream ();
28        String JavaDoc _id = $ex.getId ();
29        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
30           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
31        else
32             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
33     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
34        return evaluation_policy ();
35     } finally {
36         _releaseReply ($in);
37     }
38   } // evaluation_policy
39

40   public void set_evaluation_policy (org.omg.mof.Model.ConstraintClassPackage.EvaluationKind 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_evaluation_policy", true);
45        org.omg.mof.Model.ConstraintClassPackage.EvaluationKindHelper.write ($out, new_value);
46        $in = _invoke ($out);
47     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
48        $in = $ex.getInputStream ();
49        String JavaDoc _id = $ex.getId ();
50        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
51           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
52        else
53             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
54     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
55        set_evaluation_policy (new_value);
56     } finally {
57         _releaseReply ($in);
58     }
59   } // set_evaluation_policy
60

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

85   public void set_expression (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_expression", true);
90        $out.write_any (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_expression (new_value);
101     } finally {
102         _releaseReply ($in);
103     }
104   } // set_expression
105

106
107   //
108
public String JavaDoc language () 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 ("language", true);
113        $in = _invoke ($out);
114        String JavaDoc $result = $in.read_string ();
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 language ();
125     } finally {
126         _releaseReply ($in);
127     }
128   } // language
129

130   public void set_language (String JavaDoc 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_language", true);
135        $out.write_string (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_language (new_value);
146     } finally {
147         _releaseReply ($in);
148     }
149   } // set_language
150

151
152   //
153
public org.omg.mof.Model.ModelElement[] constrained_elements () 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 ("constrained_elements", true);
158        $in = _invoke ($out);
159        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in);
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 constrained_elements ();
170     } finally {
171         _releaseReply ($in);
172     }
173   } // constrained_elements
174

175   public void set_constrained_elements (org.omg.mof.Model.ModelElement[] 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_constrained_elements", true);
180        org.omg.mof.Model.ModelElementBagHelper.write ($out, 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_constrained_elements (new_value);
191     } finally {
192         _releaseReply ($in);
193     }
194   } // set_constrained_elements
195

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

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

241   public void remove_constrained_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
242   {
243     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
244     try {
245        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_constrained_elements", true);
246        org.omg.mof.Model.ModelElementHelper.write ($out, old_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        remove_constrained_elements (old_element);
259     } finally {
260         _releaseReply ($in);
261     }
262   } // remove_constrained_elements
263

264   public org.omg.mof.Model.Constraint[] all_of_type_constraint ()
265   {
266     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
267     try {
268        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_constraint", true);
269        $in = _invoke ($out);
270        org.omg.mof.Model.Constraint $result[] = org.omg.mof.Model.ConstraintSetHelper.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        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
276     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
277        return all_of_type_constraint ();
278     } finally {
279         _releaseReply ($in);
280     }
281   } // all_of_type_constraint
282

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

302   public org.omg.mof.Model.Constraint create_constraint (String JavaDoc name, String JavaDoc annotation, org.omg.mof.Model.ConstraintClassPackage.EvaluationKind evaluation_policy, org.omg.CORBA.Any JavaDoc expression, String JavaDoc language) throws org.omg.mof.Reflective.MofError
303   {
304     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
305     try {
306        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("create_constraint", true);
307        $out.write_string (name);
308        $out.write_string (annotation);
309        org.omg.mof.Model.ConstraintClassPackage.EvaluationKindHelper.write ($out, evaluation_policy);
310        $out.write_any (expression);
311        $out.write_string (language);
312        $in = _invoke ($out);
313        org.omg.mof.Model.Constraint $result = org.omg.mof.Model.ConstraintHelper.read ($in);
314        return $result;
315     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
316        $in = $ex.getInputStream ();
317        String JavaDoc _id = $ex.getId ();
318        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
319           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
320        else
321             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
322     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
323        return create_constraint (name, annotation, evaluation_policy, expression, language);
324     } finally {
325         _releaseReply ($in);
326     }
327   } // create_constraint
328

329   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
330   {
331     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
332     try {
333        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
334        $in = _invoke ($out);
335        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.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        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
341     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
342        return all_of_type_model_element ();
343     } finally {
344         _releaseReply ($in);
345     }
346   } // all_of_type_model_element
347

348   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
349   {
350     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
351     try {
352        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
353        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
354        $out.write_boolean (consider_subtypes);
355        $in = _invoke ($out);
356        boolean $result = $in.read_boolean ();
357        return $result;
358     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
359        $in = $ex.getInputStream ();
360        String JavaDoc _id = $ex.getId ();
361        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
362     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
363        return ref_is_instance_of (some_class, consider_subtypes);
364     } finally {
365         _releaseReply ($in);
366     }
367   } // ref_is_instance_of
368

369   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
370   {
371     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
372     try {
373        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
374        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
375        $in = _invoke ($out);
376        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
377        return $result;
378     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
379        $in = $ex.getInputStream ();
380        String JavaDoc _id = $ex.getId ();
381        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
382           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
383        else
384             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
385     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
386        return ref_create_instance (args);
387     } finally {
388         _releaseReply ($in);
389     }
390   } // ref_create_instance
391

392   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
393   {
394     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
395     try {
396        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
397        $out.write_boolean (include_subtypes);
398        $in = _invoke ($out);
399        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
400        return $result;
401     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
402        $in = $ex.getInputStream ();
403        String JavaDoc _id = $ex.getId ();
404        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
405     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
406        return ref_all_objects (include_subtypes);
407     } finally {
408         _releaseReply ($in);
409     }
410   } // ref_all_objects
411

412   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws org.omg.mof.Reflective.MofError
413   {
414     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
415     try {
416        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_set_value", true);
417        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
418        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
419        $in = _invoke ($out);
420     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
421        $in = $ex.getInputStream ();
422        String JavaDoc _id = $ex.getId ();
423        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
424           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
425        else
426             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
427     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
428        ref_set_value (feature, new_value);
429     } finally {
430         _releaseReply ($in);
431     }
432   } // ref_set_value
433

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

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

479   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws org.omg.mof.Reflective.MofError
480   {
481     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
482     try {
483        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value", true);
484        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
485        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
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_add_value (feature, new_element);
496     } finally {
497         _releaseReply ($in);
498     }
499   } // ref_add_value
500

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

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

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

576   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
577   {
578     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
579     try {
580        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value_at", true);
581        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
582        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
583        $out.write_ulong (position);
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/BadPosition:1.0"))
589           throw org.omg.mof.Reflective.BadPositionHelper.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_modify_value_at (feature, new_element, position);
596     } finally {
597         _releaseReply ($in);
598     }
599   } // ref_modify_value_at
600

601   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
602   {
603     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
604     try {
605        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value", true);
606        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
607        org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element);
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/NotFound:1.0"))
613           throw org.omg.mof.Reflective.NotFoundHelper.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 (feature, existing_element);
620     } finally {
621         _releaseReply ($in);
622     }
623   } // ref_remove_value
624

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

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

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

687   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
688   {
689     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
690     try {
691        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
692        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
693        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
694        $in = _invoke ($out);
695        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
696        args.value = org.omg.mof.Reflective.ValueTypeListHelper.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        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
702           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
703        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
704           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
705        else
706             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
707     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
708        return ref_invoke_operation (requested_operation, args);
709     } finally {
710         _releaseReply ($in);
711     }
712   } // ref_invoke_operation
713

714   public String JavaDoc ref_mof_id ()
715   {
716     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
717     try {
718        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
719        $in = _invoke ($out);
720        String JavaDoc $result = $in.read_string ();
721        return $result;
722     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
723        $in = $ex.getInputStream ();
724        String JavaDoc _id = $ex.getId ();
725        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
726     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
727        return ref_mof_id ();
728     } finally {
729         _releaseReply ($in);
730     }
731   } // ref_mof_id
732

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

752   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
753   {
754     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
755     try {
756        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
757        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
758        $in = _invoke ($out);
759        boolean $result = $in.read_boolean ();
760        return $result;
761     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
762        $in = $ex.getInputStream ();
763        String JavaDoc _id = $ex.getId ();
764        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
765     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
766        return ref_itself (other_object);
767     } finally {
768         _releaseReply ($in);
769     }
770   } // ref_itself
771

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

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

810   public void ref_delete () throws org.omg.mof.Reflective.MofError
811   {
812     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
813     try {
814        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_delete", true);
815        $in = _invoke ($out);
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        ref_delete ();
825     } finally {
826         _releaseReply ($in);
827     }
828   } // ref_delete
829

830
831   //
832
public String JavaDoc name () 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 ("name", true);
837        $in = _invoke ($out);
838        String JavaDoc $result = $in.read_string ();
839        return $result;
840     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
841        $in = $ex.getInputStream ();
842        String JavaDoc _id = $ex.getId ();
843        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
844           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
845        else
846             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
847     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
848        return name ();
849     } finally {
850         _releaseReply ($in);
851     }
852   } // name
853

854   public void set_name (String JavaDoc new_value) 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 ("set_name", true);
859        $out.write_string (new_value);
860        $in = _invoke ($out);
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        set_name (new_value);
870     } finally {
871         _releaseReply ($in);
872     }
873   } // set_name
874

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

899   public void set_annotation (String JavaDoc new_value) 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 ("set_annotation", true);
904        $out.write_string (new_value);
905        $in = _invoke ($out);
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        set_annotation (new_value);
915     } finally {
916         _releaseReply ($in);
917     }
918   } // set_annotation
919

920
921   //
922
public String JavaDoc[] qualified_name () throws 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 ("qualified_name", true);
927        $in = _invoke ($out);
928        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.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/MofError:1.0"))
934           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
935        else
936             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
937     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
938        return qualified_name ();
939     } finally {
940         _releaseReply ($in);
941     }
942   } // qualified_name
943

944
945   //
946
public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, 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 ("container", true);
951        $in = _invoke ($out);
952        org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in);
953        return $result;
954     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
955        $in = $ex.getInputStream ();
956        String JavaDoc _id = $ex.getId ();
957        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
958           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
959        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
960           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
961        else
962             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
963     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
964        return container ();
965     } finally {
966         _releaseReply ($in);
967     }
968   } // container
969

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

991   public void unset_container () throws org.omg.mof.Reflective.MofError
992   {
993     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
994     try {
995        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("unset_container", true);
996        $in = _invoke ($out);
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       unset_container ();
1006    } finally {
1007        _releaseReply ($in);
1008    }
1009  } // unset_container
1010

1011
1012  //
1013
public org.omg.mof.Model.ModelElement[] required_elements () 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 ("required_elements", true);
1018       $in = _invoke ($out);
1019       org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in);
1020       return $result;
1021    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1022       $in = $ex.getInputStream ();
1023       String JavaDoc _id = $ex.getId ();
1024       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1025          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1026       else
1027            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1028    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1029       return required_elements ();
1030    } finally {
1031        _releaseReply ($in);
1032    }
1033  } // required_elements
1034

1035  public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) 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 ("set_required_elements", true);
1040       org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value);
1041       $in = _invoke ($out);
1042    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1043       $in = $ex.getInputStream ();
1044       String JavaDoc _id = $ex.getId ();
1045       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1046          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1047       else
1048            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1049    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1050       set_required_elements (new_value);
1051    } finally {
1052        _releaseReply ($in);
1053    }
1054  } // set_required_elements
1055

1056  public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
1057  {
1058    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1059    try {
1060       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_required_elements", true);
1061       org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
1062       $in = _invoke ($out);
1063    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1064       $in = $ex.getInputStream ();
1065       String JavaDoc _id = $ex.getId ();
1066       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       add_required_elements (new_element);
1072    } finally {
1073        _releaseReply ($in);
1074    }
1075  } // add_required_elements
1076

1077  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
1078  {
1079    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1080    try {
1081       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
1082       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
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/NotFound:1.0"))
1089          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1090       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1091          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1092       else
1093            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1094    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1095       modify_required_elements (old_element, new_element);
1096    } finally {
1097        _releaseReply ($in);
1098    }
1099  } // modify_required_elements
1100

1101  public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1102  {
1103    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1104    try {
1105       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_required_elements", true);
1106       org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
1107       $in = _invoke ($out);
1108    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1109       $in = $ex.getInputStream ();
1110       String JavaDoc _id = $ex.getId ();
1111       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1112          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1113       else 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       remove_required_elements (old_element);
1119    } finally {
1120        _releaseReply ($in);
1121    }
1122  } // remove_required_elements
1123

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

1148  public void set_constraints (org.omg.mof.Model.Constraint[] new_value) 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 ("set_constraints", true);
1153       org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value);
1154       $in = _invoke ($out);
1155    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1156       $in = $ex.getInputStream ();
1157       String JavaDoc _id = $ex.getId ();
1158       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1159          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1160       else
1161            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1162    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1163       set_constraints (new_value);
1164    } finally {
1165        _releaseReply ($in);
1166    }
1167  } // set_constraints
1168

1169  public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError
1170  {
1171    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1172    try {
1173       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_constraints", true);
1174       org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
1175       $in = _invoke ($out);
1176    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1177       $in = $ex.getInputStream ();
1178       String JavaDoc _id = $ex.getId ();
1179       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       add_constraints (new_element);
1185    } finally {
1186        _releaseReply ($in);
1187    }
1188  } // add_constraints
1189

1190  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
1191  {
1192    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1193    try {
1194       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
1195       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
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/NotFound:1.0"))
1202          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1203       else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1204          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1205       else
1206            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1207    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1208       modify_constraints (old_element, new_element);
1209    } finally {
1210        _releaseReply ($in);
1211    }
1212  } // modify_constraints
1213

1214  public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
1215  {
1216    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1217    try {
1218       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_constraints", true);
1219       org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
1220       $in = _invoke ($out);
1221    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1222       $in = $ex.getInputStream ();
1223       String JavaDoc _id = $ex.getId ();
1224       if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
1225          throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
1226       else 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       remove_constraints (old_element);
1232    } finally {
1233        _releaseReply ($in);
1234    }
1235  } // remove_constraints
1236

1237  // Type-specific CORBA::Object operations
1238
private static String JavaDoc[] __ids = {
1239    "IDL:org/omg/mof/Model/Constraint:1.0",
1240    "IDL:org/omg/mof/Model/ConstraintClass:1.0",
1241    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1242    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1243    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1244    "IDL:org/omg/mof/Model/ModelElement:1.0"};
1245
1246  public String JavaDoc[] _ids ()
1247  {
1248    return (String JavaDoc[])__ids.clone ();
1249  }
1250
1251  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1252  {
1253     String JavaDoc str = s.readUTF ();
1254     String JavaDoc[] args = null;
1255     java.util.Properties JavaDoc props = null;
1256     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1257     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1258     _set_delegate (delegate);
1259  }
1260
1261  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1262  {
1263     String JavaDoc[] args = null;
1264     java.util.Properties JavaDoc props = null;
1265     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1266     s.writeUTF (str);
1267  }
1268} // class _ConstraintStub
1269
Popular Tags