KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_BehavioralFeatureClassStub.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 _BehavioralFeatureClassStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.BehavioralFeatureClass
14 {
15
16   public org.omg.mof.Model.BehavioralFeature[] all_of_type_behavioral_feature ()
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_behavioral_feature", true);
21        $in = _invoke ($out);
22        org.omg.mof.Model.BehavioralFeature $result[] = org.omg.mof.Model.BehavioralFeatureSetHelper.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_behavioral_feature ();
30     } finally {
31         _releaseReply ($in);
32     }
33   } // all_of_type_behavioral_feature
34

35   public org.omg.mof.Model.Namespace[] all_of_type_namespace ()
36   {
37     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
38     try {
39        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_namespace", true);
40        $in = _invoke ($out);
41        org.omg.mof.Model.Namespace $result[] = org.omg.mof.Model.NamespaceSetHelper.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_type_namespace ();
49     } finally {
50         _releaseReply ($in);
51     }
52   } // all_of_type_namespace
53

54   public org.omg.mof.Model.ModelElement[] all_of_type_model_element ()
55   {
56     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
57     try {
58        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_model_element", true);
59        $in = _invoke ($out);
60        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.read ($in);
61        return $result;
62     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
63        $in = $ex.getInputStream ();
64        String JavaDoc _id = $ex.getId ();
65        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
66     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
67        return all_of_type_model_element ();
68     } finally {
69         _releaseReply ($in);
70     }
71   } // all_of_type_model_element
72

73   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
74   {
75     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
76     try {
77        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
78        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
79        $out.write_boolean (consider_subtypes);
80        $in = _invoke ($out);
81        boolean $result = $in.read_boolean ();
82        return $result;
83     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
84        $in = $ex.getInputStream ();
85        String JavaDoc _id = $ex.getId ();
86        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
87     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
88        return ref_is_instance_of (some_class, consider_subtypes);
89     } finally {
90         _releaseReply ($in);
91     }
92   } // ref_is_instance_of
93

94   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
95   {
96     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
97     try {
98        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
99        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
100        $in = _invoke ($out);
101        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
102        return $result;
103     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
104        $in = $ex.getInputStream ();
105        String JavaDoc _id = $ex.getId ();
106        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
107           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
108        else
109             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
110     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
111        return ref_create_instance (args);
112     } finally {
113         _releaseReply ($in);
114     }
115   } // ref_create_instance
116

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

137   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws org.omg.mof.Reflective.MofError
138   {
139     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
140     try {
141        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_set_value", true);
142        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
143        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
144        $in = _invoke ($out);
145     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
146        $in = $ex.getInputStream ();
147        String JavaDoc _id = $ex.getId ();
148        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
149           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
150        else
151             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
152     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
153        ref_set_value (feature, new_value);
154     } finally {
155         _releaseReply ($in);
156     }
157   } // ref_set_value
158

159   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
160   {
161     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
162     try {
163        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
164        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
165        $in = _invoke ($out);
166        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
167        return $result;
168     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
169        $in = $ex.getInputStream ();
170        String JavaDoc _id = $ex.getId ();
171        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
172           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
173        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
174           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
175        else
176             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
177     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
178        return ref_value (feature);
179     } finally {
180         _releaseReply ($in);
181     }
182   } // ref_value
183

184   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
185   {
186     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
187     try {
188        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
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_unset_value ();
199     } finally {
200         _releaseReply ($in);
201     }
202   } // ref_unset_value
203

204   public void ref_add_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_element) throws 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_add_value", true);
209        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
210        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
211        $in = _invoke ($out);
212     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
213        $in = $ex.getInputStream ();
214        String JavaDoc _id = $ex.getId ();
215        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
216           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
217        else
218             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
219     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
220        ref_add_value (feature, new_element);
221     } finally {
222         _releaseReply ($in);
223     }
224   } // ref_add_value
225

226   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
227   {
228     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
229     try {
230        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_before", true);
231        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
232        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
233        org.omg.mof.Reflective._ValueTypeHelper.write ($out, before_element);
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/NotFound:1.0"))
239           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
240        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
241           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
242        else
243             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
244     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
245        ref_add_value_before (feature, new_element, before_element);
246     } finally {
247         _releaseReply ($in);
248     }
249   } // ref_add_value_before
250

251   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
252   {
253     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
254     try {
255        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_add_value_at", true);
256        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
257        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_element);
258        $out.write_ulong (position);
259        $in = _invoke ($out);
260     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
261        $in = $ex.getInputStream ();
262        String JavaDoc _id = $ex.getId ();
263        if (_id.equals ("IDL:org/omg/mof/Reflective/BadPosition:1.0"))
264           throw org.omg.mof.Reflective.BadPositionHelper.read ($in);
265        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
266           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
267        else
268             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
269     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
270        ref_add_value_at (feature, new_element, position);
271     } finally {
272         _releaseReply ($in);
273     }
274   } // ref_add_value_at
275

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

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

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

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

