This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


org.omg.DynamicAny
interface DynValueBoxOperations

All Superinterfaces:
DynAnyOperations, DynValueCommonOperations

public interface DynValueBoxOperations
extends 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.


Method Summary
 Any

          Returns the boxed value as an Any.
 DynAny

          Returns the boxed value as a DynAny.
 void

          Replaces the boxed value with the specified value.
 void

          Replaces the boxed value with the value contained in the parameter.
 
Methods inherited from class org.omg.DynamicAny.DynValueCommonOperations
is_null, set_to_null, set_to_value
 
Methods inherited from class org.omg.DynamicAny.DynAnyOperations
assign, component_count, copy, current_component, destroy, equal, from_any, get_any, get_boolean, get_char, get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, next, rewind, seek, to_any, type
 

Method Detail

get_boxed_value

public Any get_boxed_value()
                    throws InvalidValue
Returns the boxed value as an Any.

Throws:
InvalidValue

get_boxed_value_as_dyn_any

public DynAny get_boxed_value_as_dyn_any()
                                  throws InvalidValue
Returns the boxed value as a DynAny.

Throws:
InvalidValue

set_boxed_value

public void set_boxed_value(Any boxed)
                     throws TypeMismatch
Replaces the boxed value with the specified value. If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.

Parameters:
boxed
Throws:
TypeMismatch

set_boxed_value_as_dyn_any

public void set_boxed_value_as_dyn_any(DynAny boxed)
                                throws TypeMismatch
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.

Parameters:
boxed
Throws:
TypeMismatch


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.