1. package org.omg.DynamicAny;
  2. /**
  3. * org/omg/DynamicAny/DynArrayOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.1"
  5. * from ../../../../src/share/classes/org/omg/DynamicAny/DynamicAny.idl
  6. * Monday, February 23, 2004 7:03:09 AM GMT
  7. */
  8. /**
  9. * DynArray objects support the manipulation of IDL arrays.
  10. * Note that the dimension of the array is contained in the TypeCode which is accessible
  11. * through the type attribute. It can also be obtained by calling the component_count operation.
  12. */
  13. public interface DynArrayOperations extends org.omg.DynamicAny.DynAnyOperations
  14. {
  15. /**
  16. * Returns the elements of the DynArray.
  17. */
  18. org.omg.CORBA.Any[] get_elements ();
  19. /**
  20. * Sets the DynArray to contain the passed elements.
  21. *
  22. * @exception TypeMismatch if one or more elements have a type that is inconsistent with the DynArrays TypeCode
  23. * @exception InvalidValue if the sequence does not contain the same number of elements as the array dimension
  24. */
  25. void set_elements (org.omg.CORBA.Any[] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue;
  26. /**
  27. * Returns the elements of the DynArray as DynAnys.
  28. */
  29. org.omg.DynamicAny.DynAny[] get_elements_as_dyn_any ();
  30. /**
  31. * Sets the DynArray to contain the passed elements.
  32. *
  33. * @exception TypeMismatch if one or more elements have a type that is inconsistent with the DynArrays TypeCode
  34. * @exception InvalidValue if the sequence does not contain the same number of elements as the array dimension
  35. */
  36. void set_elements_as_dyn_any (org.omg.DynamicAny.DynAny[] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue;
  37. } // interface DynArrayOperations