org.omg.DynamicAny
Class _DynArrayStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.DynamicAny._DynArrayStub
All Implemented Interfaces:
Serializable, Object, IDLEntity, DynAny, DynAnyOperations, DynArray, DynArrayOperations

public class _DynArrayStub
extends ObjectImpl
implements DynArray, Serializable

Should provide support for remote invocation of methods on DynArray. As DynArray can never be remote at least till 1.5 inclusive, this class is not in use.

See Also:
Serialized Form

Field Summary
static Class _opsClass
          The purpose and value of this field are not documented.
 
Constructor Summary
_DynArrayStub()
          Create the DynArray stub.
 
Method Summary
 String[] _ids()
          Return the array of repository ids for this object.
 void assign(DynAny _0)
          The remote call of DynAny methods is not possible.
 int component_count()
          The remote call of DynAny methods is not possible.
 DynAny copy()
          The remote call of DynAny methods is not possible.
 DynAny current_component()
          The remote call of DynAny methods is not possible.
 void destroy()
          The remote call of DynAny methods is not possible.
 boolean equal(DynAny _0)
          The remote call of DynAny methods is not possible.
 void from_any(Any _0)
          The remote call of DynAny methods is not possible.
 Any get_any()
          The remote call of DynAny methods is not possible.
 boolean get_boolean()
          The remote call of DynAny methods is not possible.
 char get_char()
          The remote call of DynAny methods is not possible.
 double get_double()
          The remote call of DynAny methods is not possible.
 DynAny get_dyn_any()
          The remote call of DynAny methods is not possible.
 DynAny[] get_elements_as_dyn_any()
          The remote call of DynArray methods is not possible.
 Any[] get_elements()
          The remote call of DynArray methods is not possible.
 float get_float()
          The remote call of DynAny methods is not possible.
 int get_long()
          The remote call of DynAny methods is not possible.
 long get_longlong()
          The remote call of DynAny methods is not possible.
 byte get_octet()
          The remote call of DynAny methods is not possible.
 Object get_reference()
          The remote call of DynAny methods is not possible.
 short get_short()
          The remote call of DynAny methods is not possible.
 String get_string()
          The remote call of DynAny methods is not possible.
 TypeCode get_typecode()
          The remote call of DynAny methods is not possible.
 int get_ulong()
          The remote call of DynAny methods is not possible.
 long get_ulonglong()
          The remote call of DynAny methods is not possible.
 short get_ushort()
          The remote call of DynAny methods is not possible.
 Serializable get_val()
          The remote call of DynAny methods is not possible.
 char get_wchar()
          The remote call of DynAny methods is not possible.
 String get_wstring()
          The remote call of DynAny methods is not possible.
 void insert_any(Any _0)
          The remote call of DynAny methods is not possible.
 void insert_boolean(boolean _0)
          The remote call of DynAny methods is not possible.
 void insert_char(char _0)
          The remote call of DynAny methods is not possible.
 void insert_double(double _0)
          The remote call of DynAny methods is not possible.
 void insert_dyn_any(DynAny _0)
          The remote call of DynAny methods is not possible.
 void insert_float(float _0)
          The remote call of DynAny methods is not possible.
 void insert_long(int _0)
          The remote call of DynAny methods is not possible.
 void insert_longlong(long _0)
          The remote call of DynAny methods is not possible.
 void insert_octet(byte _0)
          The remote call of DynAny methods is not possible.
 void insert_reference(Object _0)
          The remote call of DynAny methods is not possible.
 void insert_short(short _0)
          The remote call of DynAny methods is not possible.
 void insert_string(String _0)
          The remote call of DynAny methods is not possible.
 void insert_typecode(TypeCode _0)
          The remote call of DynAny methods is not possible.
 void insert_ulong(int _0)
          The remote call of DynAny methods is not possible.
 void insert_ulonglong(long _0)
          The remote call of DynAny methods is not possible.
 void insert_ushort(short _0)
          The remote call of DynAny methods is not possible.
 void insert_val(Serializable _0)
          The remote call of DynAny methods is not possible.
 void insert_wchar(char _0)
          The remote call of DynAny methods is not possible.
 void insert_wstring(String _0)
          The remote call of DynAny methods is not possible.
 boolean next()
          The remote call of DynAny methods is not possible.
 void rewind()
          The remote call of DynAny methods is not possible.
 boolean seek(int _0)
          The remote call of DynAny methods is not possible.
 void set_elements_as_dyn_any(DynAny[] _0)
          The remote call of DynArray methods is not possible.
 void set_elements(Any[] _0)
          The remote call of DynArray methods is not possible.
 Any to_any()
          The remote call of DynAny methods is not possible.
 TypeCode type()
          The remote call of DynAny methods is not possible.
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

