gnu.CORBA.DynAn

Class UndivideableAny

Implemented Interfaces:
Object, Serializable
Known Direct Subclasses:
gnuDynEnum, gnuDynFixed

public abstract class UndivideableAny
extends AbstractAny
implements Serializable

Represent DynAny that has no internal components (DynEnum and so on). The methods, related to internal components, throw exceptions or return agreed values like null.
See Also:
Serialized Form

Field Summary

Fields inherited from class gnu.CORBA.DynAn.AbstractAny

factory, final_type, official_type, orb

Constructor Summary

UndivideableAny(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb)
Create a new instance with the given typecode.

Method Summary

int
component_count()
There are no components.
DynAny
current_component()
There is no current component.
void
destroy()
Returns without action.
abstract boolean
equal(DynAny other)
This depends on an object.
boolean
equals(Object other)
Compares with other DynAny for equality.
Any
get_any()
Not in use.
boolean
get_boolean()
Not in use.
char
get_char()
Not in use.
double
get_double()
Not in use.
DynAny
get_dyn_any()
Not in use.
float
get_float()
Not in use.
int
get_long()
Not in use.
long
get_longlong()
Not in use.
byte
get_octet()
Not in use.
Object
get_reference()
Not in use.
short
get_short()
Not in use.
String
get_string()
Not in use.
TypeCode
get_typecode()
Not in use.
int
get_ulong()
Not in use.
long
get_ulonglong()
Not in use.
short
get_ushort()
Not in use.
Serializable
get_val()
Not in use.
char
get_wchar()
Not in use.
String
get_wstring()
Not in use.
void
insert_any(Any an_any)
Not in use.
void
insert_boolean(boolean a_x)
Not in use.
void
insert_char(char a_x)
Not in use.
void
insert_double(double a_x)
Not in use.
void
insert_dyn_any(DynAny insert_it)
Not in use.
void
insert_float(float a_x)
Not in use.
void
insert_long(int a_x)
Not in use.
void
insert_longlong(long a_x)
Not in use.
void
insert_octet(byte a_x)
Not in use.
void
insert_reference(Object a_x)
Not in use.
void
insert_short(short a_x)
Not in use.
void
insert_string(String a_x)
Not in use.
void
insert_typecode(TypeCode a_x)
Not in use.
void
insert_ulong(int a_x)
Not in use.
void
insert_ulonglong(long a_x)
Not in use.
void
insert_ushort(short a_x)
Not in use.
void
insert_val(Serializable a_x)
Not in use.
void
insert_wchar(char a_x)
Not in use.
void
insert_wstring(String a_x)
Not in use.
boolean
next()
Not in use.
void
rewind()
Not in use.
boolean
seek(int p)
Not in use.
TypeCode
type()
Get the typecode of this enumeration.

Methods inherited from class gnu.CORBA.DynAn.AbstractAny

createAny, type, valueChanged

Methods inherited from class org.omg.CORBA.LocalObject

_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _set_policy_override, validate_connection

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

UndivideableAny

public UndivideableAny(TypeCode oType,
                       TypeCode aType,
                       gnuDynAnyFactory aFactory,
                       ORB anOrb)
Create a new instance with the given typecode.

Method Details

component_count

public int component_count()
There are no components.
Returns:
0, always.

current_component

public DynAny current_component()
            throws TypeMismatch
There is no current component.

destroy

public void destroy()
Returns without action.

equal

public abstract boolean equal(DynAny other)
This depends on an object.

equals

public boolean equals(Object other)
Compares with other DynAny for equality.
Overrides:
equals in interface Object

get_any

public Any get_any()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_boolean

public boolean get_boolean()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_char

public char get_char()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_double

public double get_double()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_dyn_any

public DynAny get_dyn_any()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_float

public float get_float()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_long

public int get_long()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_longlong

public long get_longlong()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_octet

public byte get_octet()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_reference

public Object get_reference()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_short

public short get_short()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_string

public String get_string()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_typecode

public TypeCode get_typecode()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_ulong

public int get_ulong()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_ulonglong

public long get_ulonglong()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_ushort

public short get_ushort()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_val

public Serializable get_val()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_wchar

public char get_wchar()
            throws TypeMismatch,
                   InvalidValue
Not in use.

get_wstring

public String get_wstring()
            throws TypeMismatch,
                   InvalidValue
Not in use.

insert_any

public void insert_any(Any an_any)
            throws TypeMismatch,
                   InvalidValue
Not in use.

insert_boolean

public void insert_boolean(boolean a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_char

public void insert_char(char a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_double

public void insert_double(double a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_dyn_any

public void insert_dyn_any(DynAny insert_it)
            throws TypeMismatch,
                   InvalidValue
Not in use.

insert_float

public void insert_float(float a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_long

public void insert_long(int a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_longlong

public void insert_longlong(long a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_octet

public void insert_octet(byte a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_reference

public void insert_reference(Object a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_short

public void insert_short(short a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_string

public void insert_string(String a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_typecode

public void insert_typecode(TypeCode a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_ulong

public void insert_ulong(int a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_ulonglong

public void insert_ulonglong(long a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_ushort

public void insert_ushort(short a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_val

public void insert_val(Serializable a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_wchar

public void insert_wchar(char a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

insert_wstring

public void insert_wstring(String a_x)
            throws InvalidValue,
                   TypeMismatch
Not in use.

next

public boolean next()
Not in use.

rewind

public void rewind()
Not in use.

seek

public boolean seek(int p)
Not in use.

type

public TypeCode type()
Get the typecode of this enumeration.
Overrides:
type in interface AbstractAny

Undivideable.java -- Copyright (C) 2005 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.