corba/src/java.corba/share/classes/org/omg/CORBA/Any.java
author avstepan
Wed, 08 Apr 2015 16:01:26 +0400
changeset 29827 aac4782e69ac
parent 25862 a5e25d68f971
child 45144 a81f7f7ccb59
permissions -rw-r--r--
8039440: Tidy warnings cleanup for org/omg Summary: some HTML markup fixes for CORBA Reviewed-by: yan, rriggs, lancea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     1
/*
29827
aac4782e69ac 8039440: Tidy warnings cleanup for org/omg
avstepan
parents: 25862
diff changeset
     2
 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02bb8761fcce Initial load
duke
parents:
diff changeset
     4
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
02bb8761fcce Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    10
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
02bb8761fcce Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02bb8761fcce Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02bb8761fcce Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
02bb8761fcce Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
02bb8761fcce Initial load
duke
parents:
diff changeset
    16
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
02bb8761fcce Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
02bb8761fcce Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02bb8761fcce Initial load
duke
parents:
diff changeset
    20
 *
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    23
 * questions.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    24
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    25
02bb8761fcce Initial load
duke
parents:
diff changeset
    26
package org.omg.CORBA;
02bb8761fcce Initial load
duke
parents:
diff changeset
    27
02bb8761fcce Initial load
duke
parents:
diff changeset
    28
import org.omg.CORBA.portable.InputStream;
02bb8761fcce Initial load
duke
parents:
diff changeset
    29
import org.omg.CORBA.portable.OutputStream;
02bb8761fcce Initial load
duke
parents:
diff changeset
    30
import org.omg.CORBA.portable.Streamable;
02bb8761fcce Initial load
duke
parents:
diff changeset
    31
import org.omg.CORBA.portable.IDLEntity;
02bb8761fcce Initial load
duke
parents:
diff changeset
    32
02bb8761fcce Initial load
duke
parents:
diff changeset
    33
/**
02bb8761fcce Initial load
duke
parents:
diff changeset
    34
 * Serves as a container for any data that can be
02bb8761fcce Initial load
duke
parents:
diff changeset
    35
 * described in IDL or for any IDL primitive type.
02bb8761fcce Initial load
duke
parents:
diff changeset
    36
 * An <code>Any</code> object is used as a component of a
02bb8761fcce Initial load
duke
parents:
diff changeset
    37
 * <code>NamedValue</code> object, which provides information about
02bb8761fcce Initial load
duke
parents:
diff changeset
    38
 * arguments or return values in requests, and which is used to define
02bb8761fcce Initial load
duke
parents:
diff changeset
    39
 * name/value pairs in <code>Context</code> objects.
02bb8761fcce Initial load
duke
parents:
diff changeset
    40
 <p>
02bb8761fcce Initial load
duke
parents:
diff changeset
    41
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    42
 * An <code>Any</code> object consists of two parts:
02bb8761fcce Initial load
duke
parents:
diff changeset
    43
 * <OL>
02bb8761fcce Initial load
duke
parents:
diff changeset
    44
 * <LI>a data value
02bb8761fcce Initial load
duke
parents:
diff changeset
    45
 * <LI>a <code>TypeCode</code> object describing the type of the data
02bb8761fcce Initial load
duke
parents:
diff changeset
    46
 * value contained in the <code>Any</code> object.  For example,
02bb8761fcce Initial load
duke
parents:
diff changeset
    47
 * a <code>TypeCode</code> object for an array contains
02bb8761fcce Initial load
duke
parents:
diff changeset
    48
 * a field for the length of the array and a field for
02bb8761fcce Initial load
duke
parents:
diff changeset
    49
 * the type of elements in the array. (Note that in     this case, the
02bb8761fcce Initial load
duke
parents:
diff changeset
    50
 * second field of the <code>TypeCode</code> object is itself a
02bb8761fcce Initial load
duke
parents:
diff changeset
    51
 * <code>TypeCode</code> object.)
02bb8761fcce Initial load
duke
parents:
diff changeset
    52
 * </OL>
02bb8761fcce Initial load
duke
parents:
diff changeset
    53
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    54
 * <P>
29827
aac4782e69ac 8039440: Tidy warnings cleanup for org/omg
avstepan
parents: 25862
diff changeset
    55
 * <a name="anyOps"></a>
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    56
 * A large part of the <code>Any</code> class consists of pairs of methods
02bb8761fcce Initial load
duke
parents:
diff changeset
    57
 * for inserting values into and extracting values from an
02bb8761fcce Initial load
duke
parents:
diff changeset
    58
 * <code>Any</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
    59
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    60
 * For a given primitive type X, these methods are:
02bb8761fcce Initial load
duke
parents:
diff changeset
    61
 *  <dl>
29827
aac4782e69ac 8039440: Tidy warnings cleanup for org/omg
avstepan
parents: 25862
diff changeset
    62
 *      <dt><code><b>void insert_X(X x)</b></code>
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    63
 *      <dd> This method allows the insertion of
02bb8761fcce Initial load
duke
parents:
diff changeset
    64
 *        an instance <code>x</code> of primitive type <code>X</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    65
 *    into the <code>value</code> field of the <code>Any</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
    66
 *    Note that the method
02bb8761fcce Initial load
duke
parents:
diff changeset
    67
 *    <code>insert_X</code> also resets the <code>Any</code> object's
02bb8761fcce Initial load
duke
parents:
diff changeset
    68
 *    <code>type</code> field if necessary.
29827
aac4782e69ac 8039440: Tidy warnings cleanup for org/omg
avstepan
parents: 25862
diff changeset
    69
 *      <dt> <code><b>X extract_X()</b></code>
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    70
 *      <dd> This method allows the extraction of an instance of
02bb8761fcce Initial load
duke
parents:
diff changeset
    71
 *        type <code>X</code> from the <code>Any</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
    72
 *    <BR>
02bb8761fcce Initial load
duke
parents:
diff changeset
    73
 *    <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    74
 *    This method throws the exception <code>BAD_OPERATION</code> under two conditions:
02bb8761fcce Initial load
duke
parents:
diff changeset
    75
 *    <OL>
02bb8761fcce Initial load
duke
parents:
diff changeset
    76
 *     <LI> the type of the element contained in the <code>Any</code> object is not
02bb8761fcce Initial load
duke
parents:
diff changeset
    77
 *         <code>X</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    78
 *     <LI> the method <code>extract_X</code> is called before
02bb8761fcce Initial load
duke
parents:
diff changeset
    79
 *     the <code>value</code> field of the <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
    80
 *     has been set
02bb8761fcce Initial load
duke
parents:
diff changeset
    81
 *    </OL>
02bb8761fcce Initial load
duke
parents:
diff changeset
    82
 * </dl>
02bb8761fcce Initial load
duke
parents:
diff changeset
    83
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    84
 * There are distinct method pairs for each
02bb8761fcce Initial load
duke
parents:
diff changeset
    85
 * primitive IDL data type (<code>insert_long</code> and <code>extract_long</code>,
02bb8761fcce Initial load
duke
parents:
diff changeset
    86
 * <code>insert_string</code> and <code>extract_string</code>, and so on).<BR>
02bb8761fcce Initial load
duke
parents:
diff changeset
    87
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    88
 * The class <code>Any</code> also has methods for
02bb8761fcce Initial load
duke
parents:
diff changeset
    89
 * getting and setting the type code,
02bb8761fcce Initial load
duke
parents:
diff changeset
    90
 * for testing two <code>Any</code> objects for equality,
02bb8761fcce Initial load
duke
parents:
diff changeset
    91
 * and for reading an <code>Any</code> object from a stream or
02bb8761fcce Initial load
duke
parents:
diff changeset
    92
 * writing it to a stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    93
 * <BR>
02bb8761fcce Initial load
duke
parents:
diff changeset
    94
 * @since   JDK1.2
02bb8761fcce Initial load
duke
parents:
diff changeset
    95
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    96
abstract public class Any implements IDLEntity {
02bb8761fcce Initial load
duke
parents:
diff changeset
    97
02bb8761fcce Initial load
duke
parents:
diff changeset
    98
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    99
     * Checks for equality between this <code>Any</code> object and the
02bb8761fcce Initial load
duke
parents:
diff changeset
   100
     * given <code>Any</code> object.  Two <code>Any</code> objects are
02bb8761fcce Initial load
duke
parents:
diff changeset
   101
     * equal if both their values and type codes are equal.
02bb8761fcce Initial load
duke
parents:
diff changeset
   102
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   103
     * @param a the <code>Any</code> object to test for equality
02bb8761fcce Initial load
duke
parents:
diff changeset
   104
     * @return  <code>true</code> if the <code>Any</code> objects are equal;
02bb8761fcce Initial load
duke
parents:
diff changeset
   105
     * <code>false</code> otherwise
02bb8761fcce Initial load
duke
parents:
diff changeset
   106
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   107
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   108
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   109
    abstract public boolean equal(Any a);
02bb8761fcce Initial load
duke
parents:
diff changeset
   110
02bb8761fcce Initial load
duke
parents:
diff changeset
   111
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   112
     * Returns type information for the element contained in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   113
     * <code>Any</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
   114
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   115
     * @return          the <code>TypeCode</code> object containing type information
02bb8761fcce Initial load
duke
parents:
diff changeset
   116
     *                about the value contained in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   117
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   118
    abstract public TypeCode type();
02bb8761fcce Initial load
duke
parents:
diff changeset
   119
02bb8761fcce Initial load
duke
parents:
diff changeset
   120
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   121
     * Sets this <code>Any</code> object's <code>type</code> field
02bb8761fcce Initial load
duke
parents:
diff changeset
   122
     * to the given <code>TypeCode</code> object and clears its value.
02bb8761fcce Initial load
duke
parents:
diff changeset
   123
     * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   124
     * Note that using this method to set the type code wipes out the
02bb8761fcce Initial load
duke
parents:
diff changeset
   125
     * value if there is one. The method
02bb8761fcce Initial load
duke
parents:
diff changeset
   126
     * is provided primarily so that the type may be set properly for
02bb8761fcce Initial load
duke
parents:
diff changeset
   127
     * IDL <code>out</code> parameters.  Generally, setting the type
02bb8761fcce Initial load
duke
parents:
diff changeset
   128
     * is done by the <code>insert_X</code> methods, which will set the type
02bb8761fcce Initial load
duke
parents:
diff changeset
   129
     * to X if it is not already set to X.
02bb8761fcce Initial load
duke
parents:
diff changeset
   130
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   131
     * @param t       the <code>TypeCode</code> object giving
02bb8761fcce Initial load
duke
parents:
diff changeset
   132
     *                information for the value in
02bb8761fcce Initial load
duke
parents:
diff changeset
   133
     *                this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   134
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   135
    abstract public void type(TypeCode t);
02bb8761fcce Initial load
duke
parents:
diff changeset
   136
02bb8761fcce Initial load
duke
parents:
diff changeset
   137
    ///////////////////////////////////////////////////////////////////////////
02bb8761fcce Initial load
duke
parents:
diff changeset
   138
    // marshalling/unmarshalling routines
02bb8761fcce Initial load
duke
parents:
diff changeset
   139
02bb8761fcce Initial load
duke
parents:
diff changeset
   140
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   141
     * Reads off (unmarshals) the value of an <code>Any</code> object from
02bb8761fcce Initial load
duke
parents:
diff changeset
   142
     * the given input stream using the given typecode.
02bb8761fcce Initial load
duke
parents:
diff changeset
   143
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   144
     * @param is the <code>org.omg.CORBA.portable.InputStream</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   145
     *                object from which to read
02bb8761fcce Initial load
duke
parents:
diff changeset
   146
     *                the value contained in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   147
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   148
     * @param t  a <code>TypeCode</code> object containing type information
02bb8761fcce Initial load
duke
parents:
diff changeset
   149
     *           about the value to be read
02bb8761fcce Initial load
duke
parents:
diff changeset
   150
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   151
     * @exception MARSHAL when the given <code>TypeCode</code> object is
02bb8761fcce Initial load
duke
parents:
diff changeset
   152
     *                    not consistent with the value that was contained
02bb8761fcce Initial load
duke
parents:
diff changeset
   153
     *                    in the input stream
02bb8761fcce Initial load
duke
parents:
diff changeset
   154
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   155
    abstract public void   read_value(InputStream is, TypeCode t)
02bb8761fcce Initial load
duke
parents:
diff changeset
   156
        throws MARSHAL;
02bb8761fcce Initial load
duke
parents:
diff changeset
   157
02bb8761fcce Initial load
duke
parents:
diff changeset
   158
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   159
     * Writes out the value of this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   160
     * to the given output stream.  If both <code>typecode</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   161
     * and <code>value</code> need to be written, use
02bb8761fcce Initial load
duke
parents:
diff changeset
   162
     * <code>create_output_stream()</code> to create an <code>OutputStream</code>,
02bb8761fcce Initial load
duke
parents:
diff changeset
   163
     * then use <code>write_any</code> on the <code>OutputStream</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
   164
     * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   165
     * If this method is called on an <code>Any</code> object that has not
02bb8761fcce Initial load
duke
parents:
diff changeset
   166
     * had a value inserted into its <code>value</code> field, it will throw
02bb8761fcce Initial load
duke
parents:
diff changeset
   167
     * the exception <code>java.lang.NullPointerException</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
   168
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   169
     * @param os        the <code>org.omg.CORBA.portable.OutputStream</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   170
     *                object into which to marshal the value
02bb8761fcce Initial load
duke
parents:
diff changeset
   171
     *                of this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   172
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   173
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   174
    abstract public void   write_value(OutputStream os);
02bb8761fcce Initial load
duke
parents:
diff changeset
   175
02bb8761fcce Initial load
duke
parents:
diff changeset
   176
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   177
     * Creates an output stream into which this <code>Any</code> object's
02bb8761fcce Initial load
duke
parents:
diff changeset
   178
     * value can be marshalled.
02bb8761fcce Initial load
duke
parents:
diff changeset
   179
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   180
     * @return          the newly-created <code>OutputStream</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   181
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   182
    abstract public OutputStream  create_output_stream();
02bb8761fcce Initial load
duke
parents:
diff changeset
   183
02bb8761fcce Initial load
duke
parents:
diff changeset
   184
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   185
     * Creates an input stream from which this <code>Any</code> object's value
02bb8761fcce Initial load
duke
parents:
diff changeset
   186
     * can be unmarshalled.
02bb8761fcce Initial load
duke
parents:
diff changeset
   187
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   188
     * @return          the newly-created <code>InputStream</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   189
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   190
    abstract public InputStream  create_input_stream();
02bb8761fcce Initial load
duke
parents:
diff changeset
   191
02bb8761fcce Initial load
duke
parents:
diff changeset
   192
    ///////////////////////////////////////////////////////////////////////////
02bb8761fcce Initial load
duke
parents:
diff changeset
   193
    // basic insertion/extraction methods
02bb8761fcce Initial load
duke
parents:
diff changeset
   194
02bb8761fcce Initial load
duke
parents:
diff changeset
   195
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   196
     * Extracts the <code>short</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   197
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   198
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   199
     * @return the <code>short</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   200
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   201
     *              contains something other than a <code>short</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   202
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   203
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   204
    abstract public short    extract_short() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   205
02bb8761fcce Initial load
duke
parents:
diff changeset
   206
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   207
     * Inserts the given <code>short</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   208
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   209
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   210
     * @param s         the <code>short</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   211
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   212
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   213
    abstract public void     insert_short(short s);
02bb8761fcce Initial load
duke
parents:
diff changeset
   214
02bb8761fcce Initial load
duke
parents:
diff changeset
   215
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   216
     * Extracts the <code>int</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   217
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   218
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   219
     * @return the <code>int</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   220
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   221
     *              contains something other than an <code>int</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   222
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   223
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   224
    abstract public int      extract_long() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   225
02bb8761fcce Initial load
duke
parents:
diff changeset
   226
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   227
     * Inserts the given <code>int</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   228
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   229
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   230
     * @param l         the <code>int</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   231
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   232
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   233
    abstract public void     insert_long(int l);
02bb8761fcce Initial load
duke
parents:
diff changeset
   234
02bb8761fcce Initial load
duke
parents:
diff changeset
   235
02bb8761fcce Initial load
duke
parents:
diff changeset
   236
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   237
     * Extracts the <code>long</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   238
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   239
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   240
     * @return the <code>long</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   241
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   242
     *              contains something other than a <code>long</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   243
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   244
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   245
    abstract public long     extract_longlong() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   246
02bb8761fcce Initial load
duke
parents:
diff changeset
   247
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   248
     * Inserts the given <code>long</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   249
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   250
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   251
     * @param l         the <code>long</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   252
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   253
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   254
    abstract public void     insert_longlong(long l);
02bb8761fcce Initial load
duke
parents:
diff changeset
   255
02bb8761fcce Initial load
duke
parents:
diff changeset
   256
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   257
     * Extracts the <code>short</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   258
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   259
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   260
     * @return the <code>short</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   261
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   262
     *              contains something other than a <code>short</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   263
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   264
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   265
    abstract public short    extract_ushort() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   266
02bb8761fcce Initial load
duke
parents:
diff changeset
   267
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   268
     * Inserts the given <code>short</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   269
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   270
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   271
     * @param s         the <code>short</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   272
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   273
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   274
    abstract public void     insert_ushort(short s);
02bb8761fcce Initial load
duke
parents:
diff changeset
   275
02bb8761fcce Initial load
duke
parents:
diff changeset
   276
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   277
     * Extracts the <code>int</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   278
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   279
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   280
     * @return the <code>int</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   281
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   282
     *              contains something other than an <code>int</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   283
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   284
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   285
    abstract public int      extract_ulong() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   286
02bb8761fcce Initial load
duke
parents:
diff changeset
   287
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   288
     * Inserts the given <code>int</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   289
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   290
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   291
     * @param l         the <code>int</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   292
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   293
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   294
    abstract public void     insert_ulong(int l);
02bb8761fcce Initial load
duke
parents:
diff changeset
   295
02bb8761fcce Initial load
duke
parents:
diff changeset
   296
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   297
     * Extracts the <code>long</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   298
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   299
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   300
     * @return the <code>long</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   301
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   302
     *              contains something other than a <code>long</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   303
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   304
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   305
    abstract public long     extract_ulonglong() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   306
02bb8761fcce Initial load
duke
parents:
diff changeset
   307
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   308
     * Inserts the given <code>long</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   309
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   310
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   311
     * @param l         the <code>long</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   312
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   313
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   314
    abstract public void     insert_ulonglong(long l);
02bb8761fcce Initial load
duke
parents:
diff changeset
   315
02bb8761fcce Initial load
duke
parents:
diff changeset
   316
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   317
     * Extracts the <code>float</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   318
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   319
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   320
     * @return the <code>float</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   321
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   322
     *              contains something other than a <code>float</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   323
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   324
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   325
    abstract public float    extract_float() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   326
02bb8761fcce Initial load
duke
parents:
diff changeset
   327
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   328
     * Inserts the given <code>float</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   329
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   330
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   331
     * @param f         the <code>float</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   332
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   333
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   334
    abstract public void     insert_float(float f);
02bb8761fcce Initial load
duke
parents:
diff changeset
   335
02bb8761fcce Initial load
duke
parents:
diff changeset
   336
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   337
     * Extracts the <code>double</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   338
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   339
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   340
     * @return the <code>double</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   341
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   342
     *              contains something other than a <code>double</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   343
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   344
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   345
    abstract public double   extract_double() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   346
02bb8761fcce Initial load
duke
parents:
diff changeset
   347
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   348
     * Inserts the given <code>double</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   349
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   350
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   351
     * @param d         the <code>double</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   352
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   353
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   354
    abstract public void     insert_double(double d);
02bb8761fcce Initial load
duke
parents:
diff changeset
   355
02bb8761fcce Initial load
duke
parents:
diff changeset
   356
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   357
     * Extracts the <code>boolean</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   358
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   359
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   360
     * @return the <code>boolean</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   361
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   362
     *              contains something other than a <code>boolean</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   363
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   364
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   365
    abstract public boolean  extract_boolean() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   366
02bb8761fcce Initial load
duke
parents:
diff changeset
   367
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   368
     * Inserts the given <code>boolean</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   369
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   370
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   371
     * @param b         the <code>boolean</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   372
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   373
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   374
    abstract public void     insert_boolean(boolean b);
02bb8761fcce Initial load
duke
parents:
diff changeset
   375
02bb8761fcce Initial load
duke
parents:
diff changeset
   376
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   377
     * Extracts the <code>char</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   378
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   379
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   380
     * @return the <code>char</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   381
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   382
     *              contains something other than a <code>char</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   383
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   384
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   385
    abstract public char     extract_char() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   386
02bb8761fcce Initial load
duke
parents:
diff changeset
   387
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   388
     * Inserts the given <code>char</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   389
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   390
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   391
     * @param c         the <code>char</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   392
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   393
     * @exception DATA_CONVERSION if there is a data conversion
02bb8761fcce Initial load
duke
parents:
diff changeset
   394
         *            error
02bb8761fcce Initial load
duke
parents:
diff changeset
   395
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   396
    abstract public void     insert_char(char c) throws DATA_CONVERSION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   397
02bb8761fcce Initial load
duke
parents:
diff changeset
   398
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   399
     * Extracts the <code>char</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   400
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   401
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   402
     * @return the <code>char</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   403
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   404
     *              contains something other than a <code>char</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   405
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   406
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   407
    abstract public char     extract_wchar() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   408
02bb8761fcce Initial load
duke
parents:
diff changeset
   409
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   410
     * Inserts the given <code>char</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   411
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   412
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   413
     * @param c         the <code>char</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   414
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   415
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   416
    abstract public void     insert_wchar(char c);
02bb8761fcce Initial load
duke
parents:
diff changeset
   417
02bb8761fcce Initial load
duke
parents:
diff changeset
   418
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   419
     * Extracts the <code>byte</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   420
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   421
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   422
     * @return the <code>byte</code> stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   423
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   424
     *              contains something other than a <code>byte</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   425
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   426
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   427
    abstract public byte     extract_octet() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   428
02bb8761fcce Initial load
duke
parents:
diff changeset
   429
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   430
     * Inserts the given <code>byte</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   431
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   432
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   433
     * @param b         the <code>byte</code> to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   434
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   435
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   436
    abstract public void     insert_octet(byte b);
02bb8761fcce Initial load
duke
parents:
diff changeset
   437
02bb8761fcce Initial load
duke
parents:
diff changeset
   438
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   439
     * Extracts the <code>Any</code> object in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   440
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   441
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   442
     * @return the <code>Any</code> object stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   443
     * @exception BAD_OPERATION if this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   444
     *              contains something other than an <code>Any</code> object or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   445
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   446
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   447
    abstract public Any      extract_any() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   448
02bb8761fcce Initial load
duke
parents:
diff changeset
   449
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   450
     * Inserts the given <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   451
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   452
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   453
     * @param a         the <code>Any</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   454
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   455
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   456
    abstract public void     insert_any(Any a);
02bb8761fcce Initial load
duke
parents:
diff changeset
   457
02bb8761fcce Initial load
duke
parents:
diff changeset
   458
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   459
     * Extracts the <code>org.omg.CORBA.Object</code> in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   460
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   461
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   462
     * @return the <code>org.omg.CORBA.Object</code> stored in
02bb8761fcce Initial load
duke
parents:
diff changeset
   463
     *         this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   464
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   465
     *              contains something other than an
02bb8761fcce Initial load
duke
parents:
diff changeset
   466
     *              <code>org.omg.CORBA.Object</code> or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   467
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   468
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   469
    abstract public org.omg.CORBA.Object extract_Object() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   470
02bb8761fcce Initial load
duke
parents:
diff changeset
   471
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   472
     * Inserts the given <code>org.omg.CORBA.Object</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   473
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   474
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   475
     * @param o         the <code>org.omg.CORBA.Object</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   476
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   477
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   478
    abstract public void insert_Object(org.omg.CORBA.Object o);
02bb8761fcce Initial load
duke
parents:
diff changeset
   479
02bb8761fcce Initial load
duke
parents:
diff changeset
   480
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   481
     * Extracts the <code>java.io.Serializable</code> object in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   482
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   483
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   484
     * @return the <code>java.io.Serializable</code> object stored in
02bb8761fcce Initial load
duke
parents:
diff changeset
   485
     *         this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   486
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   487
     *              contains something other than a <code>java.io.Serializable</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   488
     *              object or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   489
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   490
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   491
    abstract public java.io.Serializable extract_Value() throws BAD_OPERATION ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   492
02bb8761fcce Initial load
duke
parents:
diff changeset
   493
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   494
     * Inserts the given <code>java.io.Serializable</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   495
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   496
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   497
     * @param v         the <code>java.io.Serializable</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   498
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   499
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   500
    abstract public void insert_Value(java.io.Serializable v) ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   501
02bb8761fcce Initial load
duke
parents:
diff changeset
   502
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   503
     * Inserts the given <code>java.io.Serializable</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   504
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   505
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   506
     * @param v         the <code>java.io.Serializable</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   507
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   508
     * @param t     the <code>TypeCode</code> object that is to be inserted into
02bb8761fcce Initial load
duke
parents:
diff changeset
   509
     *              this <code>Any</code> object's <code>type</code> field
02bb8761fcce Initial load
duke
parents:
diff changeset
   510
     *              and that describes the <code>java.io.Serializable</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   511
     *              object being inserted
02bb8761fcce Initial load
duke
parents:
diff changeset
   512
         * @throws MARSHAL if the ORB has a problem marshalling or
02bb8761fcce Initial load
duke
parents:
diff changeset
   513
         *          unmarshalling parameters
02bb8761fcce Initial load
duke
parents:
diff changeset
   514
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   515
    abstract public void insert_Value(java.io.Serializable v, TypeCode t)
02bb8761fcce Initial load
duke
parents:
diff changeset
   516
        throws MARSHAL ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   517
/**
02bb8761fcce Initial load
duke
parents:
diff changeset
   518
     * Inserts the given <code>org.omg.CORBA.Object</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   519
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   520
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   521
     * @param o         the <code>org.omg.CORBA.Object</code> instance to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   522
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   523
     * @param t     the <code>TypeCode</code> object that is to be inserted into
02bb8761fcce Initial load
duke
parents:
diff changeset
   524
     *              this <code>Any</code> object and that describes
02bb8761fcce Initial load
duke
parents:
diff changeset
   525
     *              the <code>Object</code> being inserted
02bb8761fcce Initial load
duke
parents:
diff changeset
   526
     * @exception BAD_OPERATION if this  method is invalid for this
02bb8761fcce Initial load
duke
parents:
diff changeset
   527
         *            <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   528
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   529
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   530
    abstract public void insert_Object(org.omg.CORBA.Object o, TypeCode t)
02bb8761fcce Initial load
duke
parents:
diff changeset
   531
        throws BAD_PARAM;
02bb8761fcce Initial load
duke
parents:
diff changeset
   532
02bb8761fcce Initial load
duke
parents:
diff changeset
   533
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   534
     * Extracts the <code>String</code> object in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   535
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   536
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   537
     * @return the <code>String</code> object stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   538
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   539
     *              contains something other than a <code>String</code> object or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   540
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   541
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   542
    abstract public String   extract_string() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   543
02bb8761fcce Initial load
duke
parents:
diff changeset
   544
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   545
     * Inserts the given <code>String</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   546
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   547
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   548
     * @param s         the <code>String</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   549
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   550
     * @exception DATA_CONVERSION if there is a data conversion error
02bb8761fcce Initial load
duke
parents:
diff changeset
   551
     * @exception MARSHAL if the ORB has a problem marshalling or
02bb8761fcce Initial load
duke
parents:
diff changeset
   552
         *             unmarshalling parameters
02bb8761fcce Initial load
duke
parents:
diff changeset
   553
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   554
    abstract public void     insert_string(String s) throws DATA_CONVERSION, MARSHAL;
02bb8761fcce Initial load
duke
parents:
diff changeset
   555
02bb8761fcce Initial load
duke
parents:
diff changeset
   556
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   557
     * Extracts the <code>String</code> object in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   558
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   559
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   560
     * @return the <code>String</code> object stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   561
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   562
     *              contains something other than a <code>String</code> object or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   563
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   564
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   565
    abstract public String   extract_wstring() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   566
02bb8761fcce Initial load
duke
parents:
diff changeset
   567
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   568
     * Inserts the given <code>String</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   569
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   570
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   571
     * @param s         the <code>String</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   572
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   573
     * @exception MARSHAL if the ORB has a problem marshalling or
02bb8761fcce Initial load
duke
parents:
diff changeset
   574
         *             unmarshalling parameters
02bb8761fcce Initial load
duke
parents:
diff changeset
   575
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   576
    abstract public void     insert_wstring(String s) throws MARSHAL;
02bb8761fcce Initial load
duke
parents:
diff changeset
   577
02bb8761fcce Initial load
duke
parents:
diff changeset
   578
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   579
     * Extracts the <code>TypeCode</code> object in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   580
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   581
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   582
     * @return the <code>TypeCode</code> object stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   583
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   584
     *              contains something other than a <code>TypeCode</code> object or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   585
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   586
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   587
    abstract public TypeCode extract_TypeCode() throws BAD_OPERATION;
02bb8761fcce Initial load
duke
parents:
diff changeset
   588
02bb8761fcce Initial load
duke
parents:
diff changeset
   589
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   590
     * Inserts the given <code>TypeCode</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   591
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   592
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   593
     * @param t         the <code>TypeCode</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   594
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   595
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   596
    abstract public void           insert_TypeCode(TypeCode t);
02bb8761fcce Initial load
duke
parents:
diff changeset
   597
02bb8761fcce Initial load
duke
parents:
diff changeset
   598
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   599
     * Extracts the <code>Principal</code> object in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   600
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   601
     * Note that the class <code>Principal</code> has been deprecated.
02bb8761fcce Initial load
duke
parents:
diff changeset
   602
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   603
     * @return the <code>Principal</code> object stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   604
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   605
     *              contains something other than a
02bb8761fcce Initial load
duke
parents:
diff changeset
   606
     *              <code>Principal</code> object or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   607
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   608
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   609
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   610
     * @deprecated Deprecated by CORBA 2.2.
02bb8761fcce Initial load
duke
parents:
diff changeset
   611
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   612
    @Deprecated
02bb8761fcce Initial load
duke
parents:
diff changeset
   613
    public Principal extract_Principal() throws BAD_OPERATION {
02bb8761fcce Initial load
duke
parents:
diff changeset
   614
        throw new org.omg.CORBA.NO_IMPLEMENT() ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   615
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   616
02bb8761fcce Initial load
duke
parents:
diff changeset
   617
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   618
     * Inserts the given <code>Principal</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   619
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   620
     * Note that the class <code>Principal</code> has been deprecated.
02bb8761fcce Initial load
duke
parents:
diff changeset
   621
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   622
     * @param p         the <code>Principal</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   623
     *                <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   624
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   625
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   626
     * @deprecated Deprecated by CORBA 2.2.
02bb8761fcce Initial load
duke
parents:
diff changeset
   627
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   628
    @Deprecated
02bb8761fcce Initial load
duke
parents:
diff changeset
   629
    public void    insert_Principal(Principal p) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   630
        throw new org.omg.CORBA.NO_IMPLEMENT() ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   631
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   632
02bb8761fcce Initial load
duke
parents:
diff changeset
   633
    ///////////////////////////////////////////////////////////////////////////
02bb8761fcce Initial load
duke
parents:
diff changeset
   634
    // insertion/extraction of streamables
02bb8761fcce Initial load
duke
parents:
diff changeset
   635
02bb8761fcce Initial load
duke
parents:
diff changeset
   636
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   637
     * Extracts a <code>Streamable</code> from this <code>Any</code> object's
02bb8761fcce Initial load
duke
parents:
diff changeset
   638
     * <code>value</code> field.  This method allows the extraction of
02bb8761fcce Initial load
duke
parents:
diff changeset
   639
     * non-primitive IDL types.
02bb8761fcce Initial load
duke
parents:
diff changeset
   640
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   641
     * @return the <code>Streamable</code> stored in the <code>Any</code> object.
02bb8761fcce Initial load
duke
parents:
diff changeset
   642
     * @throws BAD_INV_ORDER if the caller has invoked operations in the wrong order
02bb8761fcce Initial load
duke
parents:
diff changeset
   643
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   644
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   645
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   646
    public org.omg.CORBA.portable.Streamable extract_Streamable()
02bb8761fcce Initial load
duke
parents:
diff changeset
   647
        throws org.omg.CORBA.BAD_INV_ORDER {
02bb8761fcce Initial load
duke
parents:
diff changeset
   648
        throw new org.omg.CORBA.NO_IMPLEMENT() ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   649
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   650
02bb8761fcce Initial load
duke
parents:
diff changeset
   651
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   652
     * Inserts the given <code>Streamable</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   653
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   654
     * This method allows the insertion of non-primitive IDL types.
02bb8761fcce Initial load
duke
parents:
diff changeset
   655
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   656
     * @param s         the <code>Streamable</code> object to insert into this
02bb8761fcce Initial load
duke
parents:
diff changeset
   657
     *                <code>Any</code> object; may be a non-primitive
02bb8761fcce Initial load
duke
parents:
diff changeset
   658
     *                IDL type
02bb8761fcce Initial load
duke
parents:
diff changeset
   659
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   660
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   661
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   662
    public void insert_Streamable(Streamable s) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   663
        throw new org.omg.CORBA.NO_IMPLEMENT() ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   664
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   665
02bb8761fcce Initial load
duke
parents:
diff changeset
   666
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   667
     * Extracts the <code>java.math.BigDecimal</code> object in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   668
     * <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   669
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   670
     * @return the <code>java.math.BigDecimal</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   671
     *         stored in this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   672
     * @exception BAD_OPERATION if this  <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   673
     *              contains something other than a
02bb8761fcce Initial load
duke
parents:
diff changeset
   674
     *              <code>java.math.BigDecimal</code> object or the
02bb8761fcce Initial load
duke
parents:
diff changeset
   675
     *              <code>value</code> field has not yet been set
02bb8761fcce Initial load
duke
parents:
diff changeset
   676
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   677
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   678
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   679
    public java.math.BigDecimal extract_fixed() {
02bb8761fcce Initial load
duke
parents:
diff changeset
   680
        throw new org.omg.CORBA.NO_IMPLEMENT();
02bb8761fcce Initial load
duke
parents:
diff changeset
   681
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   682
02bb8761fcce Initial load
duke
parents:
diff changeset
   683
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   684
     * Throws an <a href="package-summary.html#NO_IMPLEMENT">
02bb8761fcce Initial load
duke
parents:
diff changeset
   685
     * <code>org.omg.CORBA.NO_IMPLEMENT</code></a> exception.
02bb8761fcce Initial load
duke
parents:
diff changeset
   686
     * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   687
     * Inserts the given <code>java.math.BigDecimal</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   688
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   689
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   690
     * @param value             the <code>java.math.BigDecimal</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   691
     *                  to insert into this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   692
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   693
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   694
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   695
    public void insert_fixed(java.math.BigDecimal value) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   696
        throw new org.omg.CORBA.NO_IMPLEMENT();
02bb8761fcce Initial load
duke
parents:
diff changeset
   697
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   698
02bb8761fcce Initial load
duke
parents:
diff changeset
   699
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   700
     * Throws an <a href="package-summary.html#NO_IMPLEMENT">
02bb8761fcce Initial load
duke
parents:
diff changeset
   701
     * <code>org.omg.CORBA.NO_IMPLEMENT</code></a> exception.
02bb8761fcce Initial load
duke
parents:
diff changeset
   702
     * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   703
     * Inserts the given <code>java.math.BigDecimal</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   704
     * into this <code>Any</code> object's <code>value</code> field.
02bb8761fcce Initial load
duke
parents:
diff changeset
   705
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   706
     * @param value             the <code>java.math.BigDecimal</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   707
     *                  to insert into this <code>Any</code> object
02bb8761fcce Initial load
duke
parents:
diff changeset
   708
     * @param type     the <code>TypeCode</code> object that is to be inserted into
02bb8761fcce Initial load
duke
parents:
diff changeset
   709
     *              this <code>Any</code> object's <code>type</code> field
02bb8761fcce Initial load
duke
parents:
diff changeset
   710
     *              and that describes the <code>java.math.BigDecimal</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   711
     *              object being inserted
02bb8761fcce Initial load
duke
parents:
diff changeset
   712
     * @throws org.omg.CORBA.BAD_INV_ORDER if this method is  invoked improperly
02bb8761fcce Initial load
duke
parents:
diff changeset
   713
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   714
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   715
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   716
    public void insert_fixed(java.math.BigDecimal value, org.omg.CORBA.TypeCode type)
02bb8761fcce Initial load
duke
parents:
diff changeset
   717
        throws org.omg.CORBA.BAD_INV_ORDER
02bb8761fcce Initial load
duke
parents:
diff changeset
   718
    {
02bb8761fcce Initial load
duke
parents:
diff changeset
   719
        throw new org.omg.CORBA.NO_IMPLEMENT();
02bb8761fcce Initial load
duke
parents:
diff changeset
   720
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   721
}