Package com.sun.corba.ee.impl.dynamicany
Class DynValueCommonImpl
java.lang.Object
org.omg.CORBA.LocalObject
com.sun.corba.ee.impl.dynamicany.DynAnyImpl
com.sun.corba.ee.impl.dynamicany.DynAnyConstructedImpl
com.sun.corba.ee.impl.dynamicany.DynAnyComplexImpl
com.sun.corba.ee.impl.dynamicany.DynValueCommonImpl
- All Implemented Interfaces:
Serializable
,Object
,IDLEntity
,DynAny
,DynAnyOperations
,DynValueCommon
,DynValueCommonOperations
- Direct Known Subclasses:
DynValueBoxImpl
,DynValueImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
private static final long
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
DynValueCommonImpl
(ORB orb, Any any, boolean copyValue) protected
DynValueCommonImpl
(ORB orb, TypeCode typeCode) -
Method Summary
Modifier and TypeMethodDescriptionboolean
is_null()
Returns true if the DynValueCommon represents a null value type.void
set_members
(NameValuePair[] value) void
set_members_as_dyn_any
(NameDynAnyPair[] value) void
Changes the representation of a DynValueCommon to a null value type.void
Replaces a null value type with a newly constructed value.Methods inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyComplexImpl
clearData, current_member_kind, current_member_name, initializeComponentsFromAny, initializeComponentsFromTypeCode
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, initializeAnyFromComponents, 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.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:
-
isNull
protected boolean isNull
-
-
Constructor Details
-
DynValueCommonImpl
private DynValueCommonImpl() -
DynValueCommonImpl
-
DynValueCommonImpl
-
-
Method Details
-
is_null
public boolean is_null()Description copied from interface:DynValueCommonOperations
Returns true if the DynValueCommon represents a null value type.- Specified by:
is_null
in interfaceDynValueCommonOperations
- Returns:
- if the value is null
-
set_to_null
public void set_to_null()Description copied from interface:DynValueCommonOperations
Changes the representation of a DynValueCommon to a null value type.- Specified by:
set_to_null
in interfaceDynValueCommonOperations
-
set_to_value
public void set_to_value()Description copied from interface:DynValueCommonOperations
Replaces a null value type with a newly constructed value. Its components are initialized to default values as in DynAnyFactory.create_dyn_any_from_type_code. If the DynValueCommon represents a non-null value type, then this operation has no effect.- Specified by:
set_to_value
in interfaceDynValueCommonOperations
-
get_members
- Throws:
InvalidValue
-
get_members_as_dyn_any
- Throws:
InvalidValue
-
set_members
- Overrides:
set_members
in classDynAnyComplexImpl
- Throws:
TypeMismatch
InvalidValue
-
set_members_as_dyn_any
- Overrides:
set_members_as_dyn_any
in classDynAnyComplexImpl
- Throws:
TypeMismatch
InvalidValue
-