|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||



public interface DynSequenceOperations

DynSequence objects support the manipulation of IDL sequences.
| Method Summary | |
|---|---|
DynAny |
get_elements_as_dyn_any
Returns the DynAnys representing the elements of the sequence. |
Any |
get_elements
Returns the elements of the sequence. |
int |
get_length
Returns the current length of the sequence. |
void |
set_elements_as_dyn_any
Sets the elements of a sequence using DynAnys. |
void |
set_elements
Sets the elements of a sequence. |
void |
set_length
Sets the length of the sequence. |
Methods inherited from interface org.omg.DynamicAny.DynAnyOperations ![]() |
|---|
assign |
| Method Detail |
|---|

int get_length()

void set_length(int len)
throws InvalidValue

InvalidValue - if this is a bounded sequence and len is larger than the bound

Any![]()
![]()
[] get_elements()

void set_elements(Any![]()
![]()
[] value) throws TypeMismatch
![]()
![]()
, InvalidValue
![]()
![]()
TypeMismatch - if value contains one or more elements whose TypeCode is not equivalent
to the element TypeCode of the DynSequence
InvalidValue - if the length of value exceeds the bound of a bounded sequence

DynAny![]()
![]()
[] get_elements_as_dyn_any()

void set_elements_as_dyn_any(DynAny![]()
![]()
[] value) throws TypeMismatch
![]()
![]()
, InvalidValue
![]()
![]()
TypeMismatch - if value contains one or more elements whose TypeCode is not equivalent
to the element TypeCode of the DynSequence
InvalidValue - if the length of value exceeds the bound of a bounded sequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||