KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_ParameterClassStub.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 //
13
public class _ParameterClassStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.ParameterClass
14 {
15
16   public org.omg.mof.Model.Parameter[] all_of_type_parameter ()
17   {
18     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
19     try {
20        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_parameter", true);
21        $in = _invoke ($out);
22        org.omg.mof.Model.Parameter $result[] = org.omg.mof.Model.ParameterSetHelper.read ($in);
23        return $result;
24     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
25        $in = $ex.getInputStream ();
26        String JavaDoc _id = $ex.getId ();
27        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
28     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
29        return all_of_type_parameter ();
30     } finally {
31         _releaseReply ($in);
32     }
33   } // all_of_type_parameter
34

35   public org.omg.mof.Model.Parameter[] all_of_class_parameter ()
36   {
37     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
38     try {
39        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_class_parameter", true);
40        $in = _invoke ($out);
41        org.omg.mof.Model.Parameter $result[] = org.omg.mof.Model.ParameterSetHelper.read ($in);
42        return $result;
43     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
44        $in = $ex.getInputStream ();
45        String JavaDoc _id = $ex.getId ();
46        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
47     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
48        return all_of_class_parameter ();
49     } finally {
50         _releaseReply ($in);
51     }
52   } // all_of_class_parameter
53

54   public org.omg.mof.Model.Parameter create_parameter (String JavaDoc name, String JavaDoc annotation, org.omg.mof.Model.MultiplicityType multiplicity, org.omg.mof.Model.DirectionKind direction) throws org.omg.mof.Reflective.MofError
55   {
56     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
57     try {
58        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("create_parameter", true);
59        $out.write_string (name);
60        $out.write_string (annotation);
61        org.omg.mof.Model.MultiplicityTypeHelper.write ($out, multiplicity);
62        org.omg.mof.Model.DirectionKindHelper.write ($out, direction);
63        $in = _invoke ($out);
64        org.omg.mof.Model.Parameter $result = org.omg.mof.Model.ParameterHelper.read ($in);
65        return $result;
66     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
67        $in = $ex.getInputStream ();
68        String JavaDoc _id = $ex.getId ();
69        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
70           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
71        else
72             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
73     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
74        return create_parameter (name, annotation, multiplicity, direction);
75     } finally {
76         _releaseReply ($in);
77     }
78   } // create_parameter
79

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

99   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
100   {
101     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
102     try {
103        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
104        $in = _invoke ($out);
105        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in);
106        return $result;
107     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
108        $in = $ex.getInputStream ();
109        String JavaDoc _id = $ex.getId ();
110        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
111     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
112        return all_of_type_model_element ();
113     } finally {
114         _releaseReply ($in);
115     }
116   } // all_of_type_model_element
117

118   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
119   {
120     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
121     try {
122        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
123        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
124        $out.write_boolean (consider_subtypes);
125        $in = _invoke ($out);
126        boolean $result = $in.read_boolean ();
127        return $result;
128     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
129        $in = $ex.getInputStream ();
130        String JavaDoc _id = $ex.getId ();
131        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
132     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
133        return ref_is_instance_of (some_class, consider_subtypes);
134     } finally {
135         _releaseReply ($in);
136     }
137   } // ref_is_instance_of
138

139   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
140   {
141     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
142     try {
143        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
144        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
145        $in = _invoke ($out);
146        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
147        return $result;
148     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
149        $in = $ex.getInputStream ();
150        String JavaDoc _id = $ex.getId ();
151        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
152           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
153        else
154             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
155     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
156        return ref_create_instance (args);
157     } finally {
158         _releaseReply ($in);
159     }
160   } // ref_create_instance
161

162   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
163   {
164     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
165     try {
166        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
167        $out.write_boolean (include_subtypes);
168        $in = _invoke ($out);
169        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
170        return $result;
171     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
172        $in = $ex.getInputStream ();
173        String JavaDoc _id = $ex.getId ();
174        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
175     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
176        return ref_all_objects (include_subtypes);
177     } finally {
178         _releaseReply ($in);
179     }
180   } // ref_all_objects
181

