1. /*
  2. * @(#)DynArray.java 1.8 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package org.omg.CORBA;
  11. /** The DynArray interface represents a DynAny object which is associated
  12. * with an array.
  13. */
  14. public interface DynArray extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
  15. {
  16. /**
  17. * Returns the value of all the elements of this array.
  18. *
  19. * @return the array of <code>Any</code> objects that is the value
  20. * for this <code>DynArray</code> object
  21. * @see #set_elements
  22. */
  23. public org.omg.CORBA.Any[] get_elements();
  24. /**
  25. * Sets the value of this
  26. * <code>DynArray</code> object to the given array.
  27. *
  28. * @param value the array of <code>Any</code> objects
  29. * @exception InvalidSeq if the sequence is bad
  30. * @see #get_elements
  31. */
  32. public void set_elements(org.omg.CORBA.Any[] value)
  33. throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
  34. }