org.omg.CORBA
Interface DynSequence

All Superinterfaces:
DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny , Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object

Deprecated. Use the new DynSequence instead

@Deprecated
public interface DynSequence
extends Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object , DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny

The representation of a DynAny object that is associated with an IDL sequence.


Method Summary
 Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any [] get_elements sample code for org.omg.CORBA.DynSequence.get_elements() definition code for org.omg.CORBA.DynSequence.get_elements() ()
          Deprecated. Returns the value of every element in this sequence.
 int length sample code for org.omg.CORBA.DynSequence.length() definition code for org.omg.CORBA.DynSequence.length() ()
          Deprecated. Returns the length of the sequence represented by this DynFixed object.
 void length sample code for org.omg.CORBA.DynSequence.length(int) definition code for org.omg.CORBA.DynSequence.length(int) (int arg)
          Deprecated. Sets the length of the sequence represented by this DynFixed object to the given argument.
 void set_elements sample code for org.omg.CORBA.DynSequence.set_elements(org.omg.CORBA.Any[]) definition code for org.omg.CORBA.DynSequence.set_elements(org.omg.CORBA.Any[]) (Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any [] value)
          Deprecated. Sets the values of all elements in this sequence with the given array.
 
Methods inherited from interface org.omg.CORBA.DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny
assign sample code for org.omg.CORBA.DynAny.assign(org.omg.CORBA.DynAny) definition code for org.omg.CORBA.DynAny.assign(org.omg.CORBA.DynAny) , copy sample code for org.omg.CORBA.DynAny.copy() definition code for org.omg.CORBA.DynAny.copy() , current_component sample code for org.omg.CORBA.DynAny.current_component() definition code for org.omg.CORBA.DynAny.current_component() , destroy sample code for org.omg.CORBA.DynAny.destroy() definition code for org.omg.CORBA.DynAny.destroy() , from_any sample code for org.omg.CORBA.DynAny.from_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.DynAny.from_any(org.omg.CORBA.Any) , get_any sample code for org.omg.CORBA.DynAny.get_any() definition code for org.omg.CORBA.DynAny.get_any() , get_boolean sample code for org.omg.CORBA.DynAny.get_boolean() definition code for org.omg.CORBA.DynAny.get_boolean() , get_char sample code for org.omg.CORBA.DynAny.get_char() definition code for org.omg.CORBA.DynAny.get_char() , get_double sample code for org.omg.CORBA.DynAny.get_double() definition code for org.omg.CORBA.DynAny.get_double() , get_float sample code for org.omg.CORBA.DynAny.get_float() definition code for org.omg.CORBA.DynAny.get_float() , get_long sample code for org.omg.CORBA.DynAny.get_long() definition code for org.omg.CORBA.DynAny.get_long() , get_longlong sample code for org.omg.CORBA.DynAny.get_longlong() definition code for org.omg.CORBA.DynAny.get_longlong() , get_octet sample code for org.omg.CORBA.DynAny.get_octet() definition code for org.omg.CORBA.DynAny.get_octet() , get_reference sample code for org.omg.CORBA.DynAny.get_reference() definition code for org.omg.CORBA.DynAny.get_reference() , get_short sample code for org.omg.CORBA.DynAny.get_short() definition code for org.omg.CORBA.DynAny.get_short() , get_string sample code for org.omg.CORBA.DynAny.get_string() definition code for org.omg.CORBA.DynAny.get_string() , get_typecode sample code for org.omg.CORBA.DynAny.get_typecode() definition code for org.omg.CORBA.DynAny.get_typecode() , get_ulong sample code for org.omg.CORBA.DynAny.get_ulong() definition code for org.omg.CORBA.DynAny.get_ulong() , get_ulonglong sample code for org.omg.CORBA.DynAny.get_ulonglong() definition code for org.omg.CORBA.DynAny.get_ulonglong() , get_ushort sample code for org.omg.CORBA.DynAny.get_ushort() definition code for org.omg.CORBA.DynAny.get_ushort() , get_val sample code for org.omg.CORBA.DynAny.get_val() definition code for org.omg.CORBA.DynAny.get_val() , get_wchar sample code for org.omg.CORBA.DynAny.get_wchar() definition code for org.omg.CORBA.DynAny.get_wchar() , get_wstring sample code for org.omg.CORBA.DynAny.get_wstring() definition code for org.omg.CORBA.DynAny.get_wstring() , insert_any sample code for org.omg.CORBA.DynAny.insert_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.DynAny.insert_any(org.omg.CORBA.Any) , insert_boolean sample code for org.omg.CORBA.DynAny.insert_boolean(boolean) definition code for org.omg.CORBA.DynAny.insert_boolean(boolean) , insert_char sample code for org.omg.CORBA.DynAny.insert_char(char) definition code for org.omg.CORBA.DynAny.insert_char(char) , insert_double sample code for org.omg.CORBA.DynAny.insert_double(double) definition code for org.omg.CORBA.DynAny.insert_double(double) , insert_float sample code for org.omg.CORBA.DynAny.insert_float(float) definition code for org.omg.CORBA.DynAny.insert_float(float) , insert_long sample code for org.omg.CORBA.DynAny.insert_long(int) definition code for org.omg.CORBA.DynAny.insert_long(int) , insert_longlong sample code for org.omg.CORBA.DynAny.insert_longlong(long) definition code for org.omg.CORBA.DynAny.insert_longlong(long) , insert_octet sample code for org.omg.CORBA.DynAny.insert_octet(byte) definition code for org.omg.CORBA.DynAny.insert_octet(byte) , insert_reference sample code for org.omg.CORBA.DynAny.insert_reference(org.omg.CORBA.Object) definition code for org.omg.CORBA.DynAny.insert_reference(org.omg.CORBA.Object) , insert_short sample code for org.omg.CORBA.DynAny.insert_short(short) definition code for org.omg.CORBA.DynAny.insert_short(short) , insert_string sample code for org.omg.CORBA.DynAny.insert_string(java.lang.String) definition code for org.omg.CORBA.DynAny.insert_string(java.lang.String) , insert_typecode sample code for org.omg.CORBA.DynAny.insert_typecode(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.DynAny.insert_typecode(org.omg.CORBA.TypeCode) , insert_ulong sample code for org.omg.CORBA.DynAny.insert_ulong(int) definition code for org.omg.CORBA.DynAny.insert_ulong(int) , insert_ulonglong sample code for org.omg.CORBA.DynAny.insert_ulonglong(long) definition code for org.omg.CORBA.DynAny.insert_ulonglong(long) , insert_ushort sample code for org.omg.CORBA.DynAny.insert_ushort(short) definition code for org.omg.CORBA.DynAny.insert_ushort(short) , insert_val sample code for org.omg.CORBA.DynAny.insert_val(java.io.Serializable) definition code for org.omg.CORBA.DynAny.insert_val(java.io.Serializable) , insert_wchar sample code for org.omg.CORBA.DynAny.insert_wchar(char) definition code for org.omg.CORBA.DynAny.insert_wchar(char) , insert_wstring sample code for org.omg.CORBA.DynAny.insert_wstring(java.lang.String) definition code for org.omg.CORBA.DynAny.insert_wstring(java.lang.String) , next sample code for org.omg.CORBA.DynAny.next() definition code for org.omg.CORBA.DynAny.next() , rewind sample code for org.omg.CORBA.DynAny.rewind() definition code for org.omg.CORBA.DynAny.rewind() , seek sample code for org.omg.CORBA.DynAny.seek(int) definition code for org.omg.CORBA.DynAny.seek(int) , to_any sample code for org.omg.CORBA.DynAny.to_any() definition code for org.omg.CORBA.DynAny.to_any() , type sample code for org.omg.CORBA.DynAny.type() definition code for org.omg.CORBA.DynAny.type()
 

Method Detail

length sample code for org.omg.CORBA.DynSequence.length() definition code for org.omg.CORBA.DynSequence.length()

int length()
Deprecated. 
Returns the length of the sequence represented by this DynFixed object.

Returns:
the length of the sequence

length sample code for org.omg.CORBA.DynSequence.length(int) definition code for org.omg.CORBA.DynSequence.length(int)

void length(int arg)
Deprecated. 
Sets the length of the sequence represented by this DynFixed object to the given argument.

Parameters:
arg - the length of the sequence

get_elements sample code for org.omg.CORBA.DynSequence.get_elements() definition code for org.omg.CORBA.DynSequence.get_elements()

Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any [] get_elements()
Deprecated. 
Returns the value of every element in this sequence.

Returns:
an array of Any objects containing the values in the sequence
See Also:
set_elements(org.omg.CORBA.Any[]) sample code for org.omg.CORBA.DynSequence.set_elements(org.omg.CORBA.Any[]) definition code for org.omg.CORBA.DynSequence.set_elements(org.omg.CORBA.Any[])

set_elements sample code for org.omg.CORBA.DynSequence.set_elements(org.omg.CORBA.Any[]) definition code for org.omg.CORBA.DynSequence.set_elements(org.omg.CORBA.Any[])

void set_elements(Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any [] value)
                  throws InvalidSeq sample code for org.omg.CORBA.DynAnyPackage.InvalidSeq definition code for org.omg.CORBA.DynAnyPackage.InvalidSeq 
Deprecated. 
Sets the values of all elements in this sequence with the given array.

Parameters:
value - the array of Any objects to be set
Throws:
InvalidSeq - if the array of values is bad
See Also:
get_elements() sample code for org.omg.CORBA.DynSequence.get_elements() definition code for org.omg.CORBA.DynSequence.get_elements()