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. package org.omg.CORBA;
  8. /** Represents a <tt>DynAny</tt> object associated
  9. * with an array.
  10. * @deprecated Use the new <a href="../DynamicAny/DynArray.html">DynArray</a> instead
  11. */
  12. @Deprecated
  13. public interface DynArray extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
  14. {
  15. /**
  16. * Returns the value of all the elements of this array.
  17. *
  18. * @return the array of <code>Any</code> objects that is the value
  19. * for this <code>DynArray</code> object
  20. * @see #set_elements
  21. */
  22. public org.omg.CORBA.Any[] get_elements();
  23. /**
  24. * Sets the value of this
  25. * <code>DynArray</code> object to the given array.
  26. *
  27. * @param value the array of <code>Any</code> objects
  28. * @exception InvalidSeq if the sequence is bad
  29. * @see #get_elements
  30. */
  31. public void set_elements(org.omg.CORBA.Any[] value)
  32. throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
  33. }