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:
java.io.Serializable
,Object
,IDLEntity
,DynAny
,DynAnyOperations
,DynValueCommon
,DynValueCommonOperations
- Direct Known Subclasses:
DynValueBoxImpl
,DynValueImpl
abstract class DynValueCommonImpl extends DynAnyComplexImpl implements DynValueCommon
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isNull
private static long
serialVersionUID
-
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
Constructors Modifier Constructor Description private
DynValueCommonImpl()
protected
DynValueCommonImpl(ORB orb, Any any, boolean copyValue)
protected
DynValueCommonImpl(ORB orb, TypeCode typeCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NameValuePair[]
get_members()
NameDynAnyPair[]
get_members_as_dyn_any()
boolean
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
set_to_null()
Changes the representation of a DynValueCommon to a null value type.void
set_to_value()
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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
isNull
protected boolean isNull
-
-
Method Detail
-
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
public NameValuePair[] get_members() throws InvalidValue
- Throws:
InvalidValue
-
get_members_as_dyn_any
public NameDynAnyPair[] get_members_as_dyn_any() throws InvalidValue
- Throws:
InvalidValue
-
set_members
public void set_members(NameValuePair[] value) throws TypeMismatch, InvalidValue
- Overrides:
set_members
in classDynAnyComplexImpl
- Throws:
TypeMismatch
InvalidValue
-
set_members_as_dyn_any
public void set_members_as_dyn_any(NameDynAnyPair[] value) throws TypeMismatch, InvalidValue
- Overrides:
set_members_as_dyn_any
in classDynAnyComplexImpl
- Throws:
TypeMismatch
InvalidValue
-
-