JavaTM 2 Platform
Standard Edition

org.omg.CORBA
Interface DynSequence


public interface DynSequence
extends Object, DynAny

The DynArray interface represents a DynAny object which is associated with an IDL sequence.


Method Summary
 Any[] get_elements()
          Return all the value of all elements in this sequence.
 int length()
          Return the length of the sequence represented in this DynFixed.
 void length(int arg)
          Set the length of the sequence represented in this DynFixed.
 void set_elements(Any[] value)
          Set the values of all elements in this sequence.
 
Methods inherited from interface org.omg.CORBA.DynAny
assign, copy, current_component, destroy, from_any, get_any, get_boolean, get_char, get_double, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, next, rewind, seek, to_any, type
 

Method Detail

length

public int length()
Return the length of the sequence represented in this DynFixed.
Returns:
an integer length.

length

public void length(int arg)
Set the length of the sequence represented in this DynFixed.
Parameters:
arg - the length.

get_elements

public Any[] get_elements()
Return all the value of all elements in this sequence.
Returns:
an array of Anys.

set_elements

public void set_elements(Any[] value)
                  throws InvalidSeq
Set the values of all elements in this sequence.
Parameters:
value - the array of Anys.
Throws:
InvalidSeq - is thrown if the array of values is bad.

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.