KickJava   Java API By Example, From Geeks To Geeks.

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


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

35   public org.omg.mof.Model.TypeAlias[] all_of_class_type_alias ()
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_type_alias", true);
40        $in = _invoke ($out);
41        org.omg.mof.Model.TypeAlias $result[] = org.omg.mof.Model.TypeAliasSetHelper.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_type_alias ();
49     } finally {
50         _releaseReply ($in);
51     }
52   } // all_of_class_type_alias
53

54   public org.omg.mof.Model.TypeAlias create_type_alias (String JavaDoc name, String JavaDoc annotation) 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_type_alias", true);
59        $out.write_string (name);
60        $out.write_string (annotation);
61        $in = _invoke ($out);
62        org.omg.mof.Model.TypeAlias $result = org.omg.mof.Model.TypeAliasHelper.read ($in);
63        return $result;
64     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
65        $in = $ex.getInputStream ();
66        String JavaDoc _id = $ex.getId ();
67        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
68           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
69        else
70             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
71     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
72        return create_type_alias (name, annotation);
73     } finally {
74         _releaseReply ($in);
75     }
76   } // create_type_alias
77

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

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

116   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
117   {
118     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
119     try {
120        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
121        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
122        $out.write_boolean (consider_subtypes);
123        $in = _invoke ($out);
124        boolean $result = $in.read_boolean ();
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_is_instance_of (some_class, consider_subtypes);
132     } finally {
133         _releaseReply ($in);
134     }
135   } // ref_is_instance_of
136

137   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) 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_create_instance", true);
142        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
143        $in = _invoke ($out);
144        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
145        return $result;
146     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
147        $in = $ex.getInputStream ();
148        String JavaDoc _id = $ex.getId ();
149        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
150           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
151        else
152             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
153     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
154        return ref_create_instance (args);
155     } finally {
156         _releaseReply ($in);
157     }
158   } // ref_create_instance
159

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

598
599   //
600
public String JavaDoc name () throws org.omg.mof.Reflective.MofError
601   {
602     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
603     try {
604        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("name", true);
605        $in = _invoke ($out);
606        String JavaDoc $result = $in.read_string ();
607        return $result;
608     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
609        $in = $ex.getInputStream ();
610        String JavaDoc _id = $ex.getId ();
611        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
612           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
613        else
614             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
615     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
616        return name ();
617     } finally {
618         _releaseReply ($in);
619     }
620   } // name
621