_opsClass

public static final Class _opsClass
The purpose and value of this field are not documented.

Constructor Detail

_DynArrayStub

public _DynArrayStub()
Create the DynArray stub.

Method Detail

_ids

public String[] _ids()
Return the array of repository ids for this object.

Specified by:
_ids in class ObjectImpl

get_elements

public Any[] get_elements()
The remote call of DynArray methods is not possible.

Specified by:
get_elements in interface DynArrayOperations
Returns:
the array of elements as an array of Any's.
Throws:
MARSHAL, - always.

get_elements_as_dyn_any

public DynAny[] get_elements_as_dyn_any()
The remote call of DynArray methods is not possible.

Specified by:
get_elements_as_dyn_any in interface DynArrayOperations
Returns:
the array of elements as an array of DynAny's.
Throws:
MARSHAL, - always.

set_elements

public void set_elements(Any[] _0)
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynArray methods is not possible.

Specified by:
set_elements in interface DynArrayOperations
Parameters:
_0 - the array of elements as Any's.
Throws:
MARSHAL, - always.
TypeMismatch - if the members of the passed array does not match array component type.
InvalidValue - if the number of elements in the passed array is not the same as the size of this DynArray.

set_elements_as_dyn_any

public void set_elements_as_dyn_any(DynAny[] _0)
                             throws TypeMismatch,
                                    InvalidValue
The remote call of DynArray methods is not possible.

Specified by:
set_elements_as_dyn_any in interface DynArrayOperations
Parameters:
_0 - the array of elements an DynAny's.
Throws:
MARSHAL, - always.
TypeMismatch - if the members of the passed array does not match array component type.
InvalidValue - if the number of elements in the passed array is not the same as the size of this DynArray.

type

public TypeCode type()
The remote call of DynAny methods is not possible.

Specified by:
type in interface DynAnyOperations
Returns:
the typecode of the inserted Any or null typecode if no has been yet inserted.
Throws:
MARSHAL, - always.

next

public boolean next()
The remote call of DynAny methods is not possible.

Specified by:
next in interface DynAnyOperations
Returns:
true if the pointer now points to the new component, false if there are no more components of this DynAny holds a basic type that is not divided into components.
Throws:
MARSHAL, - always.

destroy

public void destroy()
The remote call of DynAny methods is not possible.

Specified by:
destroy in interface DynAnyOperations
Throws:
MARSHAL, - always.

copy

public DynAny copy()
The remote call of DynAny methods is not possible.

Specified by:
copy in interface DynAnyOperations
Throws:
MARSHAL, - always.

rewind

public void rewind()
The remote call of DynAny methods is not possible.

Specified by:
rewind in interface DynAnyOperations
Throws:
MARSHAL, - always.

assign

public void assign(DynAny _0)
            throws TypeMismatch
The remote call of DynAny methods is not possible.

Specified by:
assign in interface DynAnyOperations
Parameters:
_0 - the DynAny to copy from.
Throws:
MARSHAL, - always.
TypeMismatch - if the source DynAny is invalid.

component_count

public int component_count()
The remote call of DynAny methods is not possible.

Specified by:
component_count in interface DynAnyOperations
Returns:
number of components or 0 if the enclosed Any is not divideable.
Throws:
MARSHAL, - always.

current_component

public DynAny current_component()
                         throws TypeMismatch
The remote call of DynAny methods is not possible.

Specified by:
current_component in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if called on DynAny that cannot have active components, like DynEnum.

equal

public boolean equal(DynAny _0)
The remote call of DynAny methods is not possible.

Specified by:
equal in interface DynAnyOperations
Throws:
MARSHAL, - always.

from_any

public void from_any(Any _0)
              throws TypeMismatch,
                     InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
from_any in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if the type of this DynAny differs from the type of the passed Any. The DynAny cannot be reused with the enclosed type different from that it was initially created.
InvalidValue - if the value, stored in the passed parameter, is otherwise invalid.

get_any

public Any get_any()
            throws TypeMismatch,
                   InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_any in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if the typecode of the accessed Any is not the same as the typecode of this DynAny.
InvalidValue

get_boolean

public boolean get_boolean()
                    throws TypeMismatch,
                           InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_boolean in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_char

