6.35.1 Repositoryのメソッド
-
public org.omg.CORBA.ArrayDef create_array(
int length, org.omg.CORBA.IDLType element_type)
このメソッドは,指定された長さおよび要素型で,リポジトリ内に配列定義を生成します。生成されたArrayDefのリファレンスが返されます。
-
length
配列内の要素数。この値は0より大きくしてください。
-
element_type
配列が含む要素のIDL型
-
-
public org.omg.CORBA.SequenceDef create_sequence(
int bound, org.omg.CORBA.IDLType element_type)
このメソッドは,指定された要素数(バウンド)および要素型で,リポジトリ内に配列定義を生成します。生成されたSequenceDefのリファレンスが返されます。
-
bound
シーケンスの最大長。この値は0以上にしてください。
-
element_type
シーケンスが含む要素のIDL型
-
-
public org.omg.CORBA.StringDef create_string(
int bound)
このメソッドは,指定された文字数(バウンド)で,リポジトリ内に文字列定義を生成します。生成されたStringDefのリファレンスが返されます。
-
bound
文字列の最大数。この値は0より大きくしてください。
-
-
public org.omg.CORBA.WstringDef create_wstring(
int bound)
このメソッドは,指定された文字数(バウンド)で,リポジトリ内にUnicode文字列定義を生成します。生成されたWstringDefのリファレンスが返されます。
-
bound
文字列の最大数。この値は0より大きくしてください。
-
-
public org.omg.CORBA.PrimitiveDef get_primitive(
org.omg.CORBA.PrimitiveKind kind)
このメソッドは,指定されたPrimitiveKindに対するPrimitiveDefオブジェクトを返します。
-
kind
基本型の種類
-
-
public org.omg.CORBA.Contained lookup_id(
java.lang.String search_id)
このメソッドは,指定した検索IDに一致するオブジェクトを,インタフェースリポジトリから検索します。一致するオブジェクトが見つからない場合,nullが返されます。
-
search_id
検索に使用する識別子
-
-
public org.omg.CORBA.FixedDef create_fixed(
short digits, short scale)
このメソッドは,fixed型のけた数とスケールを設定します。
-
digits
fixed型のけた数
-
scale
fixed型のスケール
-