182   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws org.omg.mof.Reflective.MofError
183   {
184     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
185     try {
186        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_set_value", true);
187        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
188        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
189        $in = _invoke ($out);
190     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
191        $in = $ex.getInputStream ();
192        String JavaDoc _id = $ex.getId ();
193        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
194           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
195        else
196             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
197     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
198        ref_set_value (feature, new_value);
199     } finally {
200         _releaseReply ($in);
201     }
202   } // ref_set_value
203

204   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
205   {
206     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
207     try {
208        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
209        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
210        $in = _invoke ($out);
211        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
212        return $result;
213     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
214        $in = $ex.getInputStream ();
215        String JavaDoc _id = $ex.getId ();
216        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
217           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
218        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
219           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
220        else
221             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
222     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
223        return ref_value (feature);
224     } finally {
225         _releaseReply ($in);
226     }
227   } // ref_value
228

229   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
230   {
231     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
232     try {
233        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
234        $in = _invoke ($out);
235     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
236        $in = $ex.getInputStream ();
237        String JavaDoc _id = $ex.getId ();
238        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
239           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
240        else
241             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
242     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
243        ref_unset_value ();
244     } finally {
245         _releaseReply ($in);
246     }
247   } // ref_unset_value
248

249   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws org.omg.mof.Reflective.MofError
250   {
251     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
252     try {
253        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value", true);
254        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
255        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
256        $in = _invoke ($out);
257     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
258        $in = $ex.getInputStream ();
259        String JavaDoc _id = $ex.getId ();
260        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
261           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
262        else
263             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
264     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
265        ref_add_value (feature, new_element);
266     } finally {
267         _releaseReply ($in);
268     }
269   } // ref_add_value
270

271   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
272   {
273     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
274     try {
275        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_before", true);
276        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
277        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
278        org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element);
279        $in = _invoke ($out);
280     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
281        $in = $ex.getInputStream ();
282        String JavaDoc _id = $ex.getId ();
283        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
284           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
285        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
286           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
287        else
288             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
289     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
290        ref_add_value_before (feature, new_element, before_element);
291     } finally {
292         _releaseReply ($in);
293     }
294   } // ref_add_value_before
295

296   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
297   {
298     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
299     try {
300        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_at", true);
301        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
302        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
303        $out.write_ulong (position);
304        $in = _invoke ($out);
305     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
306        $in = $ex.getInputStream ();
307        String JavaDoc _id = $ex.getId ();
308        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
309           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
310        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
311           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
312        else
313             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
314     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
315        ref_add_value_at (feature, new_element, position);
316     } finally {
317         _releaseReply ($in);
318     }
319   } // ref_add_value_at
320

321   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
322   {
323     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
324     try {
325        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value", true);
326        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
327        org.omg.mof.Reflective._ValueTypeHelper.write ($out, old_element);
328        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
329        $in = _invoke ($out);
330     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
331        $in = $ex.getInputStream ();
332        String JavaDoc _id = $ex.getId ();
333        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
334           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
335        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
336           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
337        else
338             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
339     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
340        ref_modify_value (feature, old_element, new_element);
341     } finally {
342         _releaseReply ($in);
343     }
344   } // ref_modify_value
345

346   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
347   {
348     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
349     try {
350        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_modify_value_at", true);
351        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
352        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
353        $out.write_ulong (position);
354        $in = _invoke ($out);
355     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
356        $in = $ex.getInputStream ();
357        String JavaDoc _id = $ex.getId ();
358        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
359           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
360        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
361           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
362        else
363             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
364     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
365        ref_modify_value_at (feature, new_element, position);
366     } finally {
367         _releaseReply ($in);
368     }
369   } // ref_modify_value_at
370

371   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
372   {
373     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
374     try {
375        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value", true);
376        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
377        org.omg.mof.Reflective._ValueTypeHelper.write ($out, existing_element);
378        $in = _invoke ($out);
379     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
380        $in = $ex.getInputStream ();
381        String JavaDoc _id = $ex.getId ();
382        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
383           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
384        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
385           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
386        else
387             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
388     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
389        ref_remove_value (feature, existing_element);
390     } finally {
391         _releaseReply ($in);
392     }
393   } // ref_remove_value
394

395   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
396   {
397     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
398     try {
399        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_remove_value_at", true);
400        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
401        $out.write_ulong (position);
402        $in = _invoke ($out);
403     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
404        $in = $ex.getInputStream ();
405        String JavaDoc _id = $ex.getId ();
406        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
407           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
408        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
409           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
410        else
411             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
412     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
413        ref_remove_value_at (feature, position);
414     } finally {
415         _releaseReply ($in);
416     }
417   } // ref_remove_value_at
418

