Package com.sun.corba.ee.impl.dynamicany
Class DynValueBoxImpl
- All Implemented Interfaces:
Serializable
,Object
,IDLEntity
,DynAny
,DynAnyOperations
,DynValueBox
,DynValueBoxOperations
,DynValueCommon
,DynValueCommonOperations
- See Also:
-
Field Summary
FieldsFields inherited from class com.sun.corba.ee.impl.dynamicany.DynValueCommonImpl
isNull
Fields inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyComplexImpl
nameDynAnyPairs, names, nameValuePairs
Fields inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyConstructedImpl
components, emptyComponents, isRecursive, RECURSIVE_NO, RECURSIVE_UNDEF, RECURSIVE_YES, REPRESENTATION_ANY, REPRESENTATION_COMPONENTS, REPRESENTATION_NONE, REPRESENTATION_TYPECODE, representations
Fields inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyImpl
any, index, NO_INDEX, orb, status, STATUS_DESTROYABLE, STATUS_DESTROYED, STATUS_UNDESTROYABLE, wrapper
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
protected
DynValueBoxImpl
(ORB orb, Any any, boolean copyValue) protected
DynValueBoxImpl
(ORB orb, TypeCode typeCode) -
Method Summary
Modifier and TypeMethodDescriptionReturns the boxed value as an Any.Returns the boxed value as a DynAny.protected boolean
protected boolean
protected boolean
void
set_boxed_value
(Any boxed) Replaces the boxed value with the specified value.void
set_boxed_value_as_dyn_any
(DynAny boxed) Replaces the boxed value with the value contained in the parameter.Methods inherited from class com.sun.corba.ee.impl.dynamicany.DynValueCommonImpl
get_members, get_members_as_dyn_any, is_null, set_members, set_members_as_dyn_any, set_to_null, set_to_value
Methods inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyComplexImpl
clearData, current_member_kind, current_member_name
Methods inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyConstructedImpl
assign, checkInitAny, checkInitComponents, 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, isRecursive, next, rewind, seek, to_any, writeAny
Methods inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyImpl
_ids, factory, getAny, getAny, setStatus, type
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface 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
Methods inherited from interface org.omg.DynamicAny.DynValueCommonOperations
is_null, set_to_null, set_to_value
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DynValueBoxImpl
private DynValueBoxImpl() -
DynValueBoxImpl
-
DynValueBoxImpl
-
-
Method Details
-
get_boxed_value
Description copied from interface:DynValueBoxOperations
Returns the boxed value as an Any.- Specified by:
get_boxed_value
in interfaceDynValueBoxOperations
- Returns:
- boxed value
- Throws:
InvalidValue
- if this object represents a null value box type
-
set_boxed_value
Description copied from interface:DynValueBoxOperations
Replaces the boxed value with the specified value. If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.- Specified by:
set_boxed_value
in interfaceDynValueBoxOperations
- Parameters:
boxed
- replacement 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.
-
get_boxed_value_as_dyn_any
Description copied from interface:DynValueBoxOperations
Returns the boxed value as a DynAny.- Specified by:
get_boxed_value_as_dyn_any
in interfaceDynValueBoxOperations
- Returns:
- boxed value
- Throws:
InvalidValue
- if this object represents a null value box type
-
set_boxed_value_as_dyn_any
Description copied from interface:DynValueBoxOperations
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.- Specified by:
set_boxed_value_as_dyn_any
in interfaceDynValueBoxOperations
- Parameters:
boxed
- replacement 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.
-
initializeComponentsFromAny
protected boolean initializeComponentsFromAny()- Overrides:
initializeComponentsFromAny
in classDynAnyComplexImpl
-
initializeComponentsFromTypeCode
protected boolean initializeComponentsFromTypeCode()- Overrides:
initializeComponentsFromTypeCode
in classDynAnyComplexImpl
-
initializeAnyFromComponents
protected boolean initializeAnyFromComponents()- Overrides:
initializeAnyFromComponents
in classDynAnyConstructedImpl
-