1 /* 2 * @(#)DynArray.java 1.15 04/05/18 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 9 package org.omg.CORBA; 10 11 12 /** Represents a <tt>DynAny</tt> object associated 13 * with an array. 14 * @deprecated Use the new <a HREF="../DynamicAny/DynArray.html">DynArray</a> instead 15 */ 16 @Deprecated 17 public interface DynArray extends org.omg.CORBA.Object, org.omg.CORBA.DynAny 18 { 19 /** 20 * Returns the value of all the elements of this array. 21 * 22 * @return the array of <code>Any</code> objects that is the value 23 * for this <code>DynArray</code> object 24 * @see #set_elements 25 */ 26 public org.omg.CORBA.Any[] get_elements(); 27 28 /** 29 * Sets the value of this 30 * <code>DynArray</code> object to the given array. 31 * 32 * @param value the array of <code>Any</code> objects 33 * @exception InvalidSeq if the sequence is bad 34 * @see #get_elements 35 */ 36 public void set_elements(org.omg.CORBA.Any[] value) 37 throws org.omg.CORBA.DynAnyPackage.InvalidSeq; 38 } 39