419   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
420   {
421     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
422     try {
423        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_composite", true);
424        $in = _invoke ($out);
425        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
426        return $result;
427     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
428        $in = $ex.getInputStream ();
429        String JavaDoc _id = $ex.getId ();
430        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
431     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
432        return ref_immediate_composite ();
433     } finally {
434         _releaseReply ($in);
435     }
436   } // ref_immediate_composite
437

438   public org.omg.mof.Reflective.RefObject ref_outermost_composite ()
439   {
440     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
441     try {
442        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_composite", true);
443        $in = _invoke ($out);
444        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
445        return $result;
446     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
447        $in = $ex.getInputStream ();
448        String JavaDoc _id = $ex.getId ();
449        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
450     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
451        return ref_outermost_composite ();
452     } finally {
453         _releaseReply ($in);
454     }
455   } // ref_outermost_composite
456

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

484   public String JavaDoc ref_mof_id ()
485   {
486     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
487     try {
488        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
489        $in = _invoke ($out);
490        String JavaDoc $result = $in.read_string ();
491        return $result;
492     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
493        $in = $ex.getInputStream ();
494        String JavaDoc _id = $ex.getId ();
495        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
496     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
497        return ref_mof_id ();
498     } finally {
499         _releaseReply ($in);
500     }
501   } // ref_mof_id
502

503   public org.omg.mof.Reflective.RefObject ref_meta_object ()
504   {
505     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
506     try {
507        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_meta_object", true);
508        $in = _invoke ($out);
509        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in);
510        return $result;
511     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
512        $in = $ex.getInputStream ();
513        String JavaDoc _id = $ex.getId ();
514        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
515     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
516        return ref_meta_object ();
517     } finally {
518         _releaseReply ($in);
519     }
520   } // ref_meta_object
521

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

542   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
543   {
544     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
545     try {
546        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_package", true);
547        $in = _invoke ($out);
548        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
549        return $result;
550     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
551        $in = $ex.getInputStream ();
552        String JavaDoc _id = $ex.getId ();
553        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
554     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
555        return ref_immediate_package ();
556     } finally {
557         _releaseReply ($in);
558     }
559   } // ref_immediate_package
560

561   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
562   {
563     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
564     try {
565        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
566        $in = _invoke ($out);
567        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
568        return $result;
569     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
570        $in = $ex.getInputStream ();
571        String JavaDoc _id = $ex.getId ();
572        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
573     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
574        return ref_outermost_package ();
575     } finally {
576         _releaseReply ($in);
577     }
578   } // ref_outermost_package
579

580   public void ref_delete () throws org.omg.mof.Reflective.MofError
581   {
582     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
583     try {
584        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_delete", true);
585        $in = _invoke ($out);
586     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
587        $in = $ex.getInputStream ();
588        String JavaDoc _id = $ex.getId ();
589        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
590           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
591        else
592             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
593     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
594        ref_delete ();
595     } finally {
596         _releaseReply ($in);
597     }
598   } // ref_delete
599

600   // Type-specific CORBA::Object operations
601
private static String JavaDoc[] __ids = {
602     "IDL:org/omg/mof/Model/ParameterClass:1.0",
603     "IDL:org/omg/mof/Model/TypedElementClass:1.0",
604     "IDL:org/omg/mof/Model/ModelElementClass:1.0",
605     "IDL:org/omg/mof/Reflective/RefObject:1.0",
606     "IDL:org/omg/mof/Reflective/RefBaseObject:1.0"};
607
608   public String JavaDoc[] _ids ()
609   {
610     return (String JavaDoc[])__ids.clone ();
611   }
612
613   private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
614   {
615      String JavaDoc str = s.readUTF ();
616      String JavaDoc[] args = null;
617      java.util.Properties JavaDoc props = null;
618      org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
619      org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
620      _set_delegate (delegate);
621   }
622
623   private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
624   {
625      String JavaDoc[] args = null;
626      java.util.Properties JavaDoc props = null;
627      String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
628      s.writeUTF (str);
629   }
630 } // class _ParameterClassStub
631
Popular Tags