FileDocCategorySizeDatePackage
DynArrayOperations.javaAPI DocJava SE 6 API1886Tue Jun 10 01:33:24 BST 2008org.omg.DynamicAny

DynArrayOperations

public interface DynArrayOperations implements org.omg.DynamicAny.DynAnyOperations
DynArray objects support the manipulation of IDL arrays. Note that the dimension of the array is contained in the TypeCode which is accessible through the type attribute. It can also be obtained by calling the component_count operation.

Fields Summary
Constructors Summary
Methods Summary
public org.omg.CORBA.Any[]get_elements()
Returns the elements of the DynArray.

public org.omg.DynamicAny.DynAny[]get_elements_as_dyn_any()
Returns the elements of the DynArray as DynAnys.

public voidset_elements(org.omg.CORBA.Any[] value)
Sets the DynArray to contain the passed elements.

exception
TypeMismatch if one or more elements have a type that is inconsistent with the DynArrays TypeCode
exception
InvalidValue if the sequence does not contain the same number of elements as the array dimension

public voidset_elements_as_dyn_any(org.omg.DynamicAny.DynAny[] value)
Sets the DynArray to contain the passed elements.

exception
TypeMismatch if one or more elements have a type that is inconsistent with the DynArrays TypeCode
exception
InvalidValue if the sequence does not contain the same number of elements as the array dimension