org.jacorb.orb.dynany

Class DynAny

Implemented Interfaces:
DynAny, DynAnyOperations, IDLEntity, Object, java.io.Serializable

public class DynAny
extends LocalObject
implements DynAny

CORBA DynAny

Author:
(c) Gerald Brose, FU Berlin 1999 $Id: DynAny.java,v 1.21 2004/05/06 12:40:00 nicolas Exp $

Field Summary

protected DynAnyFactory
dynFactory
protected int
limit
protected ORB
orb
protected int
pos
protected TypeCode
type

Constructor Summary

DynAny()

Method Summary

void
assign(DynAny dyn_any)
protected void
checkDestroyed()
int
component_count()
DynAny
copy()
DynAny
current_component()
void
destroy()
boolean
equal(DynAny dyn_any)
void
from_any(Any value)
protected Any
getRepresentation()
returns the DynAny's internal any representation, overwritten in subclasses that represent constructed types and need to traverse structures.
Any
get_any()
boolean
get_boolean()
char
get_char()
double
get_double()
DynAny
get_dyn_any()
float
get_float()
int
get_long()
long
get_longlong()
byte
get_octet()
Object
get_reference()
short
get_short()
java.lang.String
get_string()
TypeCode
get_typecode()
int
get_ulong()
long
get_ulonglong()
short
get_ushort()
java.io.Serializable
get_val()
char
get_wchar()
java.lang.String
get_wstring()
void
insert_any(Any value)
void
insert_boolean(boolean value)
void
insert_char(char value)
void
insert_double(double value)
void
insert_dyn_any(DynAny value)
void
insert_float(float value)
void
insert_long(int value)
void
insert_longlong(long value)
void
insert_octet(byte value)
void
insert_reference(Object value)
void
insert_short(short value)
void
insert_string(java.lang.String value)
void
insert_typecode(TypeCode value)
void
insert_ulong(int value)
void
insert_ulonglong(long value)
void
insert_ushort(short value)
void
insert_val(java.io.Serializable value)
void
insert_wchar(char value)
void
insert_wstring(java.lang.String value)
boolean
next()
void
rewind()
boolean
seek(int index)
Any
to_any()
TypeCode
type()

Methods inherited from class org.omg.CORBA.LocalObject

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

Field Details

dynFactory

protected DynAnyFactory dynFactory


limit

protected int limit


orb

protected ORB orb


pos

protected int pos


type

protected TypeCode type

Constructor Details

DynAny

protected DynAny()

Method Details

assign

public void assign(DynAny dyn_any)
            throws TypeMismatch
Specified by:
assign in interface DynAnyOperations


checkDestroyed

protected void checkDestroyed()


component_count

public int component_count()
Specified by:
component_count in interface DynAnyOperations


copy

public DynAny copy()
Specified by:
copy in interface DynAnyOperations


current_component

public DynAny current_component()
            throws TypeMismatch
Specified by:
current_component in interface DynAnyOperations


destroy

public void destroy()
Specified by:
destroy in interface DynAnyOperations


equal

public boolean equal(DynAny dyn_any)
Specified by:
equal in interface DynAnyOperations


from_any

public void from_any(Any value)
            throws InvalidValue,
                   TypeMismatch
Specified by:
from_any in interface DynAnyOperations


getRepresentation

protected Any getRepresentation()
returns the DynAny's internal any representation, overwritten in subclasses that represent constructed types and need to traverse structures.


get_any

public Any get_any()
            throws TypeMismatch
Specified by:
get_any in interface DynAnyOperations


get_boolean

public boolean get_boolean()
            throws TypeMismatch
Specified by:
get_boolean in interface DynAnyOperations


get_char

public char get_char()
            throws TypeMismatch
Specified by:
get_char in interface DynAnyOperations


get_double

public double get_double()
            throws TypeMismatch
Specified by:
get_double in interface DynAnyOperations


get_dyn_any

public DynAny get_dyn_any()
            throws TypeMismatch
Specified by:
get_dyn_any in interface DynAnyOperations


get_float

public float get_float()
            throws TypeMismatch
Specified by:
get_float in interface DynAnyOperations


get_long

public int get_long()
            throws TypeMismatch
Specified by:
get_long in interface DynAnyOperations


get_longlong

public long get_longlong()
            throws TypeMismatch
