| |
|
| java.lang.Object org.omg.CORBA.LocalObject org.jacorb.orb.dynany.DynAny org.jacorb.orb.dynany.DynUnion
DynUnion | final public class DynUnion extends DynAny implements org.omg.DynamicAny.DynUnion(Code) | | CORBA DynUnion
author: Gerald Brose version: $Id: DynUnion.java,v 1.29 2006/07/05 09:18:11 alphonse.bendt Exp $ |
component_count | public int component_count()(Code) | | Overrides component_count() in DynAny
|
current_component | public org.omg.DynamicAny.DynAny current_component()(Code) | | |
destroy | public void destroy()(Code) | | |
equal | public boolean equal(org.omg.DynamicAny.DynAny dyn_any)(Code) | | Overrides equal() in DynAny
|
from_any | public void from_any(org.omg.CORBA.Any value) throws InvalidValue, TypeMismatch(Code) | | Overrides from_any() in DynAny
|
get_discriminator | public org.omg.DynamicAny.DynAny get_discriminator()(Code) | | the current discriminator value |
has_no_active_member | public boolean has_no_active_member()(Code) | | true, if the union has no active member (that is, theunion's value consists solely of its discriminator becausethe discriminator has a value that is not listed as an explicitcase label). Calling this operation on a union that has adefault case returns false. Calling this operation on a unionthat uses the entire range of discriminator values for explicitcase labels returns false. |
member | public org.omg.DynamicAny.DynAny member() throws InvalidValue(Code) | | the currently active member. throws: InvalidValue - if the union has no active member |
member_kind | public org.omg.CORBA.TCKind member_kind() throws InvalidValue(Code) | | the TypeCode kind of the currently active member. throws: InvalidValue - if the union has no active member |
member_name | public String member_name() throws InvalidValue(Code) | | the name of the currently active member. throws: InvalidValue - if the union has no active member |
next | public boolean next()(Code) | | Overrides next() in DynAny
|
seek | public boolean seek(int index)(Code) | | Overrides seek() in DynAny
|
set_discriminator | public void set_discriminator(org.omg.DynamicAny.DynAny dynAny) throws TypeMismatch(Code) | | sets the discriminator to d
throws: TypeMismatch - if the TypeCode of the d parameteris not equivalent to the TypeCode of the union's discriminator |
set_to_default_member | public void set_to_default_member() throws TypeMismatch(Code) | | 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.
throws: TypeMismatch - if the union does not have an explicitdefault case. |
set_to_no_active_member | public void set_to_no_active_member() throws TypeMismatch(Code) | | 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.
throws: TypeMismatch - if the union has an explicit defaultcase or uses the entire range of discriminator values forexplicit case labels. |
Methods inherited from org.omg.CORBA.LocalObject | public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result)(Code)(Java Doc) public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)(Code)(Java Doc) public org.omg.CORBA.Object _duplicate()(Code)(Java Doc) public org.omg.CORBA.Object _get_component()(Code)(Java Doc) public org.omg.CORBA.DomainManager[] _get_domain_managers()(Code)(Java Doc) public org.omg.CORBA.InterfaceDef _get_interface()(Code)(Java Doc) public org.omg.CORBA.Object _get_interface_def()(Code)(Java Doc) public org.omg.CORBA.Policy _get_policy(int policy_type)(Code)(Java Doc) public int _hash(int maximum)(Code)(Java Doc) public String[] _ids()(Code)(Java Doc) public org.omg.CORBA.portable.InputStream _invoke(org.omg.CORBA.portable.OutputStream output) throws org.omg.CORBA.portable.ApplicationException, org.omg.CORBA.portable.RemarshalException(Code)(Java Doc) public boolean _is_a(String repositoryId)(Code)(Java Doc) public boolean _is_equivalent(org.omg.CORBA.Object that)(Code)(Java Doc) public boolean _is_local()(Code)(Java Doc) public boolean _non_existent()(Code)(Java Doc) public org.omg.CORBA.ORB _orb()(Code)(Java Doc) public void _release()(Code)(Java Doc) public void _releaseReply(org.omg.CORBA.portable.InputStream input)(Code)(Java Doc) public Request _request(String operation)(Code)(Java Doc) public org.omg.CORBA.portable.OutputStream _request(String operation, boolean responseExpected)(Code)(Java Doc) public void _servant_postinvoke(org.omg.CORBA.portable.ServantObject servant)(Code)(Java Doc) public org.omg.CORBA.portable.ServantObject _servant_preinvoke(String operation, Class expectedType)(Code)(Java Doc) public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)(Code)(Java Doc) public boolean validate_connection()(Code)(Java Doc)
|
|
|
|