Java プラットフォーム 1.2

クラス
org.omg.CORBA.TypeCode の使用

TypeCode を使用するパッケージ
org.omg.CORBA OMG CORBA API の JavaTM プログラミング言語 (ORB クラスを含む) へのマッピングを提供します。 
org.omg.CORBA.portable ポータビリティレイヤ、つまり、あるベンダーによって生成されたコードが他のベンダーの ORB で動作できるようにする一連の ORB API を提供します。 
org.omg.CosNaming Java IDL のネームサービスを提供します。  
org.omg.CosNaming.NamingContextPackage このパッケージは、org.omg.CosNaming パッケージで使用される例外 (AlreadyBoundCannotProceedInvalidNameNotEmpty、および NotFound) と、それらの例外の Helper クラスおよび Holder クラスを提供します。 
 

org.omg.CORBA における TypeCode の使用方法
 

TypeCode として宣言される org.omg.CORBA におけるフィールド
 TypeCode ValueMember.type
          この ValueMember オブジェクトによって記述される value メンバの型です。
 TypeCode TypeCodeHolder.value
          この TypeCodeHolder オブジェクトに格納されている TypeCode 値です。
 TypeCode StructMember.type
          この StructMember オブジェクトによって記述される構造体メンバの型です。
 TypeCode UnionMember.type
          この UnionMember オブジェクトによって記述される共用体メンバの型です。
 

TypeCode を返す org.omg.CORBA におけるメソッド
 TypeCode FixedHolder._type()
          このホルダーオブジェクトの TypeCode を返します。
 TypeCode ServiceInformationHolder._type()
          この ServiceInformationHolder オブジェクトの value フィールドに格納されている値に対応する TypeCode オブジェクトを取得します。
static TypeCode ServiceDetailHelper.type()
           
 TypeCode TypeCodeHolder._type()
          この TypeCodeHolder オブジェクトに格納されている値に対応する TypeCode を返します。
 TypeCode PrincipalHolder._type()
          推奨されません。  
 TypeCode CharHolder._type()
          この CharHolder オブジェクトに格納されている値に対応する TypeCode オブジェクトが返されます。
 TypeCode ObjectHolder._type()
          この ObjectHolder オブジェクトに格納されている値に対応する TypeCode が返されます。
 TypeCode AnyHolder._type()
          この AnyHolder オブジェクトに格納されている値に対応する TypeCode オブジェクトが返されます。
 TypeCode StringHolder._type()
          この StringHolder オブジェクトに格納されている値に対応する TypeCode オブジェクトを取得します。
 TypeCode ByteHolder._type()
          この ByteHolder オブジェクトに格納されている値に対応する TypeCode が返されます。
abstract  TypeCode ORB.get_primitive_tc(TCKind tcKind)
          指定されたプリミティブ IDL 型を表す TypeCode オブジェクトを取り出します。
abstract  TypeCode ORB.create_struct_tc(String id, String name, StructMember[] members)
          IDL の struct を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_union_tc(String id, String name, TypeCode discriminator_type, UnionMember[] members)
          IDL の union を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_enum_tc(String id, String name, String[] members)
          IDL の enum を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_alias_tc(String id, String name, TypeCode original_type)
          IDL の alias (typedef) を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_exception_tc(String id, String name, StructMember[] members)
          IDL の exception を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_interface_tc(String id, String name)
          IDL の interface を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_string_tc(int bound)
          IDL のバウンド形式 string を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_wstring_tc(int bound)
          IDL のバウンド形式 wstring (ワイド文字列) を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_sequence_tc(int bound, TypeCode element_type)
          IDL の sequence を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_recursive_sequence_tc(int bound, int offset)
          推奨されません。  
