VisiBroker for Java

org.omg.DynamicAny
Interface DynArrayOperations

All Superinterfaces:
DynAnyOperations
All Known Subinterfaces:
DynArray
All Known Implementing Classes:
_DynArrayStub

public interface DynArrayOperations
extends DynAnyOperations

DynArray objects are associated with arrays.


Method Summary
 DynAny[] get_elements_as_dyn_any()
          The get_elements_as_dyn_any operation has the same semantics as their Any counterpart, but returns values of type DynAny instead of Any.
 Any[] get_elements()
          The get_elements operation returns the elements of the DynArray.
 void set_elements_as_dyn_any(DynAny[] value)
          The set_elements_as_dyn_any operation has the same semantics as their Any counterpart, but accepts values of type DynAny instead of Any.
 void set_elements(Any[] value)
          The set_elements operation sets the DynArray to contain the passed elements.
 
Methods inherited from interface org.omg.DynamicAny.DynAnyOperations
assign, component_count, copy, current_component, destroy, equal, from_any, get_any, get_boolean, get_char, get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, next, rewind, seek, to_any, type
 

Method Detail

set_elements_as_dyn_any

void set_elements_as_dyn_any(DynAny[] value)
                             throws TypeMismatch,
                                    InvalidValue
The set_elements_as_dyn_any operation has the same semantics as their Any counterpart, but accepts values of type DynAny instead of Any.

Throws:
TypeMismatch
InvalidValue

get_elements_as_dyn_any

DynAny[] get_elements_as_dyn_any()
The get_elements_as_dyn_any operation has the same semantics as their Any counterpart, but returns values of type DynAny instead of Any.


set_elements

void set_elements(Any[] value)
                  throws TypeMismatch,
                         InvalidValue
The set_elements operation sets the DynArray to contain the passed elements. If the sequence does not contain the same number of elements as the array dimension, the operation raises InvalidValue. If one or more elements have a type that is inconsistent with the DynArray's TypeCode, the operation raises TypeMismatch.

Throws:
TypeMismatch
InvalidValue

get_elements

Any[] get_elements()
The get_elements operation returns the elements of the DynArray.


Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online