KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > DynamicAny > DynArrayOperations


1 package org.omg.DynamicAny;
2
3
4 /**
5 * org/omg/DynamicAny/DynArrayOperations.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.2"
7 * from ../../../../src/share/classes/org/omg/DynamicAny/DynamicAny.idl
8 * Saturday, February 9, 2008 9:40:12 AM GMT
9 */

10
11
12 /**
13     * DynArray objects support the manipulation of IDL arrays.
14     * Note that the dimension of the array is contained in the TypeCode which is accessible
15     * through the type attribute. It can also be obtained by calling the component_count operation.
16     */

17 public interface DynArrayOperations extends org.omg.DynamicAny.DynAnyOperations JavaDoc
18 {
19
20   /**
21         * Returns the elements of the DynArray.
22         */

23   org.omg.CORBA.Any JavaDoc[] get_elements ();
24
25   /**
26         * Sets the DynArray to contain the passed elements.
27         *
28         * @exception TypeMismatch if one or more elements have a type that is inconsistent with the DynArrays TypeCode
29         * @exception InvalidValue if the sequence does not contain the same number of elements as the array dimension
30         */

31   void set_elements (org.omg.CORBA.Any JavaDoc[] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc;
32
33   /**
34         * Returns the elements of the DynArray as DynAnys.
35         */

36   org.omg.DynamicAny.DynAny JavaDoc[] get_elements_as_dyn_any ();
37
38   /**
39         * Sets the DynArray to contain the passed elements.
40         *
41         * @exception TypeMismatch if one or more elements have a type that is inconsistent with the DynArrays TypeCode
42         * @exception InvalidValue if the sequence does not contain the same number of elements as the array dimension
43         */

44   void set_elements_as_dyn_any (org.omg.DynamicAny.DynAny JavaDoc[] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc, org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc;
45 } // interface DynArrayOperations
46
Popular Tags