123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692 |
- /* _DynSequenceStub.java --
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
- This file is part of GNU Classpath.
- GNU Classpath is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
- GNU Classpath is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with GNU Classpath; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301 USA.
- Linking this library statically or dynamically with other modules is
- making a combined work based on this library. Thus, the terms and
- conditions of the GNU General Public License cover the whole
- combination.
- As a special exception, the copyright holders of this library give you
- permission to link this library with independent modules to produce an
- executable, regardless of the license terms of these independent
- modules, and to copy and distribute the resulting executable under
- terms of your choice, provided that you also meet, for each linked
- independent module, the terms and conditions of the license of that
- module. An independent module is a module which is not derived from
- or based on this library. If you modify this library, you may extend
- this exception to your version of the library, but you are not
- obligated to do so. If you do not wish to do so, delete this
- exception statement from your version. */
- package org.omg.DynamicAny;
- import java.io.Serializable;
- import org.omg.CORBA.Any;
- import org.omg.CORBA.MARSHAL;
- import org.omg.CORBA.TypeCode;
- import org.omg.CORBA.portable.Delegate;
- import org.omg.CORBA.portable.ObjectImpl;
- import org.omg.DynamicAny.DynAnyPackage.InvalidValue;
- import org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
- /**
- * Should provide support for remote invocation of methods on DynSequence. As
- * DynSequence can never be remote at least till 1.5 inclusive, this class is
- * not in use.
- *
- * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
- */
- public class _DynSequenceStub
- extends ObjectImpl
- implements DynSequence, Serializable
- {
- /**
- * Use serialVersionUID (v1.4) for interoperability.
- */
- private static final long serialVersionUID = 7191437435669107554L;
- /**
- * The purpose and value of this field are not documented.
- */
- @SuppressWarnings("rawtypes") // Needed for API compatibility
- public static final Class _opsClass = DynSequenceOperations.class;
- /**
- * Create the DynSequence stub. To get the stub working,
- * you must later set the delegate with
- * {@link ObjectImpl#_set_delegate(Delegate)}.
- */
- public _DynSequenceStub()
- {
- }
- /**
- * Return the array of repository ids for this object.
- */
- public String[] _ids()
- {
- return new String[] { DynSequenceHelper.id() };
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public Any[] get_elements()
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public DynAny[] get_elements_as_dyn_any()
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void set_elements(Any[] _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void set_elements_as_dyn_any(DynAny[] _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public int get_length()
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void set_length(int _0)
- throws InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public TypeCode type()
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public boolean next()
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void destroy()
- {
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public DynAny copy()
- {
- return this;
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void rewind()
- {
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void assign(DynAny _0)
- throws TypeMismatch
- {
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public int component_count()
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public DynAny current_component()
- throws TypeMismatch
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public boolean equal(DynAny _0)
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void from_any(Any _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public Any get_any()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public boolean get_boolean()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public char get_char()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public double get_double()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public DynAny get_dyn_any()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public float get_float()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public int get_long()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public long get_longlong()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public byte get_octet()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public org.omg.CORBA.Object get_reference()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public short get_short()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public String get_string()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public TypeCode get_typecode()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public int get_ulong()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public long get_ulonglong()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public short get_ushort()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public Serializable get_val()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public char get_wchar()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public String get_wstring()
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_any(Any _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_boolean(boolean _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_char(char _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_double(double _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_dyn_any(DynAny _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_float(float _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_long(int _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_longlong(long _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_octet(byte _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_reference(org.omg.CORBA.Object _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_short(short _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_string(String _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_typecode(TypeCode _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_ulong(int _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_ulonglong(long _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_ushort(short _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_val(Serializable _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_wchar(char _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public void insert_wstring(String _0)
- throws TypeMismatch, InvalidValue
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public boolean seek(int _0)
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- /**
- * The remote call of DynAny methods is not possible.
- *
- * @throws MARSHAL, always.
- */
- public Any to_any()
- {
- throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
- }
- }
|