jp.co.nec.orb.DynamicAny
クラス DynUnionImpl

java.lang.Object
  |
  +--jp.co.nec.orb.PseudoBase
        |
        +--jp.co.nec.orb.DynamicAny.DynAnyImpl
              |
              +--jp.co.nec.orb.DynamicAny.DynUnionImpl
すべての実装インタフェース:
DynAny, DynAnyOperations, DynUnion, DynUnionOperations, IDLEntity, Object, java.io.Serializable

public final class DynUnionImpl
extends DynAnyImpl
implements DynUnion

This class is implementation class of CORBA::DynUnion.

関連項目:
直列化された形式

メソッドの概要
 int component_count()
          Getting number fo components
 TCKind discriminator_kind()
          Getting discriminator kind
 DynAny get_discriminator()
          Getting discriminator(for set/get)
 boolean has_no_active_member()
          checking whether union has no active member
 TCKind member_kind()
          getting kind of member
 java.lang.String member_name()
          getting member_name which union value is inserted
 DynAny member()
          Getting member
 void set_discriminator(DynAny d)
          Setting descriminator
 void set_to_default_member()
          Setting union value is default
 void set_to_no_active_member()
          Setting union value is inconsistence member
 
クラス jp.co.nec.orb.DynamicAny.DynAnyImpl から継承したメソッド
assign, 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
 
クラス jp.co.nec.orb.PseudoBase から継承したメソッド
_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
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.omg.DynamicAny.DynAnyOperations から継承したメソッド
assign, 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
 
インタフェース 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
 

メソッドの詳細

component_count

public final int component_count()
Getting number fo components
定義:
インタフェース DynAnyOperations 内の component_count
オーバーライド:
クラス DynAnyImpl 内の component_count
クラス jp.co.nec.orb.DynamicAny.DynAnyImpl からコピーされたタグ:
戻り値:
int component count

get_discriminator

public final DynAny get_discriminator()
Getting discriminator(for set/get)
定義:
インタフェース DynUnionOperations 内の get_discriminator
戻り値:
DynAny
例外:
InvalidValue -  

set_discriminator

public final void set_discriminator(DynAny d)
                             throws TypeMismatch
Setting descriminator
定義:
インタフェース DynUnionOperations 内の set_discriminator
パラメータ:
DynAny -  
例外:
TypeMismatch -  

set_to_default_member

public final void set_to_default_member()
                                 throws TypeMismatch
Setting union value is default
定義:
インタフェース DynUnionOperations 内の set_to_default_member
例外:
TypeMismatch -  

set_to_no_active_member

public final void set_to_no_active_member()
                                   throws TypeMismatch
Setting union value is inconsistence member
定義:
インタフェース DynUnionOperations 内の set_to_no_active_member
例外:
TypeMismatch -  

has_no_active_member

public final boolean has_no_active_member()
checking whether union has no active member
定義:
インタフェース DynUnionOperations 内の has_no_active_member

discriminator_kind

public final TCKind discriminator_kind()
Getting discriminator kind
定義:
インタフェース DynUnionOperations 内の discriminator_kind
戻り値:
TCKind

member

public final DynAny member()
                    throws InvalidValue
Getting member
定義:
インタフェース DynUnionOperations 内の member
戻り値:
DynAny
例外:
InvalidValue -  

member_name

public final java.lang.String member_name()
                                   throws InvalidValue
getting member_name which union value is inserted
定義:
インタフェース DynUnionOperations 内の member_name
戻り値:
String
例外:
InvalidValue -  

member_kind

public final TCKind member_kind()
                         throws InvalidValue
getting kind of member
定義:
インタフェース DynUnionOperations 内の member_kind
戻り値:
TCKind
例外:
InvalidValue -