org.omg.CORBA

Interface DynSequence

public interface DynSequence extends DynAny

Deprecated: by {@link org.omg.DynamicAny.DynSequence}

Represents the {@link DynAny}, holding the CORBA sequence (an array with the flexible length).
Method Summary
Any[]get_elements()
Get the elements of the enclosed sequence.
intlength()
Returns the number of elements, stored in the sequence.
voidlength(int l)
Sets the length of this sequence to the given value.
voidset_elements(Any[] an_array)
Set the elements from of the enclosed array of Anys.

Method Detail

get_elements

public Any[] get_elements()
Get the elements of the enclosed sequence.

length

public int length()
Returns the number of elements, stored in the sequence.

Returns: the length of the sequence

length

public void length(int l)
Sets the length of this sequence to the given value.

Parameters: l the new length of the sequence.

set_elements

public void set_elements(Any[] an_array)
Set the elements from of the enclosed array of Anys.

Throws: InvalidSeq if the passed array contains the elements of the different type.