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
isNullFields inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyComplexImpl
nameDynAnyPairs, names, nameValuePairsFields 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, representationsFields 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
ConstructorsModifierConstructorDescriptionprivateprotectedDynValueBoxImpl(ORB orb, Any any, boolean copyValue) protectedDynValueBoxImpl(ORB orb, TypeCode typeCode) -
Method Summary
Modifier and TypeMethodDescriptionReturns the boxed value as an Any.Returns the boxed value as a DynAny.protected booleanprotected booleanprotected booleanvoidset_boxed_value(Any boxed) Replaces the boxed value with the specified value.voidset_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_valueMethods inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyComplexImpl
clearData, current_member_kind, current_member_nameMethods 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, writeAnyMethods inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyImpl
_ids, factory, getAny, getAny, setStatus, typeMethods 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_connectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, typeMethods inherited from interface org.omg.DynamicAny.DynValueCommonOperations
is_null, set_to_null, set_to_valueMethods 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:DynValueBoxOperationsReturns the boxed value as an Any.- Specified by:
get_boxed_valuein interfaceDynValueBoxOperations- Returns:
- boxed value
- Throws:
InvalidValue- if this object represents a null value box type
-
set_boxed_value
Description copied from interface:DynValueBoxOperationsReplaces 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_valuein 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:DynValueBoxOperationsReturns the boxed value as a DynAny.- Specified by:
get_boxed_value_as_dyn_anyin 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:DynValueBoxOperationsReplaces 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_anyin 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:
initializeComponentsFromAnyin classDynAnyComplexImpl
-
initializeComponentsFromTypeCode
protected boolean initializeComponentsFromTypeCode()- Overrides:
initializeComponentsFromTypeCodein classDynAnyComplexImpl
-
initializeAnyFromComponents
protected boolean initializeAnyFromComponents()- Overrides:
initializeAnyFromComponentsin classDynAnyConstructedImpl
-