KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.mof.Model;
2
3
4 /**
5 * org/omg/mof/Model/_TypedElementStub.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 TypedElementClass
13
public class _TypedElementStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.mof.Model.TypedElement
14 {
15
16
17   //
18
public org.omg.mof.Model.Classifier type () throws org.omg.mof.Reflective.MofError
19   {
20     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
21     try {
22        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("type", true);
23        $in = _invoke ($out);
24        org.omg.mof.Model.Classifier $result = org.omg.mof.Model.ClassifierHelper.read ($in);
25        return $result;
26     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
27        $in = $ex.getInputStream ();
28        String JavaDoc _id = $ex.getId ();
29        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
30           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
31        else
32             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
33     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
34        return type ();
35     } finally {
36         _releaseReply ($in);
37     }
38   } // type
39

40   public void set_type (org.omg.mof.Model.Classifier new_value) throws org.omg.mof.Reflective.MofError
41   {
42     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
43     try {
44        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_type", true);
45        org.omg.mof.Model.ClassifierHelper.write ($out, new_value);
46        $in = _invoke ($out);
47     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
48        $in = $ex.getInputStream ();
49        String JavaDoc _id = $ex.getId ();
50        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
51           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
52        else
53             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
54     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
55        set_type (new_value);
56     } finally {
57         _releaseReply ($in);
58     }
59   } // set_type
60

61   public org.omg.mof.Model.TypedElement[] all_of_type_typed_element ()
62   {
63     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
64     try {
65        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("_get_all_of_type_typed_element", true);
66        $in = _invoke ($out);
67        org.omg.mof.Model.TypedElement $result[] = org.omg.mof.Model.TypedElementSetHelper.read ($in);
68        return $result;
69     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
70        $in = $ex.getInputStream ();
71        String JavaDoc _id = $ex.getId ();
72        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
73     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
74        return all_of_type_typed_element ();
75     } finally {
76         _releaseReply ($in);
77     }
78   } // all_of_type_typed_element
79

80   public org.omg.mof.Model.ModelElement[] all_of_type_model_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_model_element", true);
85        $in = _invoke ($out);
86        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementSetHelper.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_model_element ();
94     } finally {
95         _releaseReply ($in);
96     }
97   } // all_of_type_model_element
98

99   public boolean ref_is_instance_of (org.omg.mof.Reflective.RefObject some_class, boolean consider_subtypes)
100   {
101     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
102     try {
103        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_is_instance_of", true);
104        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, some_class);
105        $out.write_boolean (consider_subtypes);
106        $in = _invoke ($out);
107        boolean $result = $in.read_boolean ();
108        return $result;
109     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
110        $in = $ex.getInputStream ();
111        String JavaDoc _id = $ex.getId ();
112        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
113     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
114        return ref_is_instance_of (some_class, consider_subtypes);
115     } finally {
116         _releaseReply ($in);
117     }
118   } // ref_is_instance_of
119

120   public org.omg.mof.Reflective.RefObject ref_create_instance (org.omg.CORBA.Any JavaDoc[] args) throws org.omg.mof.Reflective.MofError
121   {
122     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
123     try {
124        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_create_instance", true);
125        org.omg.mof.Reflective.ValueTypeListHelper.write ($out, args);
126        $in = _invoke ($out);
127        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
128        return $result;
129     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
130        $in = $ex.getInputStream ();
131        String JavaDoc _id = $ex.getId ();
132        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
133           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
134        else
135             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
136     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
137        return ref_create_instance (args);
138     } finally {
139         _releaseReply ($in);
140     }
141   } // ref_create_instance
142

143   public org.omg.mof.Reflective.RefObject[] ref_all_objects (boolean include_subtypes)
144   {
145     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
146     try {
147        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_all_objects", true);
148        $out.write_boolean (include_subtypes);
149        $in = _invoke ($out);
150        org.omg.mof.Reflective.RefObject $result[] = org.omg.mof.Reflective.RefObjectSetHelper.read ($in);
151        return $result;
152     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
153        $in = $ex.getInputStream ();
154        String JavaDoc _id = $ex.getId ();
155        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
156     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
157        return ref_all_objects (include_subtypes);
158     } finally {
159         _releaseReply ($in);
160     }
161   } // ref_all_objects
162

163   public void ref_set_value (org.omg.mof.Reflective.RefObject feature, org.omg.CORBA.Any JavaDoc new_value) throws org.omg.mof.Reflective.MofError
164   {
165     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
166     try {
167        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_set_value", true);
168        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
169        org.omg.mof.Reflective._ValueTypeHelper.write ($out, new_value);
170        $in = _invoke ($out);
171     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
172        $in = $ex.getInputStream ();
173        String JavaDoc _id = $ex.getId ();
174        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
175           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
176        else
177             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
178     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
179        ref_set_value (feature, new_value);
180     } finally {
181         _releaseReply ($in);
182     }
183   } // ref_set_value
184

185   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
186   {
187     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
188     try {
189        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_value", true);
190        org.omg.mof.Reflective.DesignatorTypeHelper.write ($out, feature);
191        $in = _invoke ($out);
192        org.omg.CORBA.Any JavaDoc $result = org.omg.mof.Reflective._ValueTypeHelper.read ($in);
193        return $result;
194     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
195        $in = $ex.getInputStream ();
196        String JavaDoc _id = $ex.getId ();
197        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
198           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
199        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
200           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
201        else
202             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
203     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
204        return ref_value (feature);
205     } finally {
206         _releaseReply ($in);
207     }
208   } // ref_value
209

210   public void ref_unset_value () throws org.omg.mof.Reflective.MofError
211   {
212     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
213     try {
214        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_unset_value", true);
215        $in = _invoke ($out);
216     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
217        $in = $ex.getInputStream ();
218        String JavaDoc _id = $ex.getId ();
219        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
220           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
221        else
222             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
223     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
224        ref_unset_value ();
225     } finally {
226         _releaseReply ($in);
227     }
228   } // ref_unset_value
229

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

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

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

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

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

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

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

400   public org.omg.mof.Reflective.RefObject ref_immediate_composite ()
401   {
402     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
403     try {
404        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_composite", true);
405        $in = _invoke ($out);
406        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.RefObjectHelper.read ($in);
407        return $result;
408     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
409        $in = $ex.getInputStream ();
410        String JavaDoc _id = $ex.getId ();
411        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
412     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
413        return ref_immediate_composite ();
414     } finally {
415         _releaseReply ($in);
416     }
417   } // ref_immediate_composite
418

419   public org.omg.mof.Reflective.RefObject ref_outermost_composite ()
420   {
421     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
422     try {
423        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_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_outermost_composite ();
433     } finally {
434         _releaseReply ($in);
435     }
436   } // ref_outermost_composite
437

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

465   public String JavaDoc ref_mof_id ()
466   {
467     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
468     try {
469        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_mof_id", true);
470        $in = _invoke ($out);
471        String JavaDoc $result = $in.read_string ();
472        return $result;
473     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
474        $in = $ex.getInputStream ();
475        String JavaDoc _id = $ex.getId ();
476        throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
477     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
478        return ref_mof_id ();
479     } finally {
480         _releaseReply ($in);
481     }
482   } // ref_mof_id
483

484   public org.omg.mof.Reflective.RefObject ref_meta_object ()
485   {
486     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
487     try {
488        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_meta_object", true);
489        $in = _invoke ($out);
490        org.omg.mof.Reflective.RefObject $result = org.omg.mof.Reflective.DesignatorTypeHelper.read ($in);
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_meta_object ();
498     } finally {
499         _releaseReply ($in);
500     }
501   } // ref_meta_object
502

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

523   public org.omg.mof.Reflective._RefPackage ref_immediate_package ()
524   {
525     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
526     try {
527        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_immediate_package", true);
528        $in = _invoke ($out);
529        org.omg.mof.Reflective._RefPackage $result = org.omg.mof.Reflective._RefPackageHelper.read ($in);
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_immediate_package ();
537     } finally {
538         _releaseReply ($in);
539     }
540   } // ref_immediate_package
541

542   public org.omg.mof.Reflective._RefPackage ref_outermost_package ()
543   {
544     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
545     try {
546        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_outermost_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_outermost_package ();
556     } finally {
557         _releaseReply ($in);
558     }
559   } // ref_outermost_package
560

561   public void ref_delete () throws org.omg.mof.Reflective.MofError
562   {
563     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
564     try {
565        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("ref_delete", true);
566        $in = _invoke ($out);
567     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
568        $in = $ex.getInputStream ();
569        String JavaDoc _id = $ex.getId ();
570        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
571           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
572        else
573             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
574     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
575        ref_delete ();
576     } finally {
577         _releaseReply ($in);
578     }
579   } // ref_delete
580

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

605   public void set_name (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
606   {
607     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
608     try {
609        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_name", true);
610        $out.write_string (new_value);
611        $in = _invoke ($out);
612     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
613        $in = $ex.getInputStream ();
614        String JavaDoc _id = $ex.getId ();
615        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
616           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
617        else
618             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
619     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
620        set_name (new_value);
621     } finally {
622         _releaseReply ($in);
623     }
624   } // set_name
625

626
627   //
628
public String JavaDoc annotation () throws org.omg.mof.Reflective.MofError
629   {
630     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
631     try {
632        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("annotation", true);
633        $in = _invoke ($out);
634        String JavaDoc $result = $in.read_string ();
635        return $result;
636     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
637        $in = $ex.getInputStream ();
638        String JavaDoc _id = $ex.getId ();
639        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
640           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
641        else
642             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
643     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
644        return annotation ();
645     } finally {
646         _releaseReply ($in);
647     }
648   } // annotation
649

650   public void set_annotation (String JavaDoc new_value) throws org.omg.mof.Reflective.MofError
651   {
652     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
653     try {
654        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_annotation", true);
655        $out.write_string (new_value);
656        $in = _invoke ($out);
657     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
658        $in = $ex.getInputStream ();
659        String JavaDoc _id = $ex.getId ();
660        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
661           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
662        else
663             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
664     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
665        set_annotation (new_value);
666     } finally {
667         _releaseReply ($in);
668     }
669   } // set_annotation
670

671
672   //
673
public String JavaDoc[] qualified_name () throws org.omg.mof.Reflective.MofError
674   {
675     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
676     try {
677        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("qualified_name", true);
678        $in = _invoke ($out);
679        String JavaDoc $result[] = org.omg.mof.Model.StringListHelper.read ($in);
680        return $result;
681     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
682        $in = $ex.getInputStream ();
683        String JavaDoc _id = $ex.getId ();
684        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
685           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
686        else
687             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
688     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
689        return qualified_name ();
690     } finally {
691         _releaseReply ($in);
692     }
693   } // qualified_name
694

695
696   //
697
public org.omg.mof.Model.Namespace container () throws org.omg.mof.Reflective.NotSet, org.omg.mof.Reflective.MofError
698   {
699     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
700     try {
701        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("container", true);
702        $in = _invoke ($out);
703        org.omg.mof.Model.Namespace $result = org.omg.mof.Model.NamespaceHelper.read ($in);
704        return $result;
705     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
706        $in = $ex.getInputStream ();
707        String JavaDoc _id = $ex.getId ();
708        if (_id.equals ("IDL:org/omg/mof/Reflective/NotSet:1.0"))
709           throw org.omg.mof.Reflective.NotSetHelper.read ($in);
710        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
711           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
712        else
713             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
714     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
715        return container ();
716     } finally {
717         _releaseReply ($in);
718     }
719   } // container
720

721   public void set_container (org.omg.mof.Model.Namespace new_value) throws org.omg.mof.Reflective.MofError
722   {
723     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
724     try {
725        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("set_container", true);
726        org.omg.mof.Model.NamespaceHelper.write ($out, new_value);
727        $in = _invoke ($out);
728     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
729        $in = $ex.getInputStream ();
730        String JavaDoc _id = $ex.getId ();
731        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
732           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
733        else
734             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
735     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
736        set_container (new_value);
737     } finally {
738         _releaseReply ($in);
739     }
740   } // set_container
741

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

762
763   //
764
public org.omg.mof.Model.ModelElement[] required_elements () throws org.omg.mof.Reflective.MofError
765   {
766     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
767     try {
768        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("required_elements", true);
769        $in = _invoke ($out);
770        org.omg.mof.Model.ModelElement $result[] = org.omg.mof.Model.ModelElementBagHelper.read ($in);
771        return $result;
772     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
773        $in = $ex.getInputStream ();
774        String JavaDoc _id = $ex.getId ();
775        if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
776           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
777        else
778             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
779     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
780        return required_elements ();
781     } finally {
782         _releaseReply ($in);
783     }
784   } // required_elements
785

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

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

828   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
829   {
830     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
831     try {
832        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_required_elements", true);
833        org.omg.mof.Model.ModelElementHelper.write ($out, old_element);
834        org.omg.mof.Model.ModelElementHelper.write ($out, new_element);
835        $in = _invoke ($out);
836     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
837        $in = $ex.getInputStream ();
838        String JavaDoc _id = $ex.getId ();
839        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
840           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
841        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
842           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
843        else
844             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
845     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
846        modify_required_elements (old_element, new_element);
847     } finally {
848         _releaseReply ($in);
849     }
850   } // modify_required_elements
851

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

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

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

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

941   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
942   {
943     org.omg.CORBA.portable.InputStream JavaDoc $in = null;
944     try {
945        org.omg.CORBA.portable.OutputStream JavaDoc $out = _request ("modify_constraints", true);
946        org.omg.mof.Model.ConstraintHelper.write ($out, old_element);
947        org.omg.mof.Model.ConstraintHelper.write ($out, new_element);
948        $in = _invoke ($out);
949     } catch (org.omg.CORBA.portable.ApplicationException JavaDoc $ex) {
950        $in = $ex.getInputStream ();
951        String JavaDoc _id = $ex.getId ();
952        if (_id.equals ("IDL:org/omg/mof/Reflective/NotFound:1.0"))
953           throw org.omg.mof.Reflective.NotFoundHelper.read ($in);
954        else if (_id.equals ("IDL:org/omg/mof/Reflective/MofError:1.0"))
955           throw org.omg.mof.Reflective.MofErrorHelper.read ($in);
956        else
957             throw new org.omg.CORBA.MARSHAL JavaDoc (_id);
958     } catch (org.omg.CORBA.portable.RemarshalException JavaDoc $rm) {
959        modify_constraints (old_element, new_element);
960     } finally {
961         _releaseReply ($in);
962     }
963   } // modify_constraints
964

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

988   // Type-specific CORBA::Object operations
989
private static String JavaDoc[] __ids = {
990     "IDL:org/omg/mof/Model/TypedElement:1.0",
991     "IDL:org/omg/mof/Model/TypedElementClass:1.0",
992     "IDL:org/omg/mof/Model/ModelElementClass:1.0",
993     "IDL:org/omg/mof/Reflective/RefObject:1.0",
994     "IDL:org/omg/mof/Reflective/RefBaseObject:1.0",
995     "IDL:org/omg/mof/Model/ModelElement:1.0"};
996
997   public String JavaDoc[] _ids ()
998   {
999     return (String JavaDoc[])__ids.clone ();
1000  }
1001
1002  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1003  {
1004     String JavaDoc str = s.readUTF ();
1005     String JavaDoc[] args = null;
1006     java.util.Properties JavaDoc props = null;
1007     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1008     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1009     _set_delegate (delegate);
1010  }
1011
1012  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1013  {
1014     String JavaDoc[] args = null;
1015     java.util.Properties JavaDoc props = null;
1016     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1017     s.writeUTF (str);
1018  }
1019} // class _TypedElementStub
1020
Popular Tags