public final class DynUnion extends DynAny implements DynUnion
anyRepresentation, dynFactory, limit, logger, orb, pos, typeCode| Modifier and Type | Method and Description |
|---|---|
int |
component_count()
Overrides component_count() in DynAny
|
DynAny |
current_component() |
void |
destroy() |
TCKind |
discriminator_kind() |
boolean |
equal(DynAny dyn_any)
Overrides equal() in DynAny
|
void |
from_any(Any value)
Overrides from_any() in DynAny
|
DynAny |
get_discriminator() |
boolean |
has_no_active_member() |
TCKind |
member_kind() |
String |
member_name() |
DynAny |
member() |
boolean |
next()
Overrides next() in DynAny
|
boolean |
seek(int index)
Overrides seek() in DynAny
|
void |
set_discriminator(DynAny dynAny)
sets the discriminator to d
|
void |
set_to_default_member()
sets the discriminator to a value that is consistent with the
value of the default case of a union; it sets the current
position to zero and causes component_count to return 2.
|
void |
set_to_no_active_member()
sets the discriminator to a value that does not correspond to
any of the union's case labels; it sets the current position
to zero and causes component_count to return 1.
|
Any |
to_any() |
assign, checkDestroyed, copy, get_any, get_boolean_seq, get_boolean, get_char_seq, get_char, get_double_seq, get_double, get_dyn_any, get_float_seq, get_float, get_long_seq, get_long, get_longdouble_seq, get_longdouble, get_longlong_seq, get_longlong, get_octet_seq, get_octet, get_reference, get_short_seq, get_short, get_string, get_typecode, get_ulong_seq, get_ulong, get_ulonglong_seq, get_ulonglong, get_ushort_seq, get_ushort, get_val, get_wchar_seq, get_wchar, get_wstring, getRepresentation, insert_any, insert_boolean_seq, insert_boolean, insert_char_seq, insert_char, insert_double_seq, insert_double, insert_dyn_any, insert_float_seq, insert_float, insert_long_seq, insert_long, insert_longdouble_seq, insert_longdouble, insert_longlong_seq, insert_longlong, insert_octet_seq, insert_octet, insert_reference, insert_short_seq, insert_short, insert_string, insert_typecode, insert_ulong_seq, insert_ulong, insert_ulonglong_seq, insert_ulonglong, insert_ushort_seq, insert_ushort, insert_val, insert_wchar_seq, insert_wchar, insert_wstring, rewind, type, unexpectedException_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _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_connectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassign, copy, 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, rewind, type_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overridepublic void from_any(Any value) throws InvalidValue, TypeMismatch
from_any in interface DynAnyOperationsfrom_any in class DynAnyInvalidValueTypeMismatchpublic Any to_any()
to_any in interface DynAnyOperationsto_any in class DynAnypublic int component_count()
component_count in interface DynAnyOperationscomponent_count in class DynAnypublic boolean next()
next in interface DynAnyOperationsnext in class DynAnypublic boolean seek(int index)
seek in interface DynAnyOperationsseek in class DynAnypublic boolean equal(DynAny dyn_any)
equal in interface DynAnyOperationsequal in class DynAnypublic DynAny get_discriminator()
get_discriminator in interface DynUnionOperationspublic void set_discriminator(DynAny dynAny) throws TypeMismatch
set_discriminator in interface DynUnionOperationsTypeMismatch - if the TypeCode of the d parameter
is not equivalent to the TypeCode of the union's discriminatorpublic void set_to_default_member()
throws TypeMismatch
set_to_default_member in interface DynUnionOperationsTypeMismatch - if the union does not have an explicit
default case.public void set_to_no_active_member()
throws TypeMismatch
set_to_no_active_member in interface DynUnionOperationsTypeMismatch - if the union has an explicit default
case or uses the entire range of discriminator values for
explicit case labels.public boolean has_no_active_member()
has_no_active_member in interface DynUnionOperationspublic TCKind discriminator_kind()
discriminator_kind in interface DynUnionOperationspublic DynAny member() throws InvalidValue
member in interface DynUnionOperationsInvalidValue - if the union has no active memberpublic TCKind member_kind() throws InvalidValue
member_kind in interface DynUnionOperationsInvalidValue - if the union has no active memberpublic String member_name() throws InvalidValue
member_name in interface DynUnionOperationsInvalidValue - if the union has no active memberpublic void destroy()
destroy in interface DynAnyOperationsdestroy in class DynAnypublic DynAny current_component()
current_component in interface DynAnyOperationscurrent_component in class DynAnyCopyright © 2017 JacORB. All rights reserved.