1. /*
  2. * @(#)DynArray.java 1.4 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA;
  8. /** The DynArray interface represents a DynAny object which is associated
  9. * with an array.
  10. */
  11. public interface DynArray extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
  12. {
  13. /**
  14. * Return the value of all the elements of the array.
  15. *
  16. * @return an array of <code>Any</code>s.
  17. */
  18. public org.omg.CORBA.Any[] get_elements();
  19. /**
  20. * Set the values of all elements of an array represented by this
  21. * <code>DynArray</code>.
  22. *
  23. * @param value the array of <code>Any</code>s.
  24. * @exception InvalidSeq if the sequence is bad.
  25. */
  26. public void set_elements(org.omg.CORBA.Any[] value)
  27. throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
  28. }