Specified by:
get_longlong in interface DynAnyOperations


get_octet

public byte get_octet()
            throws TypeMismatch
Specified by:
get_octet in interface DynAnyOperations


get_reference

public Object get_reference()
            throws TypeMismatch
Specified by:
get_reference in interface DynAnyOperations


get_short

public short get_short()
            throws TypeMismatch
Specified by:
get_short in interface DynAnyOperations


get_string

public java.lang.String get_string()
            throws TypeMismatch
Specified by:
get_string in interface DynAnyOperations


get_typecode

public TypeCode get_typecode()
            throws TypeMismatch
Specified by:
get_typecode in interface DynAnyOperations


get_ulong

public int get_ulong()
            throws TypeMismatch
Specified by:
get_ulong in interface DynAnyOperations


get_ulonglong

public long get_ulonglong()
            throws TypeMismatch
Specified by:
get_ulonglong in interface DynAnyOperations


get_ushort

public short get_ushort()
            throws TypeMismatch
Specified by:
get_ushort in interface DynAnyOperations


get_val

public java.io.Serializable get_val()
            throws TypeMismatch


get_wchar

public char get_wchar()
            throws TypeMismatch
Specified by:
get_wchar in interface DynAnyOperations


get_wstring

public java.lang.String get_wstring()
            throws TypeMismatch
Specified by:
get_wstring in interface DynAnyOperations


insert_any

public void insert_any(Any value)
            throws TypeMismatch
Specified by:
insert_any in interface DynAnyOperations


insert_boolean

public void insert_boolean(boolean value)
            throws TypeMismatch
Specified by:
insert_boolean in interface DynAnyOperations


insert_char

public void insert_char(char value)
            throws TypeMismatch
Specified by:
insert_char in interface DynAnyOperations


insert_double

public void insert_double(double value)
            throws TypeMismatch
Specified by:
insert_double in interface DynAnyOperations


insert_dyn_any

public void insert_dyn_any(DynAny value)
            throws TypeMismatch
Specified by:
insert_dyn_any in interface DynAnyOperations


insert_float

public void insert_float(float value)
            throws TypeMismatch
Specified by:
insert_float in interface DynAnyOperations


insert_long

public void insert_long(int value)
            throws TypeMismatch
Specified by:
insert_long in interface DynAnyOperations


insert_longlong

public void insert_longlong(long value)
            throws TypeMismatch
Specified by:
insert_longlong in interface DynAnyOperations


insert_octet

public void insert_octet(byte value)
            throws TypeMismatch
Specified by:
insert_octet in interface DynAnyOperations


insert_reference

public void insert_reference(Object value)
            throws TypeMismatch
Specified by:
insert_reference in interface DynAnyOperations


insert_short

public void insert_short(short value)
            throws TypeMismatch
Specified by:
insert_short in interface DynAnyOperations


insert_string

public void insert_string(java.lang.String value)
            throws TypeMismatch
Specified by:
insert_string in interface DynAnyOperations


insert_typecode

public void insert_typecode(TypeCode value)
            throws TypeMismatch
Specified by:
insert_typecode in interface DynAnyOperations


insert_ulong

public void insert_ulong(int value)
            throws TypeMismatch
Specified by:
insert_ulong in interface DynAnyOperations


insert_ulonglong

public void insert_ulonglong(long value)
            throws TypeMismatch
Specified by:
insert_ulonglong in interface DynAnyOperations


insert_ushort

public void insert_ushort(short value)
            throws TypeMismatch
Specified by:
insert_ushort in interface DynAnyOperations


insert_val

public void insert_val(java.io.Serializable value)
            throws TypeMismatch


insert_wchar

public void insert_wchar(char value)
            throws TypeMismatch
Specified by:
insert_wchar in interface DynAnyOperations


insert_wstring

public void insert_wstring(java.lang.String value)
            throws TypeMismatch
Specified by:
insert_wstring in interface DynAnyOperations


next

public boolean next()
Specified by:
next in interface DynAnyOperations


rewind

public void rewind()
Specified by:
rewind in interface DynAnyOperations


seek

public boolean seek(int index)
Specified by:
seek in interface DynAnyOperations


to_any

public Any to_any()
Specified by:
to_any in interface DynAnyOperations


type

public TypeCode type()
Specified by:
type in interface DynAnyOperations