Import GNU Classpath (20121202).
[official-gcc.git] / libjava / classpath / org / omg / DynamicAny / _DynFixedStub.java
blob51eadf004d043fa66c4fb41b57c9ddc072ece8b3
1 /* _DynFixedStub.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 DynFixed. As
52 * DynFixed 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 _DynFixedStub
58 extends ObjectImpl
59 implements DynFixed, Serializable
61 /**
62 * Use serialVersionUID (v1.4) for interoperability.
64 private static final long serialVersionUID = -1932029532964417188L;
66 /**
67 * The purpose and value of this field are not documented.
69 @SuppressWarnings("rawtypes") // Needed for API compatibility
70 public static final Class _opsClass = DynFixedOperations.class;
72 /**
73 * Create the DynFixed stub.
75 public _DynFixedStub()
79 /**
80 * Return the array of repository ids for this object.
82 public String[] _ids()
84 return new String[] { DynFixedHelper.id() };
87 /**
88 * The remote call of DynAny methods is not possible.
90 * @throws MARSHAL, always.
92 public String get_value()
94 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
97 /**
98 * The remote call of DynAny methods is not possible.
100 * @throws MARSHAL, always.
102 public boolean set_value(String _0)
103 throws TypeMismatch, InvalidValue
105 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
109 * The remote call of DynAny methods is not possible.
111 * @throws MARSHAL, always.
113 public TypeCode type()
115 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
119 * The remote call of DynAny methods is not possible.
121 * @throws MARSHAL, always.
123 public boolean next()
125 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
129 * The remote call of DynAny methods is not possible.
131 * @throws MARSHAL, always.
133 public void destroy()
138 * The remote call of DynAny methods is not possible.
140 * @throws MARSHAL, always.
142 public DynAny copy()
144 return this;
148 * The remote call of DynAny methods is not possible.
150 * @throws MARSHAL, always.
152 public void rewind()
157 * The remote call of DynAny methods is not possible.
159 * @throws MARSHAL, always.
161 public void assign(DynAny _0)
162 throws TypeMismatch
167 * The remote call of DynAny methods is not possible.
169 * @throws MARSHAL, always.
171 public int component_count()
173 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
177 * The remote call of DynAny methods is not possible.
179 * @throws MARSHAL, always.
181 public DynAny current_component()
182 throws TypeMismatch
184 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
188 * The remote call of DynAny methods is not possible.
190 * @throws MARSHAL, always.
192 public boolean equal(DynAny _0)
194 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
198 * The remote call of DynAny methods is not possible.
200 * @throws MARSHAL, always.
202 public void from_any(Any _0)
203 throws TypeMismatch, InvalidValue
205 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
209 * The remote call of DynAny methods is not possible.
211 * @throws MARSHAL, always.
213 public Any get_any()
214 throws TypeMismatch, InvalidValue
216 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
220 * The remote call of DynAny methods is not possible.
222 * @throws MARSHAL, always.
224 public boolean get_boolean()
225 throws TypeMismatch, InvalidValue
227 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
231 * The remote call of DynAny methods is not possible.
233 * @throws MARSHAL, always.
235 public char get_char()
236 throws TypeMismatch, InvalidValue
238 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
242 * The remote call of DynAny methods is not possible.
244 * @throws MARSHAL, always.
246 public double get_double()
247 throws TypeMismatch, InvalidValue
249 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
253 * The remote call of DynAny methods is not possible.
255 * @throws MARSHAL, always.
257 public DynAny get_dyn_any()
258 throws TypeMismatch, InvalidValue
260 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
264 * The remote call of DynAny methods is not possible.
266 * @throws MARSHAL, always.
268 public float get_float()
269 throws TypeMismatch, InvalidValue
271 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
275 * The remote call of DynAny methods is not possible.
277 * @throws MARSHAL, always.
279 public int get_long()
280 throws TypeMismatch, InvalidValue
282 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
286 * The remote call of DynAny methods is not possible.
288 * @throws MARSHAL, always.
290 public long get_longlong()
291 throws TypeMismatch, InvalidValue
293 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
297 * The remote call of DynAny methods is not possible.
299 * @throws MARSHAL, always.
301 public byte get_octet()
302 throws TypeMismatch, InvalidValue
304 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
308 * The remote call of DynAny methods is not possible.
310 * @throws MARSHAL, always.
312 public org.omg.CORBA.Object get_reference()
313 throws TypeMismatch, InvalidValue
315 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
319 * The remote call of DynAny methods is not possible.
321 * @throws MARSHAL, always.
323 public short get_short()
324 throws TypeMismatch, InvalidValue
326 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
330 * The remote call of DynAny methods is not possible.
332 * @throws MARSHAL, always.
334 public String get_string()
335 throws TypeMismatch, InvalidValue
337 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
341 * The remote call of DynAny methods is not possible.
343 * @throws MARSHAL, always.
345 public TypeCode get_typecode()
346 throws TypeMismatch, InvalidValue
348 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
352 * The remote call of DynAny methods is not possible.
354 * @throws MARSHAL, always.
356 public int get_ulong()
357 throws TypeMismatch, InvalidValue
359 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
363 * The remote call of DynAny methods is not possible.
365 * @throws MARSHAL, always.
367 public long get_ulonglong()
368 throws TypeMismatch, InvalidValue
370 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
374 * The remote call of DynAny methods is not possible.
376 * @throws MARSHAL, always.
378 public short get_ushort()
379 throws TypeMismatch, InvalidValue
381 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
385 * The remote call of DynAny methods is not possible.
387 * @throws MARSHAL, always.
389 public Serializable get_val()
390 throws TypeMismatch, InvalidValue
392 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
396 * The remote call of DynAny methods is not possible.
398 * @throws MARSHAL, always.
400 public char get_wchar()
401 throws TypeMismatch, InvalidValue
403 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
407 * The remote call of DynAny methods is not possible.
409 * @throws MARSHAL, always.
411 public String get_wstring()
412 throws TypeMismatch, InvalidValue
414 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
418 * The remote call of DynAny methods is not possible.
420 * @throws MARSHAL, always.
422 public void insert_any(Any _0)
423 throws TypeMismatch, InvalidValue
425 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
429 * The remote call of DynAny methods is not possible.
431 * @throws MARSHAL, always.
433 public void insert_boolean(boolean _0)
434 throws TypeMismatch, InvalidValue
436 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
440 * The remote call of DynAny methods is not possible.
442 * @throws MARSHAL, always.
444 public void insert_char(char _0)
445 throws TypeMismatch, InvalidValue
447 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
451 * The remote call of DynAny methods is not possible.
453 * @throws MARSHAL, always.
455 public void insert_double(double _0)
456 throws TypeMismatch, InvalidValue
458 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
462 * The remote call of DynAny methods is not possible.
464 * @throws MARSHAL, always.
466 public void insert_dyn_any(DynAny _0)
467 throws TypeMismatch, InvalidValue
469 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
473 * The remote call of DynAny methods is not possible.
475 * @throws MARSHAL, always.
477 public void insert_float(float _0)
478 throws TypeMismatch, InvalidValue
480 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
484 * The remote call of DynAny methods is not possible.
486 * @throws MARSHAL, always.
488 public void insert_long(int _0)
489 throws TypeMismatch, InvalidValue
491 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
495 * The remote call of DynAny methods is not possible.
497 * @throws MARSHAL, always.
499 public void insert_longlong(long _0)
500 throws TypeMismatch, InvalidValue
502 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
506 * The remote call of DynAny methods is not possible.
508 * @throws MARSHAL, always.
510 public void insert_octet(byte _0)
511 throws TypeMismatch, InvalidValue
513 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
517 * The remote call of DynAny methods is not possible.
519 * @throws MARSHAL, always.
521 public void insert_reference(org.omg.CORBA.Object _0)
522 throws TypeMismatch, InvalidValue
524 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
528 * The remote call of DynAny methods is not possible.
530 * @throws MARSHAL, always.
532 public void insert_short(short _0)
533 throws TypeMismatch, InvalidValue
535 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
539 * The remote call of DynAny methods is not possible.
541 * @throws MARSHAL, always.
543 public void insert_string(String _0)
544 throws TypeMismatch, InvalidValue
546 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
550 * The remote call of DynAny methods is not possible.
552 * @throws MARSHAL, always.
554 public void insert_typecode(TypeCode _0)
555 throws TypeMismatch, InvalidValue
557 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
561 * The remote call of DynAny methods is not possible.
563 * @throws MARSHAL, always.
565 public void insert_ulong(int _0)
566 throws TypeMismatch, InvalidValue
568 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
572 * The remote call of DynAny methods is not possible.
574 * @throws MARSHAL, always.
576 public void insert_ulonglong(long _0)
577 throws TypeMismatch, InvalidValue
579 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
583 * The remote call of DynAny methods is not possible.
585 * @throws MARSHAL, always.
587 public void insert_ushort(short _0)
588 throws TypeMismatch, InvalidValue
590 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
594 * The remote call of DynAny methods is not possible.
596 * @throws MARSHAL, always.
598 public void insert_val(Serializable _0)
599 throws TypeMismatch, InvalidValue
601 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
605 * The remote call of DynAny methods is not possible.
607 * @throws MARSHAL, always.
609 public void insert_wchar(char _0)
610 throws TypeMismatch, InvalidValue
612 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
616 * The remote call of DynAny methods is not possible.
618 * @throws MARSHAL, always.
620 public void insert_wstring(String _0)
621 throws TypeMismatch, InvalidValue
623 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
627 * The remote call of DynAny methods is not possible.
629 * @throws MARSHAL, always.
631 public boolean seek(int _0)
633 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
637 * The remote call of DynAny methods is not possible.
639 * @throws MARSHAL, always.
641 public Any to_any()
643 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);