org.omg.DynamicAny
public interface DynSequenceOperations extends DynAnyOperations
Method Summary | |
---|---|
Any[] | get_elements()
Returns the array, containing the sequence elements.
|
DynAny[] | get_elements_as_dyn_any()
Returns the array, containing the sequence elements.
|
int | get_length()
Get the length of the sequence.
|
void | set_elements(Any[] value)
Sets the sequence elements from the array. |
void | set_elements_as_dyn_any(DynAny[] value)
Sets the sequence elements from the array. |
void | set_length(int length)
Set the length of the sequence. |
Returns: the array of elements as an array of Any's.
Returns: the array of elements as an array of DynAny's.
Returns: the current sequence length that was taken from typecode or changed with set_length.
Parameters: value the array of elements as Any's.
Throws: TypeMismatch if the members of the passed array does not match sequence component type. InvalidValue if this is a bounded sequence and the number of elements in the passed array exceeds the sequence bound.
Parameters: value the array of elements an DynAny's.
Throws: TypeMismatch if the members of the passed array does not match sequence component type. InvalidValue if this is a bounded sequence and the number of elements in the passed array exceeds the sequence bound.
Parameters: length the new length of the sequence.
Throws: InvalidValue if this is a bounded sequence, and the size being set exceeds the sequence bound.