622   public void set_name (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
623   {
624     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
625     try {
626        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_name", true);
627        $out.write_string (new_value);
628        $in = _invoke ($out);
629     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
630        $in = $ex.getInputStream ();
631        String JavaDoc _id = $ex.getId ();
632        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
633           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
634        else
635             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
636     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
637        set_name (new_value);
638     } finally {
639         _releaseReply ($in);
640     }
641   } // set_name
642

643
644   //
645
public String JavaDoc annotation () throws org.omg.mof.Reflective.MofError
646   {
647     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
648     try {
649        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("annotation", true);
650        $in = _invoke ($out);
651        String JavaDoc $result = $in.read_string ();
652        return $result;
653     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
654        $in = $ex.getInputStream ();
655        String JavaDoc _id = $ex.getId ();
656        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
657           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
658        else
659             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
660     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
661        return annotation ();
662     } finally {
663         _releaseReply ($in);
664     }
665   } // annotation
666

667   public void set_annotation (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
668   {
669     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
670     try {
671        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_annotation", true);
672        $out.write_string (new_value);
673        $in = _invoke ($out);
674     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
675        $in = $ex.getInputStream ();
676        String JavaDoc _id = $ex.getId ();
677        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
678           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
679        else
680             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
681     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
682        set_annotation (new_value);
683     } finally {
684         _releaseReply ($in);
685     }
686   } // set_annotation
687

688
689   //
690
public String JavaDoc[] qualified_name () throws org.omg.mof.Reflective.MofError
691   {
692     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
693     try {
694        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("qualified_name", true);
695        $in = _invoke ($out);
696        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.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/MofError:1.0"))
702           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
703        else
704             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
705     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
706        return qualified_name ();
707     } finally {
708         _releaseReply ($in);
709     }
710   } // qualified_name
711

712
713   //
714
public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError
715   {
716     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
717     try {
718        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("container", true);
719        $in = _invoke ($out);
720        org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in);
721        return $result;
722     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
723        $in = $ex.getInputStream ();
724        String JavaDoc _id = $ex.getId ();
725        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
726           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
727        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
728           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
729        else
730             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
731     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
732        return container ();
733     } finally {
734         _releaseReply ($in);
735     }
736   } // container
737

738   public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError
739   {
740     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
741     try {
742        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_container", true);
743        org.omg.mof.Model.NamespaceHelper.write ($out, new_value);
744        $in = _invoke ($out);
745     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
746        $in = $ex.getInputStream ();
747        String JavaDoc _id = $ex.getId ();
748        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
749           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
750        else
751             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
752     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
753        set_container (new_value);
754     } finally {
755         _releaseReply ($in);
756     }
757   } // set_container
758

759   public void unset_container () throws org.omg.mof.Reflective.MofError
760   {
761     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
762     try {
763        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("unset_container", true);
764        $in = _invoke ($out);
765     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
766        $in = $ex.getInputStream ();
767        String JavaDoc _id = $ex.getId ();
768        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
769           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
770        else
771             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
772     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
773        unset_container ();
774     } finally {
775         _releaseReply ($in);
776     }
777   } // unset_container
778

779
780   //
781
public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError
782   {
783     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
784     try {
785        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("required_elements", true);
786        $in = _invoke ($out);
787        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in);
788        return $result;
789     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
790        $in = $ex.getInputStream ();
791        String JavaDoc _id = $ex.getId ();
792        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
793           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
794        else
795             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
796     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
797        return required_elements ();
798     } finally {
799         _releaseReply ($in);
800     }
801   } // required_elements
802

803   public void set_required_elements (org.omg.mof.Model.ModelElement[] new_value) throws org.omg.mof.Reflective.MofError
804   {
805     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
806     try {
807        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_required_elements", true);
808        org.omg.mof.Model.ModelElementBagHelper.write ($out, new_value);
809        $in = _invoke ($out);
810     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
811        $in = $ex.getInputStream ();
812        String JavaDoc _id = $ex.getId ();
813        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
814           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
815        else
816             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
817     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
818        set_required_elements (new_value);
819     } finally {
820         _releaseReply ($in);
821     }
822   } // set_required_elements
823

824   public void add_required_elements (org.omg.mof.Model.ModelElement new_element) throws org.omg.mof.Reflective.MofError
825   {
826     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
827     try {
828        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_required_elements", true);
829        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
830        $in = _invoke ($out);
831     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
832        $in = $ex.getInputStream ();
833        String JavaDoc _id = $ex.getId ();
834        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
835           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
836        else
837             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
838     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
839        add_required_elements (new_element);
840     } finally {
841         _releaseReply ($in);
842     }
843   } // add_required_elements
844

845   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
846   {
847     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
848     try {
849        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
850        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
851        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
852        $in = _invoke ($out);
853     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
854        $in = $ex.getInputStream ();
855        String JavaDoc _id = $ex.getId ();
856        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
857           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
858        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
859           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
860        else
861             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
862     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
863        modify_required_elements (old_element, new_element);
864     } finally {
865         _releaseReply ($in);
866     }
867   } // modify_required_elements
868

