Import GNU Classpath (20121202).
[official-gcc.git] / libjava / classpath / org / omg / DynamicAny / _DynSequenceStub.java
blob6de97b2fc45713e6858511a6b31de2d29c79da45
1 /* _DynSequenceStub.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.Delegate;
47 import org.omg.CORBA.portable.ObjectImpl;
48 import org.omg.DynamicAny.DynAnyPackage.InvalidValue;
49 import org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
51 /**
52 * Should provide support for remote invocation of methods on DynSequence. As
53 * DynSequence can never be remote at least till 1.5 inclusive, this class is
54 * not in use.
56 * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
58 public class _DynSequenceStub
59 extends ObjectImpl
60 implements DynSequence, Serializable
62 /**
63 * Use serialVersionUID (v1.4) for interoperability.
65 private static final long serialVersionUID = 7191437435669107554L;
67 /**
68 * The purpose and value of this field are not documented.
70 @SuppressWarnings("rawtypes") // Needed for API compatibility
71 public static final Class _opsClass = DynSequenceOperations.class;
73 /**
74 * Create the DynSequence stub. To get the stub working,
75 * you must later set the delegate with
76 * {@link ObjectImpl#_set_delegate(Delegate)}.
78 public _DynSequenceStub()
82 /**
83 * Return the array of repository ids for this object.
85 public String[] _ids()
87 return new String[] { DynSequenceHelper.id() };
90 /**
91 * The remote call of DynAny methods is not possible.
93 * @throws MARSHAL, always.
95 public Any[] get_elements()
97 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
101 * The remote call of DynAny methods is not possible.
103 * @throws MARSHAL, always.
105 public DynAny[] get_elements_as_dyn_any()
107 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
111 * The remote call of DynAny methods is not possible.
113 * @throws MARSHAL, always.
115 public void set_elements(Any[] _0)
116 throws TypeMismatch, InvalidValue
118 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
122 * The remote call of DynAny methods is not possible.
124 * @throws MARSHAL, always.
126 public void set_elements_as_dyn_any(DynAny[] _0)
127 throws TypeMismatch, InvalidValue
129 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
133 * The remote call of DynAny methods is not possible.
135 * @throws MARSHAL, always.
137 public int get_length()
139 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
143 * The remote call of DynAny methods is not possible.
145 * @throws MARSHAL, always.
147 public void set_length(int _0)
148 throws InvalidValue
150 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
154 * The remote call of DynAny methods is not possible.
156 * @throws MARSHAL, always.
158 public TypeCode type()
160 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
164 * The remote call of DynAny methods is not possible.
166 * @throws MARSHAL, always.
168 public boolean next()
170 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
174 * The remote call of DynAny methods is not possible.
176 * @throws MARSHAL, always.
178 public void destroy()
183 * The remote call of DynAny methods is not possible.
185 * @throws MARSHAL, always.
187 public DynAny copy()
189 return this;
193 * The remote call of DynAny methods is not possible.
195 * @throws MARSHAL, always.
197 public void rewind()
202 * The remote call of DynAny methods is not possible.
204 * @throws MARSHAL, always.
206 public void assign(DynAny _0)
207 throws TypeMismatch
212 * The remote call of DynAny methods is not possible.
214 * @throws MARSHAL, always.
216 public int component_count()
218 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
222 * The remote call of DynAny methods is not possible.
224 * @throws MARSHAL, always.
226 public DynAny current_component()
227 throws TypeMismatch
229 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
233 * The remote call of DynAny methods is not possible.
235 * @throws MARSHAL, always.
237 public boolean equal(DynAny _0)
239 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
243 * The remote call of DynAny methods is not possible.
245 * @throws MARSHAL, always.
247 public void from_any(Any _0)
248 throws TypeMismatch, InvalidValue
250 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
254 * The remote call of DynAny methods is not possible.
256 * @throws MARSHAL, always.
258 public Any get_any()
259 throws TypeMismatch, InvalidValue
261 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
265 * The remote call of DynAny methods is not possible.
267 * @throws MARSHAL, always.
269 public boolean get_boolean()
270 throws TypeMismatch, InvalidValue
272 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
276 * The remote call of DynAny methods is not possible.
278 * @throws MARSHAL, always.
280 public char get_char()
281 throws TypeMismatch, InvalidValue
283 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
287 * The remote call of DynAny methods is not possible.
289 * @throws MARSHAL, always.
291 public double get_double()
292 throws TypeMismatch, InvalidValue
294 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
298 * The remote call of DynAny methods is not possible.
300 * @throws MARSHAL, always.
302 public DynAny get_dyn_any()
303 throws TypeMismatch, InvalidValue
305 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
309 * The remote call of DynAny methods is not possible.
311 * @throws MARSHAL, always.
313 public float get_float()
314 throws TypeMismatch, InvalidValue
316 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
320 * The remote call of DynAny methods is not possible.
322 * @throws MARSHAL, always.
324 public int get_long()
325 throws TypeMismatch, InvalidValue
327 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
331 * The remote call of DynAny methods is not possible.
333 * @throws MARSHAL, always.
335 public long get_longlong()
336 throws TypeMismatch, InvalidValue
338 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
342 * The remote call of DynAny methods is not possible.
344 * @throws MARSHAL, always.
346 public byte get_octet()
347 throws TypeMismatch, InvalidValue
349 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
353 * The remote call of DynAny methods is not possible.
355 * @throws MARSHAL, always.
357 public org.omg.CORBA.Object get_reference()
358 throws TypeMismatch, InvalidValue
360 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
364 * The remote call of DynAny methods is not possible.
366 * @throws MARSHAL, always.
368 public short get_short()
369 throws TypeMismatch, InvalidValue
371 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
375 * The remote call of DynAny methods is not possible.
377 * @throws MARSHAL, always.
379 public String get_string()
380 throws TypeMismatch, InvalidValue
382 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
386 * The remote call of DynAny methods is not possible.
388 * @throws MARSHAL, always.
390 public TypeCode get_typecode()
391 throws TypeMismatch, InvalidValue
393 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
397 * The remote call of DynAny methods is not possible.
399 * @throws MARSHAL, always.
401 public int get_ulong()
402 throws TypeMismatch, InvalidValue
404 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
408 * The remote call of DynAny methods is not possible.
410 * @throws MARSHAL, always.
412 public long get_ulonglong()
413 throws TypeMismatch, InvalidValue
415 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
419 * The remote call of DynAny methods is not possible.
421 * @throws MARSHAL, always.
423 public short get_ushort()
424 throws TypeMismatch, InvalidValue
426 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
430 * The remote call of DynAny methods is not possible.
432 * @throws MARSHAL, always.
434 public Serializable get_val()
435 throws TypeMismatch, InvalidValue
437 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
441 * The remote call of DynAny methods is not possible.
443 * @throws MARSHAL, always.
445 public char get_wchar()
446 throws TypeMismatch, InvalidValue
448 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
452 * The remote call of DynAny methods is not possible.
454 * @throws MARSHAL, always.
456 public String get_wstring()
457 throws TypeMismatch, InvalidValue
459 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
463 * The remote call of DynAny methods is not possible.
465 * @throws MARSHAL, always.
467 public void insert_any(Any _0)
468 throws TypeMismatch, InvalidValue
470 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
474 * The remote call of DynAny methods is not possible.
476 * @throws MARSHAL, always.
478 public void insert_boolean(boolean _0)
479 throws TypeMismatch, InvalidValue
481 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
485 * The remote call of DynAny methods is not possible.
487 * @throws MARSHAL, always.
489 public void insert_char(char _0)
490 throws TypeMismatch, InvalidValue
492 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
496 * The remote call of DynAny methods is not possible.
498 * @throws MARSHAL, always.
500 public void insert_double(double _0)
501 throws TypeMismatch, InvalidValue
503 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
507 * The remote call of DynAny methods is not possible.
509 * @throws MARSHAL, always.
511 public void insert_dyn_any(DynAny _0)
512 throws TypeMismatch, InvalidValue
514 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
518 * The remote call of DynAny methods is not possible.
520 * @throws MARSHAL, always.
522 public void insert_float(float _0)
523 throws TypeMismatch, InvalidValue
525 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
529 * The remote call of DynAny methods is not possible.
531 * @throws MARSHAL, always.
533 public void insert_long(int _0)
534 throws TypeMismatch, InvalidValue
536 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
540 * The remote call of DynAny methods is not possible.
542 * @throws MARSHAL, always.
544 public void insert_longlong(long _0)
545 throws TypeMismatch, InvalidValue
547 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
551 * The remote call of DynAny methods is not possible.
553 * @throws MARSHAL, always.
555 public void insert_octet(byte _0)
556 throws TypeMismatch, InvalidValue
558 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
562 * The remote call of DynAny methods is not possible.
564 * @throws MARSHAL, always.
566 public void insert_reference(org.omg.CORBA.Object _0)
567 throws TypeMismatch, InvalidValue
569 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
573 * The remote call of DynAny methods is not possible.
575 * @throws MARSHAL, always.
577 public void insert_short(short _0)
578 throws TypeMismatch, InvalidValue
580 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
584 * The remote call of DynAny methods is not possible.
586 * @throws MARSHAL, always.
588 public void insert_string(String _0)
589 throws TypeMismatch, InvalidValue
591 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
595 * The remote call of DynAny methods is not possible.
597 * @throws MARSHAL, always.
599 public void insert_typecode(TypeCode _0)
600 throws TypeMismatch, InvalidValue
602 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
606 * The remote call of DynAny methods is not possible.
608 * @throws MARSHAL, always.
610 public void insert_ulong(int _0)
611 throws TypeMismatch, InvalidValue
613 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
617 * The remote call of DynAny methods is not possible.
619 * @throws MARSHAL, always.
621 public void insert_ulonglong(long _0)
622 throws TypeMismatch, InvalidValue
624 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
628 * The remote call of DynAny methods is not possible.
630 * @throws MARSHAL, always.
632 public void insert_ushort(short _0)
633 throws TypeMismatch, InvalidValue
635 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
639 * The remote call of DynAny methods is not possible.
641 * @throws MARSHAL, always.
643 public void insert_val(Serializable _0)
644 throws TypeMismatch, InvalidValue
646 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
650 * The remote call of DynAny methods is not possible.
652 * @throws MARSHAL, always.
654 public void insert_wchar(char _0)
655 throws TypeMismatch, InvalidValue
657 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
661 * The remote call of DynAny methods is not possible.
663 * @throws MARSHAL, always.
665 public void insert_wstring(String _0)
666 throws TypeMismatch, InvalidValue
668 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
672 * The remote call of DynAny methods is not possible.
674 * @throws MARSHAL, always.
676 public boolean seek(int _0)
678 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
682 * The remote call of DynAny methods is not possible.
684 * @throws MARSHAL, always.
686 public Any to_any()
688 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);