Merge from mainline.
[official-gcc.git] / libjava / classpath / org / omg / DynamicAny / _DynEnumStub.java
blob73e9fa72d61e2535f2fadbf1e87658e8067a9268
1 /* _DynEnumStub.java --
2 Copyright (C) 2005, 2006 Free Software Foundation, Inc.
4 This file is part of GNU Classpath.
6 GNU Classpath is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU Classpath is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Classpath; see the file COPYING. If not, write to the
18 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301 USA.
21 Linking this library statically or dynamically with other modules is
22 making a combined work based on this library. Thus, the terms and
23 conditions of the GNU General Public License cover the whole
24 combination.
26 As a special exception, the copyright holders of this library give you
27 permission to link this library with independent modules to produce an
28 executable, regardless of the license terms of these independent
29 modules, and to copy and distribute the resulting executable under
30 terms of your choice, provided that you also meet, for each linked
31 independent module, the terms and conditions of the license of that
32 module. An independent module is a module which is not derived from
33 or based on this library. If you modify this library, you may extend
34 this exception to your version of the library, but you are not
35 obligated to do so. If you do not wish to do so, delete this
36 exception statement from your version. */
39 package org.omg.DynamicAny;
41 import java.io.Serializable;
43 import org.omg.CORBA.Any;
44 import org.omg.CORBA.MARSHAL;
45 import org.omg.CORBA.TypeCode;
46 import org.omg.CORBA.portable.ObjectImpl;
47 import org.omg.DynamicAny.DynAnyPackage.InvalidValue;
48 import org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
50 /**
51 * Should provide support for remote invocation of methods on DynEnum. As
52 * DynEnum can never be remote at least till 1.5 inclusive, this class is
53 * not in use.
55 * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
57 public class _DynEnumStub
58 extends ObjectImpl
59 implements DynEnum, Serializable
61 /**
62 * Use serialVersionUID (v1.4) for interoperability.
64 private static final long serialVersionUID = 696844314172031949L;
66 /**
67 * The purpose and value of this field are not documented.
69 public static final Class _opsClass = DynEnumOperations.class;
71 /**
72 * Create the DynEnum stub.
74 public _DynEnumStub()
78 /**
79 * Return the array of repository ids for this object.
81 public String[] _ids()
83 return new String[] { DynEnumHelper.id() };
86 /**
87 * The remote call of DynEnum methods is not possible.
89 * @throws MARSHAL, always.
91 public String get_as_string()
93 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
96 /**
97 * The remote call of DynEnum methods is not possible.
99 * @throws MARSHAL, always.
101 public int get_as_ulong()
103 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
107 * The remote call of DynEnum methods is not possible.
109 * @throws MARSHAL, always.
111 public void set_as_string(String _0)
112 throws InvalidValue
114 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
118 * The remote call of DynEnum methods is not possible.
120 * @throws MARSHAL, always.
122 public void set_as_ulong(int _0)
123 throws InvalidValue
125 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
129 * The remote call of DynAny methods is not possible.
131 * @throws MARSHAL, always.
133 public TypeCode type()
135 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
139 * The remote call of DynAny methods is not possible.
141 * @throws MARSHAL, always.
143 public boolean next()
145 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
149 * The remote call of DynAny methods is not possible.
151 * @throws MARSHAL, always.
153 public void destroy()
158 * The remote call of DynAny methods is not possible.
160 * @throws MARSHAL, always.
162 public DynAny copy()
164 return this;
168 * The remote call of DynAny methods is not possible.
170 * @throws MARSHAL, always.
172 public void rewind()
177 * The remote call of DynAny methods is not possible.
179 * @throws MARSHAL, always.
181 public void assign(DynAny _0)
182 throws TypeMismatch
187 * The remote call of DynAny methods is not possible.
189 * @throws MARSHAL, always.
191 public int component_count()
193 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
197 * The remote call of DynAny methods is not possible.
199 * @throws MARSHAL, always.
201 public DynAny current_component()
202 throws TypeMismatch
204 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
208 * The remote call of DynAny methods is not possible.
210 * @throws MARSHAL, always.
212 public boolean equal(DynAny _0)
214 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
218 * The remote call of DynAny methods is not possible.
220 * @throws MARSHAL, always.
222 public void from_any(Any _0)
223 throws TypeMismatch, InvalidValue
225 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
229 * The remote call of DynAny methods is not possible.
231 * @throws MARSHAL, always.
233 public Any get_any()
234 throws TypeMismatch, InvalidValue
236 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
240 * The remote call of DynAny methods is not possible.
242 * @throws MARSHAL, always.
244 public boolean get_boolean()
245 throws TypeMismatch, InvalidValue
247 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
251 * The remote call of DynAny methods is not possible.
253 * @throws MARSHAL, always.
255 public char get_char()
256 throws TypeMismatch, InvalidValue
258 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
262 * The remote call of DynAny methods is not possible.
264 * @throws MARSHAL, always.
266 public double get_double()
267 throws TypeMismatch, InvalidValue
269 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
273 * The remote call of DynAny methods is not possible.
275 * @throws MARSHAL, always.
277 public DynAny get_dyn_any()
278 throws TypeMismatch, InvalidValue
280 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
284 * The remote call of DynAny methods is not possible.
286 * @throws MARSHAL, always.
288 public float get_float()
289 throws TypeMismatch, InvalidValue
291 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
295 * The remote call of DynAny methods is not possible.
297 * @throws MARSHAL, always.
299 public int get_long()
300 throws TypeMismatch, InvalidValue
302 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
306 * The remote call of DynAny methods is not possible.
308 * @throws MARSHAL, always.
310 public long get_longlong()
311 throws TypeMismatch, InvalidValue
313 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
317 * The remote call of DynAny methods is not possible.
319 * @throws MARSHAL, always.
321 public byte get_octet()
322 throws TypeMismatch, InvalidValue
324 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
328 * The remote call of DynAny methods is not possible.
330 * @throws MARSHAL, always.
332 public org.omg.CORBA.Object get_reference()
333 throws TypeMismatch, InvalidValue
335 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
339 * The remote call of DynAny methods is not possible.
341 * @throws MARSHAL, always.
343 public short get_short()
344 throws TypeMismatch, InvalidValue
346 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
350 * The remote call of DynAny methods is not possible.
352 * @throws MARSHAL, always.
354 public String get_string()
355 throws TypeMismatch, InvalidValue
357 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
361 * The remote call of DynAny methods is not possible.
363 * @throws MARSHAL, always.
365 public TypeCode get_typecode()
366 throws TypeMismatch, InvalidValue
368 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
372 * The remote call of DynAny methods is not possible.
374 * @throws MARSHAL, always.
376 public int get_ulong()
377 throws TypeMismatch, InvalidValue
379 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
383 * The remote call of DynAny methods is not possible.
385 * @throws MARSHAL, always.
387 public long get_ulonglong()
388 throws TypeMismatch, InvalidValue
390 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
394 * The remote call of DynAny methods is not possible.
396 * @throws MARSHAL, always.
398 public short get_ushort()
399 throws TypeMismatch, InvalidValue
401 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
405 * The remote call of DynAny methods is not possible.
407 * @throws MARSHAL, always.
409 public Serializable get_val()
410 throws TypeMismatch, InvalidValue
412 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
416 * The remote call of DynAny methods is not possible.
418 * @throws MARSHAL, always.
420 public char get_wchar()
421 throws TypeMismatch, InvalidValue
423 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
427 * The remote call of DynAny methods is not possible.
429 * @throws MARSHAL, always.
431 public String get_wstring()
432 throws TypeMismatch, InvalidValue
434 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
438 * The remote call of DynAny methods is not possible.
440 * @throws MARSHAL, always.
442 public void insert_any(Any _0)
443 throws TypeMismatch, InvalidValue
445 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
449 * The remote call of DynAny methods is not possible.
451 * @throws MARSHAL, always.
453 public void insert_boolean(boolean _0)
454 throws TypeMismatch, InvalidValue
456 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
460 * The remote call of DynAny methods is not possible.
462 * @throws MARSHAL, always.
464 public void insert_char(char _0)
465 throws TypeMismatch, InvalidValue
467 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
471 * The remote call of DynAny methods is not possible.
473 * @throws MARSHAL, always.
475 public void insert_double(double _0)
476 throws TypeMismatch, InvalidValue
478 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
482 * The remote call of DynAny methods is not possible.
484 * @throws MARSHAL, always.
486 public void insert_dyn_any(DynAny _0)
487 throws TypeMismatch, InvalidValue
489 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
493 * The remote call of DynAny methods is not possible.
495 * @throws MARSHAL, always.
497 public void insert_float(float _0)
498 throws TypeMismatch, InvalidValue
500 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
504 * The remote call of DynAny methods is not possible.
506 * @throws MARSHAL, always.
508 public void insert_long(int _0)
509 throws TypeMismatch, InvalidValue
511 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
515 * The remote call of DynAny methods is not possible.
517 * @throws MARSHAL, always.
519 public void insert_longlong(long _0)
520 throws TypeMismatch, InvalidValue
522 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
526 * The remote call of DynAny methods is not possible.
528 * @throws MARSHAL, always.
530 public void insert_octet(byte _0)
531 throws TypeMismatch, InvalidValue
533 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
537 * The remote call of DynAny methods is not possible.
539 * @throws MARSHAL, always.
541 public void insert_reference(org.omg.CORBA.Object _0)
542 throws TypeMismatch, InvalidValue
544 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
548 * The remote call of DynAny methods is not possible.
550 * @throws MARSHAL, always.
552 public void insert_short(short _0)
553 throws TypeMismatch, InvalidValue
555 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
559 * The remote call of DynAny methods is not possible.
561 * @throws MARSHAL, always.
563 public void insert_string(String _0)
564 throws TypeMismatch, InvalidValue
566 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
570 * The remote call of DynAny methods is not possible.
572 * @throws MARSHAL, always.
574 public void insert_typecode(TypeCode _0)
575 throws TypeMismatch, InvalidValue
577 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
581 * The remote call of DynAny methods is not possible.
583 * @throws MARSHAL, always.
585 public void insert_ulong(int _0)
586 throws TypeMismatch, InvalidValue
588 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
592 * The remote call of DynAny methods is not possible.
594 * @throws MARSHAL, always.
596 public void insert_ulonglong(long _0)
597 throws TypeMismatch, InvalidValue
599 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
603 * The remote call of DynAny methods is not possible.
605 * @throws MARSHAL, always.
607 public void insert_ushort(short _0)
608 throws TypeMismatch, InvalidValue
610 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
614 * The remote call of DynAny methods is not possible.
616 * @throws MARSHAL, always.
618 public void insert_val(Serializable _0)
619 throws TypeMismatch, InvalidValue
621 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
625 * The remote call of DynAny methods is not possible.
627 * @throws MARSHAL, always.
629 public void insert_wchar(char _0)
630 throws TypeMismatch, InvalidValue
632 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
636 * The remote call of DynAny methods is not possible.
638 * @throws MARSHAL, always.
640 public void insert_wstring(String _0)
641 throws TypeMismatch, InvalidValue
643 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
647 * The remote call of DynAny methods is not possible.
649 * @throws MARSHAL, always.
651 public boolean seek(int _0)
653 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
657 * The remote call of DynAny methods is not possible.
659 * @throws MARSHAL, always.
661 public Any to_any()
663 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);