869   public void remove_required_elements (org.omg.mof.Model.ModelElement old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
870   {
871     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
872     try {
873        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_required_elements", true);
874        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
875        $in = _invoke ($out);
876     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
877        $in = $ex.getInputStream ();
878        String JavaDoc _id = $ex.getId ();
879        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
880           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
881        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
882           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
883        else
884             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
885     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
886        remove_required_elements (old_element);
887     } finally {
888         _releaseReply ($in);
889     }
890   } // remove_required_elements
891

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

916   public void set_constraints (org.omg.mof.Model.Constraint[] new_value) throws org.omg.mof.Reflective.MofError
917   {
918     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
919     try {
920        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_constraints", true);
921        org.omg.mof.Model.ConstraintBagHelper.write ($out, new_value);
922        $in = _invoke ($out);
923     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
924        $in = $ex.getInputStream ();
925        String JavaDoc _id = $ex.getId ();
926        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
927           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
928        else
929             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
930     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
931        set_constraints (new_value);
932     } finally {
933         _releaseReply ($in);
934     }
935   } // set_constraints
936

937   public void add_constraints (org.omg.mof.Model.Constraint new_element) throws org.omg.mof.Reflective.MofError
938   {
939     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
940     try {
941        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("add_constraints", true);
942        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
943        $in = _invoke ($out);
944     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
945        $in = $ex.getInputStream ();
946        String JavaDoc _id = $ex.getId ();
947        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
948           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
949        else
950             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
951     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
952        add_constraints (new_element);
953     } finally {
954         _releaseReply ($in);
955     }
956   } // add_constraints
957

958   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
959   {
960     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
961     try {
962        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
963        org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
964        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
965        $in = _invoke ($out);
966     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
967        $in = $ex.getInputStream ();
968        String JavaDoc _id = $ex.getId ();
969        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
970           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
971        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
972           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
973        else
974             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
975     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
976        modify_constraints (old_element, new_element);
977     } finally {
978         _releaseReply ($in);
979     }
980   } // modify_constraints
981

982   public void remove_constraints (org.omg.mof.Model.Constraint old_element) throws org.omg.mof.Reflective.NotFound, org.omg.mof.Reflective.MofError
983   {
984     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
985     try {
986        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("remove_constraints", true);
987        org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
988        $in = _invoke ($out);
989     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
990        $in = $ex.getInputStream ();
991        String JavaDoc _id = $ex.getId ();
992        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
993           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
994        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
995           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
996        else
997             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
998     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
999        remove_constraints (old_element);
1000    } finally {
1001        _releaseReply ($in);
1002    }
1003  } // remove_constraints
1004

1005
1006  //
1007
public org.omg.mof.Model.Classifier type () throws org.omg.mof.Reflective.MofError
1008  {
1009    org.omg.CORBA.portable.InputStream JavaDoc $in = null;
1010    try {
1011       org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("type", true);
1012       $in = _invoke ($out);
1013       org.omg.mof.Model.Classifier $result = org.omg.mof.Model.ClassifierHelper.read ($in);
1014       return $result;
1015    } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
1016       $in = $ex.getInputStream ();
1017       String JavaDoc _id = $ex.getId ();
1018       if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
1019          throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
1020       else
1021            throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
1022    } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
1023       return type ();
1024    } finally {
1025        _releaseReply ($in);
1026    }
1027  } // type
1028

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

1050  // Type-specific CORBA::Object operations
1051
private static String JavaDoc[] __ids = {
1052    "IDL:org/omg/mof/Model/TypeAlias:1.0",
1053    "IDL:org/omg/mof/Model/TypeAliasClass:1.0",
1054    "IDL:org/omg/mof/Model/TypedElementClass:1.0",
1055    "IDL:org/omg/mof/Model/ModelElementClass:1.0",
1056    "IDL:org/omg/mof/Reflective/RefObject:1.0",
1057    "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
1058    "IDL:org/omg/mof/Model/ModelElement:1.0",
1059    "IDL:org/omg/mof/Model/TypedElement:1.0"};
1060
1061  public String JavaDoc[] _ids ()
1062  {
1063    return (String JavaDoc[])__ids.clone ();
1064  }
1065
1066  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1067  {
1068     String JavaDoc str = s.readUTF ();
1069     String JavaDoc[] args = null;
1070     java.util.Properties JavaDoc props = null;
1071     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1072     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1073     _set_delegate (delegate);
1074  }
1075
1076  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1077  {
1078     String JavaDoc[] args = null;
1079     java.util.Properties JavaDoc props = null;
1080     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1081     s.writeUTF (str);
1082  }
1083} // class _TypeAliasStub
1084
Popular Tags