374   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
375   {
376     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
377     try {
378        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_composite", true);
379        $in = _invoke ($out);
380        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
381        return $result;
382     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
383        $in = $ex.getInputStream ();
384        String JavaDoc _id = $ex.getId ();
385        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
386     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
387        return ref_immediate_composite ();
388     } finally {
389         _releaseReply ($in);
390     }
391   } // ref_immediate_composite
392

393   public org.omg.mof.Reflective.RefObject ref_outermost_composite ()
394   {
395     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
396     try {
397        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_composite", true);
398        $in = _invoke ($out);
399        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.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_outermost_composite ();
407     } finally {
408         _releaseReply ($in);
409     }
410   } // ref_outermost_composite
411

412   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
413   {
414     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
415     try {
416        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_invoke_operation", true);
417        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, requested_operation);
418        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args.value);
419        $in = _invoke ($out);
420        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
421        args.value = org.omg.mof.Reflective.ValueTypeListHelper.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        if (_id.equals ("IDL:org/omg/mof/Reflective/OtherException:1.0"))
427           throw org.omg.mof.Reflective.OtherExceptionHelper.read ($in);
428        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
429           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
430        else
431             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
432     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
433        return ref_invoke_operation (requested_operation, args);
434     } finally {
435         _releaseReply ($in);
436     }
437   } // ref_invoke_operation
438

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

458   public org.omg.mof.Reflective.RefObject ref_meta_object ()
459   {
460     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
461     try {
462        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_meta_object", true);
463        $in = _invoke ($out);
464        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in);
465        return $result;
466     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
467        $in = $ex.getInputStream ();
468        String JavaDoc _id = $ex.getId ();
469        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
470     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
471        return ref_meta_object ();
472     } finally {
473         _releaseReply ($in);
474     }
475   } // ref_meta_object
476

477   public boolean ref_itself (org.omg.mof.Reflective.RefBaseObject other_object)
478   {
479     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
480     try {
481        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_itself", true);
482        org.omg.mof.Reflective.RefBaseObjectHelper.write ($out, other_object);
483        $in = _invoke ($out);
484        boolean $result = $in.read_boolean ();
485        return $result;
486     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
487        $in = $ex.getInputStream ();
488        String JavaDoc _id = $ex.getId ();
489        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
490     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
491        return ref_itself (other_object);
492     } finally {
493         _releaseReply ($in);
494     }
495   } // ref_itself
496

497   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
498   {
499     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
500     try {
501        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_package", true);
502        $in = _invoke ($out);
503        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
504        return $result;
505     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
506        $in = $ex.getInputStream ();
507        String JavaDoc _id = $ex.getId ();
508        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
509     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
510        return ref_immediate_package ();
511     } finally {
512         _releaseReply ($in);
513     }
514   } // ref_immediate_package
515

516   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
517   {
518     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
519     try {
520        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_package", true);
521        $in = _invoke ($out);
522        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
523        return $result;
524     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
525        $in = $ex.getInputStream ();
526        String JavaDoc _id = $ex.getId ();
527        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
528     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
529        return ref_outermost_package ();
530     } finally {
531         _releaseReply ($in);
532     }
533   } // ref_outermost_package
534

535   public void ref_delete () throws org.omg.mof.Reflective.MofError
536   {
537     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
538     try {
539        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_delete", true);
540        $in = _invoke ($out);
541     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
542        $in = $ex.getInputStream ();
543        String JavaDoc _id = $ex.getId ();
544        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
545           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
546        else
547             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
548     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
549        ref_delete ();
550     } finally {
551         _releaseReply ($in);
552     }
553   } // ref_delete
554

555   public org.omg.mof.Model.Feature[] all_of_type_feature ()
556   {
557     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
558     try {
559        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_feature", true);
560        $in = _invoke ($out);
561        org.omg.mof.Model.Feature $result[] = org.omg.mof.Model.FeatureSetHelper.read ($in);
562        return $result;
563     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
564        $in = $ex.getInputStream ();
565        String JavaDoc _id = $ex.getId ();
566        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
567     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
568        return all_of_type_feature ();
569     } finally {
570         _releaseReply ($in);
571     }
572   } // all_of_type_feature
573

574   // Type-specific CORBA::Object operations
575
private static String JavaDoc[] __ids = {
576     "IDL:org/omg/mof/Model/BehavioralFeatureClass:1.0",
577     "IDL:org/omg/mof/Model/NamespaceClass:1.0",
578     "IDL:org/omg/mof/Model/ModelElementClass:1.0",
579     "IDL:org/omg/mof/Reflective/RefObject:1.0",
580     "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
581     "IDL:org/omg/mof/Model/FeatureClass:1.0"};
582
583   public String JavaDoc[] _ids ()
584   {
585     return (String JavaDoc[])__ids.clone ();
586   }
587
588   private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
589   {
590      String JavaDoc str = s.readUTF ();
591      String JavaDoc[] args = null;
592      java.util.Properties JavaDoc props = null;
593      org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
594      org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
595      _set_delegate (delegate);
596   }
597
598   private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
599   {
600      String JavaDoc[] args = null;
601      java.util.Properties JavaDoc props = null;
602      String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
603      s.writeUTF (str);
604   }
605 } // class _BehavioralFeatureClassStub
606
Popular Tags