KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.omg.DynamicAny;
2
3
4 /**
5 * org/omg/DynamicAny/DynValueBoxOperations.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     * DynValueBox objects support the manipulation of IDL boxed value types.
14     * The DynValueBox interface can represent both null and non-null value types.
15     * For a DynValueBox representing a non-null value type, the DynValueBox has a single component
16     * of the boxed type. A DynValueBox representing a null value type has no components
17     * and a current position of -1.
18     */

19 public interface DynValueBoxOperations extends org.omg.DynamicAny.DynValueCommonOperations JavaDoc
20 {
21
22   /**
23         * Returns the boxed value as an Any.
24         *
25         * @exception InvalidValue if this object represents a null value box type
26         */

27   org.omg.CORBA.Any JavaDoc get_boxed_value () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc;
28
29   /**
30         * Replaces the boxed value with the specified value.
31         * If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.
32         *
33         * @exception TypeMismatch if this object represents a non-null value box type and the type
34         * of the parameter is not matching the current boxed value type.
35         */

36   void set_boxed_value (org.omg.CORBA.Any JavaDoc boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc;
37
38   /**
39         * Returns the boxed value as a DynAny.
40         *
41         * @exception InvalidValue if this object represents a null value box type
42         */

43   org.omg.DynamicAny.DynAny JavaDoc get_boxed_value_as_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue JavaDoc;
44
45   /**
46         * Replaces the boxed value with the value contained in the parameter.
47         * If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.
48         *
49         * @exception TypeMismatch if this object represents a non-null value box type and the type
50         * of the parameter is not matching the current boxed value type.
51         */

52   void set_boxed_value_as_dyn_any (org.omg.DynamicAny.DynAny JavaDoc boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch JavaDoc;
53 } // interface DynValueBoxOperations
54
Popular Tags