abstract  TypeCode ORB.create_array_tc(int length, TypeCode element_type)
          IDL の array を表す TypeCode オブジェクトを作成します。
 TypeCode ORB.create_native_tc(String id, String name)
          IDL ネイティブ型の TypeCode オブジェクトを作成します。
 TypeCode ORB.create_abstract_interface_tc(String id, String name)
          IDL の抽象インタフェースの TypeCode オブジェクトを作成します。
 TypeCode ORB.create_fixed_tc(short digits, short scale)
          IDL の fixed 型の TypeCode オブジェクトを作成します。
 TypeCode ORB.create_value_tc(String id, String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
           
 TypeCode ORB.create_recursive_tc(String id)
           
 TypeCode ORB.create_value_box_tc(String id, String name, TypeCode boxed_type)
           
 TypeCode TypeCode.get_compact_typecode()
           
abstract  TypeCode TypeCode.member_type(int index)
          指定されたインデックスで識別されるメンバの型を記述する TypeCode オブジェクトを取得します。
abstract  TypeCode TypeCode.discriminator_type()
          デフォルトのメンバではないすべてのラベルを記述する TypeCode オブジェクトを返します。
abstract  TypeCode TypeCode.content_type()
          この TypeCode オブジェクトによって記述されるオブジェクトのメンバの IDL 型を表す TypeCode オブジェクトを返します。
 TypeCode TypeCode.concrete_base_type()
          ターゲット TypeCode によって表される値型が具象基底値型を持つ場合、concrete_base_type オペレーションは具象基底の TypeCode を返し、そうでない場合は null が返されます。
 TypeCode DynAny.type()
          この DynAny に挿入されたオブジェクトの TypeCode を返します。
 TypeCode DynAny.get_typecode()
           
abstract  TypeCode Any.type()
          この Any オブジェクトに格納されている要素の型情報を返します。
abstract  TypeCode Any.extract_TypeCode()
           
 TypeCode LongHolder._type()
          Holder に格納されている値に対応する TypeCode オブジェクトが返されます。
 TypeCode ShortHolder._type()
          この ShortHolder オブジェクトに格納されている値に対応する TypeCode を返します。
 TypeCode FloatHolder._type()
          この Streamable の TypeCode を返します。
abstract  TypeCode ExceptionList.item(int index)
          指定されたインデックスにある TypeCode オブジェクトを返します。
static TypeCode ServiceInformationHelper.type()
           
 TypeCode IDLType.type()
           
 TypeCode DoubleHolder._type()
          このホルダーオブジェクトの TypeCode を返します。
 TypeCode IntHolder._type()
          この IntHolder オブジェクトの value フィールドに格納されている値に対応する TypeCode オブジェクトを取り出します。
 TypeCode BooleanHolder._type()
          この BooleanHolder オブジェクトに格納されている値に対応する TypeCode オブジェクトを取得します。
 

TypeCode のパラメータを持つ org.omg.CORBA におけるメソッド
abstract  void Request.set_return_type(TypeCode tc)
          メソッドの戻り値のタイプコードを設定します。
abstract  TypeCode ORB.create_union_tc(String id, String name, TypeCode discriminator_type, UnionMember[] members)
          IDL の union を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_alias_tc(String id, String name, TypeCode original_type)
          IDL の alias (typedef) を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_sequence_tc(int bound, TypeCode element_type)
          IDL の sequence を表す TypeCode オブジェクトを作成します。
abstract  TypeCode ORB.create_array_tc(int length, TypeCode element_type)
          IDL の array を表す TypeCode オブジェクトを作成します。
 TypeCode ORB.create_value_tc(String id, String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
           
 TypeCode ORB.create_value_box_tc(String id, String name, TypeCode boxed_type)
           
 DynAny ORB.create_basic_dyn_any(TypeCode type)
           
 DynStruct ORB.create_dyn_struct(TypeCode type)
           
 DynSequence ORB.create_dyn_sequence(TypeCode type)
           
 DynArray ORB.create_dyn_array(TypeCode type)
           
 DynUnion ORB.create_dyn_union(TypeCode type)
           
 DynEnum ORB.create_dyn_enum(TypeCode type)
           
abstract  boolean TypeCode.equal(TypeCode tc)
          この TypeCode オブジェクトと指定された TypeCode オブジェクトが等しいかどうかを比較します。
 boolean TypeCode.equivalent(TypeCode tc)
           
 void DynAny.insert_typecode(TypeCode value)
           
abstract  void Any.type(TypeCode t)
          この Any オブジェクトの type フィールドを、指定された TypeCode オブジェクトに設定し、その値をクリアします。
abstract  void Any.read_value(InputStream is, TypeCode t)
          指定されたタイプコードを使用して、指定された入力ストリームから Any オブジェクトの値を読み込みます (非整列化する)。
abstract  void Any.insert_Object(Object o, TypeCode t)
           
abstract  void Any.insert_TypeCode(TypeCode t)
           
 void Any.insert_fixed(BigDecimal value, TypeCode type)
           
 void Any.insert_Value(Serializable v, TypeCode t)
           
abstract  void ExceptionList.add(TypeCode exc)
          例外を記述する TypeCode オブジェクトをこの ExceptionList オブジェクトに追加します。
 

TypeCode のパラメータを持つ org.omg.CORBA におけるコンストラクタ
ValueMember.ValueMember(String __name, String __id, String __defined_in, String __version, TypeCode __type, IDLType __type_def, short __access)
          指定された値で初期化された ValueMember オブジェクトを構築します。
TypeCodeHolder.TypeCodeHolder(TypeCode initial)
          value フィールドを指定された TypeCode オブジェクトに初期化して、新しい TypeCodeHolder オブジェクトを構築します。
StructMember.StructMember(String __name, TypeCode __type, IDLType __type_def)
          指定された値で初期化された StructMember オブジェクトを構築します。
UnionMember.UnionMember(String __name, Any __label, TypeCode __type, IDLType __type_def)
          指定された値に初期化されたフィールドを持つ、新しい UnionMember オブジェクトを構築します。
 

org.omg.CORBA.portable における TypeCode の使用方法
 

TypeCode を返す org.omg.CORBA.portable におけるメソッド
abstract  TypeCode InputStream.read_TypeCode()
           
 TypeCode Streamable._type()
          Holder の value フィールドの値に対応する TypeCode オブジェクトを取り出します。
 

TypeCode のパラメータを持つ org.omg.CORBA.portable におけるメソッド
abstract  void OutputStream.write_TypeCode(TypeCode value)
           
 

org.omg.CosNaming における TypeCode の使用方法
 

TypeCode を返す org.omg.CosNaming におけるメソッド
 TypeCode BindingTypeHolder._type()
           
static TypeCode BindingListHelper.type()
           
 TypeCode BindingHolder._type()
           
static TypeCode NameHelper.type()
           
static TypeCode IstringHelper.type()
           
 TypeCode NamingContextHolder._type()
           
static TypeCode BindingIteratorHelper.type()
           
static TypeCode NameComponentHelper.type()
           
static TypeCode BindingTypeHelper.type()
           
static TypeCode NamingContextHelper.type()
           
 TypeCode NameHolder._type()
           
static TypeCode BindingHelper.type()
           
 TypeCode BindingListHolder._type()
           
 TypeCode BindingIteratorHolder._type()
           
 TypeCode NameComponentHolder._type()
           
 

org.omg.CosNaming.NamingContextPackage における TypeCode の使用方法
 

TypeCode を返す org.omg.CosNaming.NamingContextPackage におけるメソッド
static TypeCode NotEmptyHelper.type()
           
static TypeCode NotFoundHelper.type()
           
static TypeCode NotFoundReasonHelper.type()
           
 TypeCode InvalidNameHolder._type()
           
 TypeCode CannotProceedHolder._type()
           
 TypeCode NotFoundHolder._type()
           
static TypeCode CannotProceedHelper.type()
           
 TypeCode AlreadyBoundHolder._type()
           
 TypeCode NotEmptyHolder._type()
           
static TypeCode InvalidNameHelper.type()
           
 TypeCode NotFoundReasonHolder._type()
           
static TypeCode AlreadyBoundHelper.type()
           
 


Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.