public char get_char()
              throws TypeMismatch,
                     InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_char in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_double

public double get_double()
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_double in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_dyn_any

public DynAny get_dyn_any()
                   throws TypeMismatch,
                          InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_dyn_any in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if the wrapped Any does not store another Any.
InvalidValue - if the current position points nowhere.

get_float

public float get_float()
                throws TypeMismatch,
                       InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_float in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_long

public int get_long()
             throws TypeMismatch,
                    InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_long in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_longlong

public long get_longlong()
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_longlong in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_octet

public byte get_octet()
               throws TypeMismatch,
                      InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_octet in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_reference

public Object get_reference()
                     throws TypeMismatch,
                            InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_reference in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_short

public short get_short()
                throws TypeMismatch,
                       InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_short in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_string

public String get_string()
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_string in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_typecode

public TypeCode get_typecode()
                      throws TypeMismatch,
                             InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_typecode in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_ulong

public int get_ulong()
              throws TypeMismatch,
                     InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_ulong in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_ulonglong

public long get_ulonglong()
                   throws TypeMismatch,
                          InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_ulonglong in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_ushort

public short get_ushort()
                 throws TypeMismatch,
                        InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_ushort in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_val

public Serializable get_val()
                     throws TypeMismatch,
                            InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_val in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_wchar

public char get_wchar()
               throws TypeMismatch,
                      InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_wchar in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

get_wstring

public String get_wstring()
                   throws TypeMismatch,
                          InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
get_wstring in interface DynAnyOperations
Throws:
MARSHAL, - always.
TypeMismatch - if this DynAny holds the value of the different type.
InvalidValue

insert_any

public void insert_any(Any _0)
                throws TypeMismatch,
                       InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_any in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_boolean

public void insert_boolean(boolean _0)
                    throws TypeMismatch,
                           InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_boolean in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_char

public void insert_char(char _0)
                 throws TypeMismatch,
                        InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_char in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_double

public void insert_double(double _0)
                   throws TypeMismatch,
                          InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_double in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_dyn_any

public void insert_dyn_any(DynAny _0)
                    throws TypeMismatch,
                           InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_dyn_any in interface DynAnyOperations
Parameters:
_0 - a value to insert.
Throws:
MARSHAL, - always.
TypeMismatch - if the component at the current position has a different type.
InvalidValue - if the current position points nowhere.

insert_float

public void insert_float(float _0)
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_float in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_long

public void insert_long(int _0)
                 throws TypeMismatch,
                        InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_long in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_longlong

public void insert_longlong(long _0)
                     throws TypeMismatch,
                            InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_longlong in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_octet

public void insert_octet(byte _0)
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_octet in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_reference

public void insert_reference(Object _0)
                      throws TypeMismatch,
                             InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_reference in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_short

public void insert_short(short _0)
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_short in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_string

public void insert_string(String _0)
                   throws TypeMismatch,
                          InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_string in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_typecode

public void insert_typecode(TypeCode _0)
                     throws TypeMismatch,
                            InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_typecode in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_ulong

public void insert_ulong(int _0)
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_ulong in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_ulonglong

public void insert_ulonglong(long _0)
                      throws TypeMismatch,
                             InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_ulonglong in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_ushort

public void insert_ushort(short _0)
                   throws TypeMismatch,
                          InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_ushort in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_val

public void insert_val(Serializable _0)
                throws TypeMismatch,
                       InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_val in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_wchar

public void insert_wchar(char _0)
                  throws TypeMismatch,
                         InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_wchar in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

insert_wstring

public void insert_wstring(String _0)
                    throws TypeMismatch,
                           InvalidValue
The remote call of DynAny methods is not possible.

Specified by:
insert_wstring in interface DynAnyOperations
Parameters:
_0 - the value being inserted.
Throws:
MARSHAL, - always.
InvalidValue - if the value type does not match the typecode of the enclosed Any.
TypeMismatch

seek

public boolean seek(int _0)
The remote call of DynAny methods is not possible.

Specified by:
seek in interface DynAnyOperations
Parameters:
_0 - the number of the internal component on that the internal pointer must be focused.
Returns:
true on success or false if there is no component with the given number. If the DynAny holds the basic type, this method returs false p values other than 0.
Throws:
MARSHAL, - always.

to_any

public Any to_any()
The remote call of DynAny methods is not possible.

Specified by:
to_any in interface DynAnyOperations
Returns:
shallow copy of the enclosed Any.
Throws:
MARSHAL, - always.