package org.omg.DynamicAny;


/**
* org/omg/DynamicAny/DynValueBoxOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /var/lib/jenkins/jobs/openjdk/jobs/openjdk10/workspace/jdk-updates_jdk10u/src/java.corba/share/classes/org/omg/DynamicAny/DynamicAny.idl
* Sunday, February 14, 2021 at 5:20:31 PM Coordinated Universal Time
*/


DynValueBox objects support the manipulation of IDL boxed value types. The DynValueBox interface can represent both null and non-null value types. For a DynValueBox representing a non-null value type, the DynValueBox has a single component of the boxed type. A DynValueBox representing a null value type has no components and a current position of -1.
/** * DynValueBox objects support the manipulation of IDL boxed value types. * The DynValueBox interface can represent both null and non-null value types. * For a DynValueBox representing a non-null value type, the DynValueBox has a single component * of the boxed type. A DynValueBox representing a null value type has no components * and a current position of -1. */
public interface DynValueBoxOperations extends org.omg.DynamicAny.DynValueCommonOperations {
Returns the boxed value as an Any.
Throws:
  • InvalidValue – if this object represents a null value box type
/** * Returns the boxed value as an Any. * * @exception InvalidValue if this object represents a null value box type */
org.omg.CORBA.Any get_boxed_value () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
Replaces the boxed value with the specified value. If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.
Throws:
  • TypeMismatch – if this object represents a non-null value box type and the type of the parameter is not matching the current boxed value type.
/** * Replaces the boxed value with the specified value. * If the DynBoxedValue represents a null valuetype, it is converted to a non-null value. * * @exception TypeMismatch if this object represents a non-null value box type and the type * of the parameter is not matching the current boxed value type. */
void set_boxed_value (org.omg.CORBA.Any boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
Returns the boxed value as a DynAny.
Throws:
  • InvalidValue – if this object represents a null value box type
/** * Returns the boxed value as a DynAny. * * @exception InvalidValue if this object represents a null value box type */
org.omg.DynamicAny.DynAny get_boxed_value_as_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
Replaces the boxed value with the value contained in the parameter. If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.
Throws:
  • TypeMismatch – if this object represents a non-null value box type and the type of the parameter is not matching the current boxed value type.
/** * Replaces the boxed value with the value contained in the parameter. * If the DynBoxedValue represents a null valuetype, it is converted to a non-null value. * * @exception TypeMismatch if this object represents a non-null value box type and the type * of the parameter is not matching the current boxed value type. */
void set_boxed_value_as_dyn_any (org.omg.DynamicAny.DynAny boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch; } // interface DynValueBoxOperations