/*
* Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.omg.CORBA;
/**
* The representation of a DynAny
object that is associated
* with an IDL sequence.
* @deprecated Use the new DynSequence instead
*/
@Deprecated
public interface DynSequence extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
{
/**
* Returns the length of the sequence represented by this
* DynFixed
object.
*
* @return the length of the sequence
*/
public int length();
/**
* Sets the length of the sequence represented by this
* DynFixed
object to the given argument.
*
* @param arg the length of the sequence
*/
public void length(int arg);
/**
* Returns the value of every element in this sequence.
*
* @return an array of Any
objects containing the values in
* the sequence
* @see #set_elements
*/
public org.omg.CORBA.Any[] get_elements();
/**
* Sets the values of all elements in this sequence with the given
* array.
*
* @param value the array of Any
objects to be set
* @exception InvalidSeq if the array of values is bad
* @see #get_elements
*/
public void set_elements(org.omg.CORBA.Any[] value)
throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
}