FileDocCategorySizeDatePackage
DynValueBoxOperations.javaAPI DocJava SE 5 API2316Fri Aug 26 17:25:14 BST 2005org.omg.DynamicAny

DynValueBoxOperations

public interface DynValueBoxOperations implements org.omg.DynamicAny.DynValueCommonOperations
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.

Fields Summary
Constructors Summary
Methods Summary
public org.omg.CORBA.Anyget_boxed_value()
Returns the boxed value as an Any.

exception
InvalidValue if this object represents a null value box type

public org.omg.DynamicAny.DynAnyget_boxed_value_as_dyn_any()
Returns the boxed value as a DynAny.

exception
InvalidValue if this object represents a null value box type

public voidset_boxed_value(org.omg.CORBA.Any boxed)
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.

public voidset_boxed_value_as_dyn_any(org.omg.DynamicAny.DynAny boxed)
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.