|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.LocalObject
org.jacorb.orb.dynany.DynAny
org.jacorb.orb.dynany.DynUnion
CORBA DynUnion
Field Summary |
Fields inherited from class org.jacorb.orb.dynany.DynAny |
dynFactory, limit, orb, pos, type |
Method Summary | |
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()
|
java.lang.String |
member_name()
|
DynAny |
member()
|
boolean |
next()
Overrides next() in DynAny |
boolean |
seek(int index)
Overrides seek() in DynAny |
void |
set_discriminator(DynAny d)
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()
|
Methods inherited from class org.jacorb.orb.dynany.DynAny |
assign, checkDestroyed, 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, getRepresentation, 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 |
Methods inherited from class org.omg.CORBA.LocalObject |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _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, 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_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_wchar, insert_wstring, rewind, type |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Method Detail |
public void from_any(Any value) throws InvalidValue, TypeMismatch
from_any
in interface DynAnyOperations
from_any
in class DynAny
InvalidValue
TypeMismatch
public Any to_any()
to_any
in interface DynAnyOperations
to_any
in class DynAny
public int component_count()
component_count
in interface DynAnyOperations
component_count
in class DynAny
public boolean next()
next
in interface DynAnyOperations
next
in class DynAny
public boolean seek(int index)
seek
in interface DynAnyOperations
seek
in class DynAny
public boolean equal(DynAny dyn_any)
equal
in interface DynAnyOperations
equal
in class DynAny
public DynAny get_discriminator()
get_discriminator
in interface DynUnionOperations
public void set_discriminator(DynAny d) throws TypeMismatch
set_discriminator
in interface DynUnionOperations
TypeMismatch
- 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 DynUnionOperations
TypeMismatch
- 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 DynUnionOperations
TypeMismatch
- 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 DynUnionOperations
public TCKind discriminator_kind()
discriminator_kind
in interface DynUnionOperations
public DynAny member() throws InvalidValue
member
in interface DynUnionOperations
InvalidValue
- if the union has no active memberpublic TCKind member_kind() throws InvalidValue
member_kind
in interface DynUnionOperations
InvalidValue
- if the union has no active memberpublic java.lang.String member_name() throws InvalidValue
member_name
in interface DynUnionOperations
InvalidValue
- if the union has no active memberpublic void destroy()
destroy
in interface DynAnyOperations
destroy
in class DynAny
public DynAny current_component()
current_component
in interface DynAnyOperations
current_component
in class DynAny
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |