KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > DynamicAny > _DynEnumStub


1 package org.omg.DynamicAny;
2
3
4 /**
5 * org/omg/DynamicAny/_DynEnumStub.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.2"
7 * from ../../../../src/share/classes/org/omg/DynamicAny/DynamicAny.idl
8 * Saturday, February 9, 2008 9:40:12 AM GMT
9 */

10
11
12 /**
13     * DynEnum objects support the manipulation of IDL enumerated values.
14     * The current position of a DynEnum is always -1.
15     */

16 public class _DynEnumStub extends org.omg.CORBA.portable.ObjectImpl JavaDoc implements org.omg.DynamicAny.DynEnum JavaDoc
17 {
18   final public static java.lang.Class JavaDoc _opsClass = DynEnumOperations JavaDoc.class;
19
20
21
22   /**
23         * Returns the value of the DynEnum as an IDL identifier.
24         */

25   public String JavaDoc get_as_string ()
26   {
27       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_as_string", _opsClass);
28       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
29
30       try {
31          return $self.get_as_string ();
32       } finally {
33           _servant_postinvoke ($so);
34       }
35   } // get_as_string
36

37
38   /**
39         * Sets the value of the DynEnum to the enumerated value whose IDL identifier is passed in the value parameter.
40         *
41         * @exception InvalidValue If value contains a string that is not a valid IDL identifier
42         * for the corresponding enumerated type
43         */

44   public void set_as_string (String JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
45   {
46       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("set_as_string", _opsClass);
47       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
48
49       try {
50          $self.set_as_string (value);
51       } finally {
52           _servant_postinvoke ($so);
53       }
54   } // set_as_string
55

56
57   /**
58         * Returns the value of the DynEnum as the enumerated value's ordinal value.
59         * Enumerators have ordinal values 0 to n-1, as they appear from left to right
60         * in the corresponding IDL definition.
61         */

62   public int get_as_ulong ()
63   {
64       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_as_ulong", _opsClass);
65       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
66
67       try {
68          return $self.get_as_ulong ();
69       } finally {
70           _servant_postinvoke ($so);
71       }
72   } // get_as_ulong
73

74
75   /**
76         * Sets the value of the DynEnum as the enumerated value's ordinal value.
77         *
78         * @exception InvalidValue If value contains a value that is outside the range of ordinal values
79         * for the corresponding enumerated type
80         */

81   public void set_as_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
82   {
83       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("set_as_ulong", _opsClass);
84       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
85
86       try {
87          $self.set_as_ulong (value);
88       } finally {
89           _servant_postinvoke ($so);
90       }
91   } // set_as_ulong
92

93
94   /**
95         * Returns the TypeCode associated with this DynAny object.
96         * A DynAny object is created with a TypeCode value assigned to it.
97         * This TypeCode value determines the type of the value handled through the DynAny object.
98         * Note that the TypeCode associated with a DynAny object is initialized at the time the
99         * DynAny is created and cannot be changed during lifetime of the DynAny object.
100         *
101         * @return The TypeCode associated with this DynAny object
102         */

103   public org.omg.CORBA.TypeCode JavaDoc type ()
104   {
105       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("type", _opsClass);
106       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
107
108       try {
109          return $self.type ();
110       } finally {
111           _servant_postinvoke ($so);
112       }
113   } // type
114

115
116   /**
117         * Initializes the value associated with a DynAny object with the value
118         * associated with another DynAny object.
119         * The current position of the target DynAny is set to zero for values that have components
120         * and to -1 for values that do not have components.
121         *
122         * @param dyn_any
123         * @exception TypeMismatch if the type of the passed DynAny is not equivalent to the type of target DynAny
124         */

125   public void assign (org.omg.DynamicAny.DynAny JavaDoc dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc
126   {
127       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("assign", _opsClass);
128       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
129
130       try {
131          $self.assign (dyn_any);
132       } finally {
133           _servant_postinvoke ($so);
134       }
135   } // assign
136

137
138   /**
139         * Initializes the value associated with a DynAny object with the value contained in an any.
140         * The current position of the target DynAny is set to zero for values that have components
141         * and to -1 for values that do not have components.
142         *
143         * @exception TypeMismatch if the type of the passed Any is not equivalent to the type of target DynAny
144         * @exception InvalidValue if the passed Any does not contain a legal value (such as a null string)
145         */

146   public void from_any (org.omg.CORBA.Any JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
147   {
148       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("from_any", _opsClass);
149       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
150
151       try {
152          $self.from_any (value);
153       } finally {
154           _servant_postinvoke ($so);
155       }
156   } // from_any
157

158
159   /**
160         * Creates an any value from a DynAny object.
161         * A copy of the TypeCode associated with the DynAny object is assigned to the resulting any.
162         * The value associated with the DynAny object is copied into the any.
163         *
164         * @return a new Any object with the same value and TypeCode
165         */

166   public org.omg.CORBA.Any JavaDoc to_any ()
167   {
168       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("to_any", _opsClass);
169       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
170
171       try {
172          return $self.to_any ();
173       } finally {
174           _servant_postinvoke ($so);
175       }
176   } // to_any
177

178
179   /**
180         * Compares two DynAny values for equality.
181         * Two DynAny values are equal if their TypeCodes are equivalent and, recursively, all component DynAnys
182         * have equal values.
183         * The current position of the two DynAnys being compared has no effect on the result of equal.
184         *
185         * @return true of the DynAnys are equal, false otherwise
186         */

187   public boolean equal (org.omg.DynamicAny.DynAny JavaDoc dyn_any)
188   {
189       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("equal", _opsClass);
190       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
191
192       try {
193          return $self.equal (dyn_any);
194       } finally {
195           _servant_postinvoke ($so);
196       }
197   } // equal
198

199
200   /**
201         * Destroys a DynAny object.
202         * This operation frees any resources used to represent the data value associated with a DynAny object.
203         * It must be invoked on references obtained from one of the creation operations on the ORB interface
204         * or on a reference returned by DynAny.copy() to avoid resource leaks.
205         * Invoking destroy on component DynAny objects (for example, on objects returned by the
206         * current_component operation) does nothing.
207         * Destruction of a DynAny object implies destruction of all DynAny objects obtained from it.
208         * That is, references to components of a destroyed DynAny become invalid.
209         * Invocations on such references raise OBJECT_NOT_EXIST.
210         * It is possible to manipulate a component of a DynAny beyond the life time of the DynAny
211         * from which the component was obtained by making a copy of the component with the copy operation
212         * before destroying the DynAny from which the component was obtained.
213         */

214   public void destroy ()
215   {
216       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("destroy", _opsClass);
217       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
218
219       try {
220          $self.destroy ();
221       } finally {
222           _servant_postinvoke ($so);
223       }
224   } // destroy
225

226
227   /**
228         * Creates a new DynAny object whose value is a deep copy of the DynAny on which it is invoked.
229         * The operation is polymorphic, that is, invoking it on one of the types derived from DynAny,
230         * such as DynStruct, creates the derived type but returns its reference as the DynAny base type.
231         *
232         * @return a deep copy of the DynAny object
233         */

234   public org.omg.DynamicAny.DynAny JavaDoc copy ()
235   {
236       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("copy", _opsClass);
237       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
238
239       try {
240          return $self.copy ();
241       } finally {
242           _servant_postinvoke ($so);
243       }
244   } // copy
245

246
247   /**
248         * Inserts a boolean value into the DynAny.
249         *
250         * @exception InvalidValue if this DynAny has components but has a current position of -1
251         * @exception TypeMismatch if called on a DynAny whose current component itself has components
252         */

253   public void insert_boolean (boolean value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
254   {
255       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_boolean", _opsClass);
256       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
257
258       try {
259          $self.insert_boolean (value);
260       } finally {
261           _servant_postinvoke ($so);
262       }
263   } // insert_boolean
264

265
266   /**
267         * Inserts a byte value into the DynAny. The IDL octet data type is mapped to the Java byte data type.
268         *
269         * @exception InvalidValue if this DynAny has components but has a current position of -1
270         * @exception TypeMismatch if called on a DynAny whose current component itself has components
271         */

272   public void insert_octet (byte value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
273   {
274       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_octet", _opsClass);
275       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
276
277       try {
278          $self.insert_octet (value);
279       } finally {
280           _servant_postinvoke ($so);
281       }
282   } // insert_octet
283

284
285   /**
286         * Inserts a char value into the DynAny.
287         *
288         * @exception InvalidValue if this DynAny has components but has a current position of -1
289         * @exception TypeMismatch if called on a DynAny whose current component itself has components
290         */

291   public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
292   {
293       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_char", _opsClass);
294       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
295
296       try {
297          $self.insert_char (value);
298       } finally {
299           _servant_postinvoke ($so);
300       }
301   } // insert_char
302

303
304   /**
305         * Inserts a short value into the DynAny.
306         *
307         * @exception InvalidValue if this DynAny has components but has a current position of -1
308         * @exception TypeMismatch if called on a DynAny whose current component itself has components
309         */

310   public void insert_short (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
311   {
312       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_short", _opsClass);
313       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
314
315       try {
316          $self.insert_short (value);
317       } finally {
318           _servant_postinvoke ($so);
319       }
320   } // insert_short
321

322
323   /**
324         * Inserts a short value into the DynAny. The IDL ushort data type is mapped to the Java short data type.
325         *
326         * @exception InvalidValue if this DynAny has components but has a current position of -1
327         * @exception TypeMismatch if called on a DynAny whose current component itself has components
328         */

329   public void insert_ushort (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
330   {
331       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_ushort", _opsClass);
332       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
333
334       try {
335          $self.insert_ushort (value);
336       } finally {
337           _servant_postinvoke ($so);
338       }
339   } // insert_ushort
340

341
342   /**
343         * Inserts an integer value into the DynAny. The IDL long data type is mapped to the Java int data type.
344         *
345         * @exception InvalidValue if this DynAny has components but has a current position of -1
346         * @exception TypeMismatch if called on a DynAny whose current component itself has components
347         */

348   public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
349   {
350       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_long", _opsClass);
351       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
352
353       try {
354          $self.insert_long (value);
355       } finally {
356           _servant_postinvoke ($so);
357       }
358   } // insert_long
359

360
361   /**
362         * Inserts an integer value into the DynAny. The IDL ulong data type is mapped to the Java int data type.
363         *
364         * @exception InvalidValue if this DynAny has components but has a current position of -1
365         * @exception TypeMismatch if called on a DynAny whose current component itself has components
366         */

367   public void insert_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
368   {
369       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_ulong", _opsClass);
370       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
371
372       try {
373          $self.insert_ulong (value);
374       } finally {
375           _servant_postinvoke ($so);
376       }
377   } // insert_ulong
378

379
380   /**
381         * Inserts a float value into the DynAny.
382         *
383         * @exception InvalidValue if this DynAny has components but has a current position of -1
384         * @exception TypeMismatch if called on a DynAny whose current component itself has components
385         */

386   public void insert_float (float value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
387   {
388       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_float", _opsClass);
389       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
390
391       try {
392          $self.insert_float (value);
393       } finally {
394           _servant_postinvoke ($so);
395       }
396   } // insert_float
397

398
399   /**
400         * Inserts a double value into the DynAny.
401         *
402         * @exception InvalidValue if this DynAny has components but has a current position of -1
403         * @exception TypeMismatch if called on a DynAny whose current component itself has components
404         */

405   public void insert_double (double value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
406   {
407       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_double", _opsClass);
408       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
409
410       try {
411          $self.insert_double (value);
412       } finally {
413           _servant_postinvoke ($so);
414       }
415   } // insert_double
416

417
418   /**
419         * Inserts a string value into the DynAny.
420         * Both bounded and unbounded strings are inserted using this method.
421         *
422         * @exception InvalidValue if this DynAny has components but has a current position of -1
423         * @exception InvalidValue if the string inserted is longer than the bound of a bounded string
424         * @exception TypeMismatch if called on a DynAny whose current component itself has components
425         */

426   public void insert_string (String JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
427   {
428       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_string", _opsClass);
429       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
430
431       try {
432          $self.insert_string (value);
433       } finally {
434           _servant_postinvoke ($so);
435       }
436   } // insert_string
437

438
439   /**
440         * Inserts a reference to a CORBA object into the DynAny.
441         *
442         * @exception InvalidValue if this DynAny has components but has a current position of -1
443         * @exception TypeMismatch if called on a DynAny whose current component itself has components
444         */

445   public void insert_reference (org.omg.CORBA.Object JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
446   {
447       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_reference", _opsClass);
448       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
449
450       try {
451          $self.insert_reference (value);
452       } finally {
453           _servant_postinvoke ($so);
454       }
455   } // insert_reference
456

457
458   /**
459         * Inserts a TypeCode object into the DynAny.
460         *
461         * @exception InvalidValue if this DynAny has components but has a current position of -1
462         * @exception TypeMismatch if called on a DynAny whose current component itself has components
463         */

464   public void insert_typecode (org.omg.CORBA.TypeCode JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
465   {
466       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_typecode", _opsClass);
467       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
468
469       try {
470          $self.insert_typecode (value);
471       } finally {
472           _servant_postinvoke ($so);
473       }
474   } // insert_typecode
475

476
477   /**
478         * Inserts a long value into the DynAny. The IDL long long data type is mapped to the Java long data type.
479         *
480         * @exception InvalidValue if this DynAny has components but has a current position of -1
481         * @exception TypeMismatch if called on a DynAny whose current component itself has components
482         */

483   public void insert_longlong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
484   {
485       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_longlong", _opsClass);
486       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
487
488       try {
489          $self.insert_longlong (value);
490       } finally {
491           _servant_postinvoke ($so);
492       }
493   } // insert_longlong
494

495
496   /**
497         * Inserts a long value into the DynAny.
498         * The IDL unsigned long long data type is mapped to the Java long data type.
499         *
500         * @exception InvalidValue if this DynAny has components but has a current position of -1
501         * @exception TypeMismatch if called on a DynAny whose current component itself has components
502         */

503   public void insert_ulonglong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
504   {
505       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_ulonglong", _opsClass);
506       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
507
508       try {
509          $self.insert_ulonglong (value);
510       } finally {
511           _servant_postinvoke ($so);
512       }
513   } // insert_ulonglong
514

515
516   /**
517         * Inserts a char value into the DynAny. The IDL wchar data type is mapped to the Java char data type.
518         *
519         * @exception InvalidValue if this DynAny has components but has a current position of -1
520         * @exception TypeMismatch if called on a DynAny whose current component itself has components
521         */

522   public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
523   {
524       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_wchar", _opsClass);
525       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
526
527       try {
528          $self.insert_wchar (value);
529       } finally {
530           _servant_postinvoke ($so);
531       }
532   } // insert_wchar
533

534
535   /**
536         * Inserts a string value into the DynAny.
537         * Both bounded and unbounded strings are inserted using this method.
538         *
539         * @exception InvalidValue if this DynAny has components but has a current position of -1
540         * @exception InvalidValue if the string inserted is longer than the bound of a bounded string
541         */

542   public void insert_wstring (String JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
543   {
544       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_wstring", _opsClass);
545       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
546
547       try {
548          $self.insert_wstring (value);
549       } finally {
550           _servant_postinvoke ($so);
551       }
552   } // insert_wstring
553

554
555   /**
556         * Inserts an Any value into the Any represented by this DynAny.
557         *
558         * @exception InvalidValue if this DynAny has components but has a current position of -1
559         * @exception TypeMismatch if called on a DynAny whose current component itself has components
560         */

561   public void insert_any (org.omg.CORBA.Any JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
562   {
563       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_any", _opsClass);
564       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
565
566       try {
567          $self.insert_any (value);
568       } finally {
569           _servant_postinvoke ($so);
570       }
571   } // insert_any
572

573
574   /**
575         * Inserts the Any value contained in the parameter DynAny into the Any represented by this DynAny.
576         *
577         * @exception InvalidValue if this DynAny has components but has a current position of -1
578         * @exception TypeMismatch if called on a DynAny whose current component itself has components
579         */

580   public void insert_dyn_any (org.omg.DynamicAny.DynAny JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
581   {
582       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_dyn_any", _opsClass);
583       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
584
585       try {
586          $self.insert_dyn_any (value);
587       } finally {
588           _servant_postinvoke ($so);
589       }
590   } // insert_dyn_any
591

592
593   /**
594         * Inserts a reference to a Serializable object into this DynAny.
595         * The IDL ValueBase type is mapped to the Java Serializable type.
596         *
597         * @exception InvalidValue if this DynAny has components but has a current position of -1
598         * @exception TypeMismatch if called on a DynAny whose current component itself has components
599         */

600   public void insert_val (java.io.Serializable JavaDoc value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
601   {
602       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("insert_val", _opsClass);
603       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
604
605       try {
606          $self.insert_val (value);
607       } finally {
608           _servant_postinvoke ($so);
609       }
610   } // insert_val
611

612
613   /**
614         * Extracts the boolean value from this DynAny.
615         *
616         * @exception TypeMismatch if the accessed component in the DynAny is of a type
617         * that is not equivalent to the requested type.
618         * @exception TypeMismatch if called on a DynAny whose current component itself has components
619         * @exception InvalidValue if this DynAny has components but has a current position of -1
620         */

621   public boolean get_boolean () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
622   {
623       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_boolean", _opsClass);
624       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
625
626       try {
627          return $self.get_boolean ();
628       } finally {
629           _servant_postinvoke ($so);
630       }
631   } // get_boolean
632

633
634   /**
635         * Extracts the byte value from this DynAny. The IDL octet data type is mapped to the Java byte data type.
636         *
637         * @exception TypeMismatch if the accessed component in the DynAny is of a type
638         * that is not equivalent to the requested type.
639         * @exception TypeMismatch if called on a DynAny whose current component itself has components
640         * @exception InvalidValue if this DynAny has components but has a current position of -1
641         */

642   public byte get_octet () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
643   {
644       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_octet", _opsClass);
645       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
646
647       try {
648          return $self.get_octet ();
649       } finally {
650           _servant_postinvoke ($so);
651       }
652   } // get_octet
653

654
655   /**
656         * Extracts the char value from this DynAny.
657         *
658         * @exception TypeMismatch if the accessed component in the DynAny is of a type
659         * that is not equivalent to the requested type.
660         * @exception TypeMismatch if called on a DynAny whose current component itself has components
661         * @exception InvalidValue if this DynAny has components but has a current position of -1
662         */

663   public char get_char () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
664   {
665       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_char", _opsClass);
666       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
667
668       try {
669          return $self.get_char ();
670       } finally {
671           _servant_postinvoke ($so);
672       }
673   } // get_char
674

675
676   /**
677         * Extracts the short value from this DynAny.
678         *
679         * @exception TypeMismatch if the accessed component in the DynAny is of a type
680         * that is not equivalent to the requested type.
681         * @exception TypeMismatch if called on a DynAny whose current component itself has components
682         * @exception InvalidValue if this DynAny has components but has a current position of -1
683         */

684   public short get_short () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
685   {
686       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_short", _opsClass);
687       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
688
689       try {
690          return $self.get_short ();
691       } finally {
692           _servant_postinvoke ($so);
693       }
694   } // get_short
695

696
697   /**
698         * Extracts the short value from this DynAny. The IDL ushort data type is mapped to the Java short data type.
699         *
700         * @exception TypeMismatch if the accessed component in the DynAny is of a type
701         * that is not equivalent to the requested type.
702         * @exception TypeMismatch if called on a DynAny whose current component itself has components
703         * @exception InvalidValue if this DynAny has components but has a current position of -1
704         */

705   public short get_ushort () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
706   {
707       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_ushort", _opsClass);
708       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
709
710       try {
711          return $self.get_ushort ();
712       } finally {
713           _servant_postinvoke ($so);
714       }
715   } // get_ushort
716

717
718   /**
719         * Extracts the integer value from this DynAny. The IDL long data type is mapped to the Java int data type.
720         *
721         * @exception TypeMismatch if the accessed component in the DynAny is of a type
722         * that is not equivalent to the requested type.
723         * @exception TypeMismatch if called on a DynAny whose current component itself has components
724         * @exception InvalidValue if this DynAny has components but has a current position of -1
725         */

726   public int get_long () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
727   {
728       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_long", _opsClass);
729       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
730
731       try {
732          return $self.get_long ();
733       } finally {
734           _servant_postinvoke ($so);
735       }
736   } // get_long
737

738
739   /**
740         * Extracts the integer value from this DynAny. The IDL ulong data type is mapped to the Java int data type.
741         *
742         * @exception TypeMismatch if the accessed component in the DynAny is of a type
743         * that is not equivalent to the requested type.
744         * @exception TypeMismatch if called on a DynAny whose current component itself has components
745         * @exception InvalidValue if this DynAny has components but has a current position of -1
746         */

747   public int get_ulong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
748   {
749       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_ulong", _opsClass);
750       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
751
752       try {
753          return $self.get_ulong ();
754       } finally {
755           _servant_postinvoke ($so);
756       }
757   } // get_ulong
758

759
760   /**
761         * Extracts the float value from this DynAny.
762         *
763         * @exception TypeMismatch if the accessed component in the DynAny is of a type
764         * that is not equivalent to the requested type.
765         * @exception TypeMismatch if called on a DynAny whose current component itself has components
766         * @exception InvalidValue if this DynAny has components but has a current position of -1
767         */

768   public float get_float () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
769   {
770       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_float", _opsClass);
771       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
772
773       try {
774          return $self.get_float ();
775       } finally {
776           _servant_postinvoke ($so);
777       }
778   } // get_float
779

780
781   /**
782         * Extracts the double value from this DynAny.
783         *
784         * @exception TypeMismatch if the accessed component in the DynAny is of a type
785         * that is not equivalent to the requested type.
786         * @exception TypeMismatch if called on a DynAny whose current component itself has components
787         * @exception InvalidValue if this DynAny has components but has a current position of -1
788         */

789   public double get_double () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
790   {
791       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_double", _opsClass);
792       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
793
794       try {
795          return $self.get_double ();
796       } finally {
797           _servant_postinvoke ($so);
798       }
799   } // get_double
800

801
802   /**
803         * Extracts the string value from this DynAny.
804         * Both bounded and unbounded strings are extracted using this method.
805         *
806         * @exception TypeMismatch if the accessed component in the DynAny is of a type
807         * that is not equivalent to the requested type.
808         * @exception TypeMismatch if called on a DynAny whose current component itself has components
809         * @exception InvalidValue if this DynAny has components but has a current position of -1
810         */

811   public String JavaDoc get_string () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
812   {
813       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_string", _opsClass);
814       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
815
816       try {
817          return $self.get_string ();
818       } finally {
819           _servant_postinvoke ($so);
820       }
821   } // get_string
822

823
824   /**
825         * Extracts the reference to a CORBA Object from this DynAny.
826         *
827         * @exception TypeMismatch if the accessed component in the DynAny is of a type
828         * that is not equivalent to the requested type.
829         * @exception TypeMismatch if called on a DynAny whose current component itself has components
830         * @exception InvalidValue if this DynAny has components but has a current position of -1
831         */

832   public org.omg.CORBA.Object JavaDoc get_reference () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
833   {
834       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_reference", _opsClass);
835       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
836
837       try {
838          return $self.get_reference ();
839       } finally {
840           _servant_postinvoke ($so);
841       }
842   } // get_reference
843

844
845   /**
846         * Extracts the TypeCode object from this DynAny.
847         *
848         * @exception TypeMismatch if the accessed component in the DynAny is of a type
849         * that is not equivalent to the requested type.
850         * @exception TypeMismatch if called on a DynAny whose current component itself has components
851         * @exception InvalidValue if this DynAny has components but has a current position of -1
852         */

853   public org.omg.CORBA.TypeCode JavaDoc get_typecode () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
854   {
855       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_typecode", _opsClass);
856       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
857
858       try {
859          return $self.get_typecode ();
860       } finally {
861           _servant_postinvoke ($so);
862       }
863   } // get_typecode
864

865
866   /**
867         * Extracts the long value from this DynAny. The IDL long long data type is mapped to the Java long data type.
868         *
869         * @exception TypeMismatch if the accessed component in the DynAny is of a type
870         * that is not equivalent to the requested type.
871         * @exception TypeMismatch if called on a DynAny whose current component itself has components
872         * @exception InvalidValue if this DynAny has components but has a current position of -1
873         */

874   public long get_longlong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
875   {
876       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_longlong", _opsClass);
877       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
878
879       try {
880          return $self.get_longlong ();
881       } finally {
882           _servant_postinvoke ($so);
883       }
884   } // get_longlong
885

886
887   /**
888         * Extracts the long value from this DynAny.
889         * The IDL unsigned long long data type is mapped to the Java long data type.
890         *
891         * @exception TypeMismatch if the accessed component in the DynAny is of a type
892         * that is not equivalent to the requested type.
893         * @exception TypeMismatch if called on a DynAny whose current component itself has components
894         * @exception InvalidValue if this DynAny has components but has a current position of -1
895         */

896   public long get_ulonglong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
897   {
898       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_ulonglong", _opsClass);
899       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
900
901       try {
902          return $self.get_ulonglong ();
903       } finally {
904           _servant_postinvoke ($so);
905       }
906   } // get_ulonglong
907

908
909   /**
910         * Extracts the long value from this DynAny. The IDL wchar data type is mapped to the Java char data type.
911         *
912         * @exception TypeMismatch if the accessed component in the DynAny is of a type
913         * that is not equivalent to the requested type.
914         * @exception TypeMismatch if called on a DynAny whose current component itself has components
915         * @exception InvalidValue if this DynAny has components but has a current position of -1
916         */

917   public char get_wchar () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
918   {
919       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_wchar", _opsClass);
920       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
921
922       try {
923          return $self.get_wchar ();
924       } finally {
925           _servant_postinvoke ($so);
926       }
927   } // get_wchar
928

929
930   /**
931         * Extracts the string value from this DynAny.
932         * Both bounded and unbounded strings are extracted using this method.
933         *
934         * @exception TypeMismatch if the accessed component in the DynAny is of a type
935         * that is not equivalent to the requested type.
936         * @exception TypeMismatch if called on a DynAny whose current component itself has components
937         */

938   public String JavaDoc get_wstring () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
939   {
940       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_wstring", _opsClass);
941       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
942
943       try {
944          return $self.get_wstring ();
945       } finally {
946           _servant_postinvoke ($so);
947       }
948   } // get_wstring
949

950
951   /**
952         * Extracts an Any value contained in the Any represented by this DynAny.
953         *
954         * @exception TypeMismatch if the accessed component in the DynAny is of a type
955         * that is not equivalent to the requested type.
956         * @exception TypeMismatch if called on a DynAny whose current component itself has components
957         * @exception InvalidValue if this DynAny has components but has a current position of -1
958         */

959   public org.omg.CORBA.Any JavaDoc get_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
960   {
961       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_any", _opsClass);
962       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
963
964       try {
965          return $self.get_any ();
966       } finally {
967           _servant_postinvoke ($so);
968       }
969   } // get_any
970

971
972   /**
973         * Extracts the Any value contained in the Any represented by this DynAny and returns it wrapped
974         * into a new DynAny.
975         *
976         * @exception TypeMismatch if the accessed component in the DynAny is of a type
977         * that is not equivalent to the requested type.
978         * @exception TypeMismatch if called on a DynAny whose current component itself has components
979         * @exception InvalidValue if this DynAny has components but has a current position of -1
980         */

981   public org.omg.DynamicAny.DynAny JavaDoc get_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
982   {
983       org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_dyn_any", _opsClass);
984       DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
985
986       try {
987          return $self.get_dyn_any ();
988       } finally {
989           _servant_postinvoke ($so);
990       }
991   } // get_dyn_any
992

993
994   /**
995         * Extracts a Serializable object from this DynAny.
996         * The IDL ValueBase type is mapped to the Java Serializable type.
997         *
998         * @exception TypeMismatch if the accessed component in the DynAny is of a type
999         * that is not equivalent to the requested type.
1000        * @exception TypeMismatch if called on a DynAny whose current component itself has components
1001        * @exception InvalidValue if this DynAny has components but has a current position of -1
1002        */

1003  public java.io.Serializable JavaDoc get_val () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc
1004  {
1005      org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("get_val", _opsClass);
1006      DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
1007
1008      try {
1009         return $self.get_val ();
1010      } finally {
1011          _servant_postinvoke ($so);
1012      }
1013  } // get_val
1014

1015
1016  /**
1017        * Sets the current position to index. The current position is indexed 0 to n-1, that is,
1018        * index zero corresponds to the first component. The operation returns true if the resulting
1019        * current position indicates a component of the DynAny and false if index indicates
1020        * a position that does not correspond to a component.
1021        * Calling seek with a negative index is legal. It sets the current position to -1 to indicate
1022        * no component and returns false. Passing a non-negative index value for a DynAny that does not
1023        * have a component at the corresponding position sets the current position to -1 and returns false.
1024        */

1025  public boolean seek (int index)
1026  {
1027      org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("seek", _opsClass);
1028      DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
1029
1030      try {
1031         return $self.seek (index);
1032      } finally {
1033          _servant_postinvoke ($so);
1034      }
1035  } // seek
1036

1037
1038  /**
1039        * Is equivalent to seek(0).
1040        */

1041  public void rewind ()
1042  {
1043      org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("rewind", _opsClass);
1044      DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
1045
1046      try {
1047         $self.rewind ();
1048      } finally {
1049          _servant_postinvoke ($so);
1050      }
1051  } // rewind
1052

1053
1054  /**
1055        * Advances the current position to the next component.
1056        * The operation returns true while the resulting current position indicates a component, false otherwise.
1057        * A false return value leaves the current position at -1.
1058        * Invoking next on a DynAny without components leaves the current position at -1 and returns false.
1059        */

1060  public boolean next ()
1061  {
1062      org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("next", _opsClass);
1063      DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
1064
1065      try {
1066         return $self.next ();
1067      } finally {
1068          _servant_postinvoke ($so);
1069      }
1070  } // next
1071

1072
1073  /**
1074        * Returns the number of components of a DynAny.
1075        * For a DynAny without components, it returns zero.
1076        * The operation only counts the components at the top level.
1077        * For example, if component_count is invoked on a DynStruct with a single member,
1078        * the return value is 1, irrespective of the type of the member.
1079        * <UL>
1080        * <LI>For sequences, the operation returns the current number of elements.
1081        * <LI>For structures, exceptions, and value types, the operation returns the number of members.
1082        * <LI>For arrays, the operation returns the number of elements.
1083        * <LI>For unions, the operation returns 2 if the discriminator indicates that a named member is active,
1084        * otherwise, it returns 1.
1085        * <LI>For DynFixed and DynEnum, the operation returns zero.
1086        * </UL>
1087        */

1088  public int component_count ()
1089  {
1090      org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("component_count", _opsClass);
1091      DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
1092
1093      try {
1094         return $self.component_count ();
1095      } finally {
1096          _servant_postinvoke ($so);
1097      }
1098  } // component_count
1099

1100
1101  /**
1102        * Returns the DynAny for the component at the current position.
1103        * It does not advance the current position, so repeated calls to current_component
1104        * without an intervening call to rewind, next, or seek return the same component.
1105        * The returned DynAny object reference can be used to get/set the value of the current component.
1106        * If the current component represents a complex type, the returned reference can be narrowed
1107        * based on the TypeCode to get the interface corresponding to the to the complex type.
1108        * Calling current_component on a DynAny that cannot have components,
1109        * such as a DynEnum or an empty exception, raises TypeMismatch.
1110        * Calling current_component on a DynAny whose current position is -1 returns a nil reference.
1111        * The iteration operations, together with current_component, can be used
1112        * to dynamically compose an any value. After creating a dynamic any, such as a DynStruct,
1113        * current_component and next can be used to initialize all the components of the value.
1114        * Once the dynamic value is completely initialized, to_any creates the corresponding any value.
1115        *
1116        * @exception TypeMismatch If called on a DynAny that cannot have components,
1117        * such as a DynEnum or an empty exception
1118        */

1119  public org.omg.DynamicAny.DynAny JavaDoc current_component () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc
1120  {
1121      org.omg.CORBA.portable.ServantObject JavaDoc $so = _servant_preinvoke ("current_component", _opsClass);
1122      DynEnumOperations JavaDoc $self = (DynEnumOperations JavaDoc) $so.servant;
1123
1124      try {
1125         return $self.current_component ();
1126      } finally {
1127          _servant_postinvoke ($so);
1128      }
1129  } // current_component
1130

1131  // Type-specific CORBA::Object operations
1132
private static String JavaDoc[] __ids = {
1133    "IDL:omg.org/DynamicAny/DynEnum:1.0",
1134    "IDL:omg.org/DynamicAny/DynAny:1.0"};
1135
1136  public String JavaDoc[] _ids ()
1137  {
1138    return (String JavaDoc[])__ids.clone ();
1139  }
1140
1141  private void readObject (java.io.ObjectInputStream JavaDoc s) throws java.io.IOException JavaDoc
1142  {
1143     String JavaDoc str = s.readUTF ();
1144     String JavaDoc[] args = null;
1145     java.util.Properties JavaDoc props = null;
1146     org.omg.CORBA.Object JavaDoc obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
1147     org.omg.CORBA.portable.Delegate JavaDoc delegate = ((org.omg.CORBA.portable.ObjectImpl JavaDoc) obj)._get_delegate ();
1148     _set_delegate (delegate);
1149  }
1150
1151  private void writeObject (java.io.ObjectOutputStream JavaDoc s) throws java.io.IOException JavaDoc
1152  {
1153     String JavaDoc[] args = null;
1154     java.util.Properties JavaDoc props = null;
1155     String JavaDoc str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
1156     s.writeUTF (str);
1157  }
1158} // class _DynEnumStub
1159
Popular Tags