Imported GNU Classpath 0.90
[official-gcc.git] / libjava / classpath / org / omg / DynamicAny / _DynFixedStub.java
blob97a3d94dfef3897f44367aab2cc9b1688e118219
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 public static final Class _opsClass = DynFixedOperations.class;
71 /**
72 * Create the DynFixed stub.
74 public _DynFixedStub()
78 /**
79 * Return the array of repository ids for this object.
81 public String[] _ids()
83 return new String[] { DynFixedHelper.id() };
86 /**
87 * The remote call of DynAny methods is not possible.
89 * @throws MARSHAL, always.
91 public String get_value()
93 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
96 /**
97 * The remote call of DynAny methods is not possible.
99 * @throws MARSHAL, always.
101 public boolean set_value(String _0)
102 throws TypeMismatch, InvalidValue
104 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
108 * The remote call of DynAny methods is not possible.
110 * @throws MARSHAL, always.
112 public TypeCode type()
114 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
118 * The remote call of DynAny methods is not possible.
120 * @throws MARSHAL, always.
122 public boolean next()
124 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
128 * The remote call of DynAny methods is not possible.
130 * @throws MARSHAL, always.
132 public void destroy()
137 * The remote call of DynAny methods is not possible.
139 * @throws MARSHAL, always.
141 public DynAny copy()
143 return this;
147 * The remote call of DynAny methods is not possible.
149 * @throws MARSHAL, always.
151 public void rewind()
156 * The remote call of DynAny methods is not possible.
158 * @throws MARSHAL, always.
160 public void assign(DynAny _0)
161 throws TypeMismatch
166 * The remote call of DynAny methods is not possible.
168 * @throws MARSHAL, always.
170 public int component_count()
172 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
176 * The remote call of DynAny methods is not possible.
178 * @throws MARSHAL, always.
180 public DynAny current_component()
181 throws TypeMismatch
183 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
187 * The remote call of DynAny methods is not possible.
189 * @throws MARSHAL, always.
191 public boolean equal(DynAny _0)
193 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
197 * The remote call of DynAny methods is not possible.
199 * @throws MARSHAL, always.
201 public void from_any(Any _0)
202 throws TypeMismatch, InvalidValue
204 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
208 * The remote call of DynAny methods is not possible.
210 * @throws MARSHAL, always.
212 public Any get_any()
213 throws TypeMismatch, InvalidValue
215 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
219 * The remote call of DynAny methods is not possible.
221 * @throws MARSHAL, always.
223 public boolean get_boolean()
224 throws TypeMismatch, InvalidValue
226 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
230 * The remote call of DynAny methods is not possible.
232 * @throws MARSHAL, always.
234 public char get_char()
235 throws TypeMismatch, InvalidValue
237 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
241 * The remote call of DynAny methods is not possible.
243 * @throws MARSHAL, always.
245 public double get_double()
246 throws TypeMismatch, InvalidValue
248 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
252 * The remote call of DynAny methods is not possible.
254 * @throws MARSHAL, always.
256 public DynAny get_dyn_any()
257 throws TypeMismatch, InvalidValue
259 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
263 * The remote call of DynAny methods is not possible.
265 * @throws MARSHAL, always.
267 public float get_float()
268 throws TypeMismatch, InvalidValue
270 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
274 * The remote call of DynAny methods is not possible.
276 * @throws MARSHAL, always.
278 public int get_long()
279 throws TypeMismatch, InvalidValue
281 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
285 * The remote call of DynAny methods is not possible.
287 * @throws MARSHAL, always.
289 public long get_longlong()
290 throws TypeMismatch, InvalidValue
292 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
296 * The remote call of DynAny methods is not possible.
298 * @throws MARSHAL, always.
300 public byte get_octet()
301 throws TypeMismatch, InvalidValue
303 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
307 * The remote call of DynAny methods is not possible.
309 * @throws MARSHAL, always.
311 public org.omg.CORBA.Object get_reference()
312 throws TypeMismatch, InvalidValue
314 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
318 * The remote call of DynAny methods is not possible.
320 * @throws MARSHAL, always.
322 public short get_short()
323 throws TypeMismatch, InvalidValue
325 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
329 * The remote call of DynAny methods is not possible.
331 * @throws MARSHAL, always.
333 public String get_string()
334 throws TypeMismatch, InvalidValue
336 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
340 * The remote call of DynAny methods is not possible.
342 * @throws MARSHAL, always.
344 public TypeCode get_typecode()
345 throws TypeMismatch, InvalidValue
347 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
351 * The remote call of DynAny methods is not possible.
353 * @throws MARSHAL, always.
355 public int get_ulong()
356 throws TypeMismatch, InvalidValue
358 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
362 * The remote call of DynAny methods is not possible.
364 * @throws MARSHAL, always.
366 public long get_ulonglong()
367 throws TypeMismatch, InvalidValue
369 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
373 * The remote call of DynAny methods is not possible.
375 * @throws MARSHAL, always.
377 public short get_ushort()
378 throws TypeMismatch, InvalidValue
380 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
384 * The remote call of DynAny methods is not possible.
386 * @throws MARSHAL, always.
388 public Serializable get_val()
389 throws TypeMismatch, InvalidValue
391 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
395 * The remote call of DynAny methods is not possible.
397 * @throws MARSHAL, always.
399 public char get_wchar()
400 throws TypeMismatch, InvalidValue
402 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
406 * The remote call of DynAny methods is not possible.
408 * @throws MARSHAL, always.
410 public String get_wstring()
411 throws TypeMismatch, InvalidValue
413 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
417 * The remote call of DynAny methods is not possible.
419 * @throws MARSHAL, always.
421 public void insert_any(Any _0)
422 throws TypeMismatch, InvalidValue
424 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
428 * The remote call of DynAny methods is not possible.
430 * @throws MARSHAL, always.
432 public void insert_boolean(boolean _0)
433 throws TypeMismatch, InvalidValue
435 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
439 * The remote call of DynAny methods is not possible.
441 * @throws MARSHAL, always.
443 public void insert_char(char _0)
444 throws TypeMismatch, InvalidValue
446 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
450 * The remote call of DynAny methods is not possible.
452 * @throws MARSHAL, always.
454 public void insert_double(double _0)
455 throws TypeMismatch, InvalidValue
457 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
461 * The remote call of DynAny methods is not possible.
463 * @throws MARSHAL, always.
465 public void insert_dyn_any(DynAny _0)
466 throws TypeMismatch, InvalidValue
468 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
472 * The remote call of DynAny methods is not possible.
474 * @throws MARSHAL, always.
476 public void insert_float(float _0)
477 throws TypeMismatch, InvalidValue
479 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
483 * The remote call of DynAny methods is not possible.
485 * @throws MARSHAL, always.
487 public void insert_long(int _0)
488 throws TypeMismatch, InvalidValue
490 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
494 * The remote call of DynAny methods is not possible.
496 * @throws MARSHAL, always.
498 public void insert_longlong(long _0)
499 throws TypeMismatch, InvalidValue
501 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
505 * The remote call of DynAny methods is not possible.
507 * @throws MARSHAL, always.
509 public void insert_octet(byte _0)
510 throws TypeMismatch, InvalidValue
512 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
516 * The remote call of DynAny methods is not possible.
518 * @throws MARSHAL, always.
520 public void insert_reference(org.omg.CORBA.Object _0)
521 throws TypeMismatch, InvalidValue
523 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
527 * The remote call of DynAny methods is not possible.
529 * @throws MARSHAL, always.
531 public void insert_short(short _0)
532 throws TypeMismatch, InvalidValue
534 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
538 * The remote call of DynAny methods is not possible.
540 * @throws MARSHAL, always.
542 public void insert_string(String _0)
543 throws TypeMismatch, InvalidValue
545 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
549 * The remote call of DynAny methods is not possible.
551 * @throws MARSHAL, always.
553 public void insert_typecode(TypeCode _0)
554 throws TypeMismatch, InvalidValue
556 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
560 * The remote call of DynAny methods is not possible.
562 * @throws MARSHAL, always.
564 public void insert_ulong(int _0)
565 throws TypeMismatch, InvalidValue
567 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
571 * The remote call of DynAny methods is not possible.
573 * @throws MARSHAL, always.
575 public void insert_ulonglong(long _0)
576 throws TypeMismatch, InvalidValue
578 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
582 * The remote call of DynAny methods is not possible.
584 * @throws MARSHAL, always.
586 public void insert_ushort(short _0)
587 throws TypeMismatch, InvalidValue
589 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
593 * The remote call of DynAny methods is not possible.
595 * @throws MARSHAL, always.
597 public void insert_val(Serializable _0)
598 throws TypeMismatch, InvalidValue
600 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
604 * The remote call of DynAny methods is not possible.
606 * @throws MARSHAL, always.
608 public void insert_wchar(char _0)
609 throws TypeMismatch, InvalidValue
611 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
615 * The remote call of DynAny methods is not possible.
617 * @throws MARSHAL, always.
619 public void insert_wstring(String _0)
620 throws TypeMismatch, InvalidValue
622 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
626 * The remote call of DynAny methods is not possible.
628 * @throws MARSHAL, always.
630 public boolean seek(int _0)
632 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
636 * The remote call of DynAny methods is not possible.
638 * @throws MARSHAL, always.
640 public Any to_any()
642 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);