Imported GNU Classpath 0.90
[official-gcc.git] / libjava / classpath / org / omg / DynamicAny / _DynValueStub.java
blob5c6b7a209b24d52905a4ba47566f62fcc23552d6
1 /* _DynValueStub.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 org.omg.CORBA.Any;
42 import org.omg.CORBA.MARSHAL;
43 import org.omg.CORBA.TCKind;
44 import org.omg.CORBA.TypeCode;
45 import org.omg.CORBA.portable.Delegate;
46 import org.omg.CORBA.portable.ObjectImpl;
47 import org.omg.DynamicAny.DynAnyPackage.InvalidValue;
48 import org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
50 import java.io.Serializable;
52 /**
53 * Should provide support for remote invocation of methods on DynValue. As
54 * DynValue can never be remote at least till 1.5 inclusive, this class is
55 * not in use.
57 * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
59 public class _DynValueStub
60 extends ObjectImpl
61 implements DynValue, Serializable
63 /**
64 * Use serialVersionUID (v1.4) for interoperability.
66 private static final long serialVersionUID = 5815313794012360824L;
68 /**
69 * The purpose and value of this field are not documented.
71 public static final Class _opsClass = DynValueOperations.class;
73 /**
74 * Create the DynValue stub. To get the stub working,
75 * you must later set the delegate with
76 * {@link org.omg.CORBA.portable.ObjectImpl#_set_delegate(Delegate)}.
78 public _DynValueStub()
82 /**
83 * Return the array of repository ids for this object.
85 public String[] _ids()
87 return new String[] { DynValueHelper.id() };
90 /**
91 * The remote call of DynAny methods is not possible.
93 * @throws MARSHAL, always.
95 public TCKind current_member_kind()
96 throws TypeMismatch, InvalidValue
98 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
102 * The remote call of DynAny methods is not possible.
104 * @throws MARSHAL, always.
106 public String current_member_name()
107 throws TypeMismatch, InvalidValue
109 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
113 * The remote call of DynAny methods is not possible.
115 * @throws MARSHAL, always.
117 public NameValuePair[] get_members()
118 throws InvalidValue
120 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
124 * The remote call of DynAny methods is not possible.
126 * @throws MARSHAL, always.
128 public NameDynAnyPair[] get_members_as_dyn_any()
129 throws InvalidValue
131 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
135 * The remote call of DynAny methods is not possible.
137 * @throws MARSHAL, always.
139 public void set_members(NameValuePair[] a_members)
140 throws TypeMismatch, InvalidValue
142 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
146 * The remote call of DynAny methods is not possible.
148 * @throws MARSHAL, always.
150 public void set_members_as_dyn_any(NameDynAnyPair[] a_members)
151 throws TypeMismatch, InvalidValue
153 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
157 * The remote call of DynAny methods is not possible.
159 * @throws MARSHAL, always.
161 public boolean is_null()
163 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
167 * The remote call of DynAny methods is not possible.
169 * @throws MARSHAL, always.
171 public void set_to_null()
173 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
177 * The remote call of DynAny methods is not possible.
179 * @throws MARSHAL, always.
181 public void set_to_value()
183 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
187 * The remote call of DynAny methods is not possible.
189 * @throws MARSHAL, always.
191 public TypeCode type()
193 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
197 * The remote call of DynAny methods is not possible.
199 * @throws MARSHAL, always.
201 public boolean next()
203 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
207 * The remote call of DynAny methods is not possible.
209 * @throws MARSHAL, always.
211 public void destroy()
216 * The remote call of DynAny methods is not possible.
218 * @throws MARSHAL, always.
220 public DynAny copy()
222 return this;
226 * The remote call of DynAny methods is not possible.
228 * @throws MARSHAL, always.
230 public void rewind()
235 * The remote call of DynAny methods is not possible.
237 * @throws MARSHAL, always.
239 public void assign(DynAny _0)
240 throws TypeMismatch
245 * The remote call of DynAny methods is not possible.
247 * @throws MARSHAL, always.
249 public int component_count()
251 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
255 * The remote call of DynAny methods is not possible.
257 * @throws MARSHAL, always.
259 public DynAny current_component()
260 throws TypeMismatch
262 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
266 * The remote call of DynAny methods is not possible.
268 * @throws MARSHAL, always.
270 public boolean equal(DynAny _0)
272 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
276 * The remote call of DynAny methods is not possible.
278 * @throws MARSHAL, always.
280 public void from_any(Any _0)
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 Any get_any()
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 boolean get_boolean()
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 char get_char()
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 double get_double()
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 DynAny get_dyn_any()
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 float get_float()
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 int get_long()
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 long get_longlong()
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 byte get_octet()
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 org.omg.CORBA.Object get_reference()
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 short get_short()
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 String get_string()
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 TypeCode get_typecode()
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 int get_ulong()
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 long get_ulonglong()
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 short get_ushort()
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 Serializable get_val()
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 char get_wchar()
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 String get_wstring()
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_any(Any _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_boolean(boolean _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_char(char _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_double(double _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_dyn_any(DynAny _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_float(float _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_long(int _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_longlong(long _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_octet(byte _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_reference(org.omg.CORBA.Object _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_short(short _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_string(String _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_typecode(TypeCode _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_ulong(int _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_ulonglong(long _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_ushort(short _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 void insert_val(Serializable _0)
677 throws TypeMismatch, InvalidValue
679 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
683 * The remote call of DynAny methods is not possible.
685 * @throws MARSHAL, always.
687 public void insert_wchar(char _0)
688 throws TypeMismatch, InvalidValue
690 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
694 * The remote call of DynAny methods is not possible.
696 * @throws MARSHAL, always.
698 public void insert_wstring(String _0)
699 throws TypeMismatch, InvalidValue
701 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
705 * The remote call of DynAny methods is not possible.
707 * @throws MARSHAL, always.
709 public boolean seek(int _0)
711 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
715 * The remote call of DynAny methods is not possible.
717 * @throws MARSHAL, always.
719 public Any to_any()
721 throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);