ページの先頭行へ戻る
Interstage Application Server リファレンスマニュアル(API編)
Interstage

3.17.8 ConstantDefインタフェース

3.17.8.1 org.omg.CORBA.ConstantDef.type()

名前

org.omg.CORBA.ConstantDef.type

形式

public interface ConstantDef extends CORBA.Contained,
        ConstantDefOperations,
        org.omg.CORBA.portable.IDLEntity,
        org.omg.CORBA.Object
{
       public org.omg.CORBA.TypeCode type();
}

機能説明

定数定義オブジェクトのTypeCodeを返します。

復帰値

正常終了した場合は、TypeCodeが返されます。
異常終了した場合は、org.omg.CORBA.SystemExceptionが発生します。

システム例外発生時に設定された例外情報およびマイナーコードの意味については、“メッセージ集”の“CORBAサービスから通知される例外情報/マイナーコード”を参照してください。

3.17.8.2 org.omg.CORBA.ConstantDef.value()

名前

org.omg.CORBA.ConstantDef.value

形式

public interface ConstantDef extends CORBA.Contained,
        ConstantDefOperations,
        org.omg.CORBA.portable.IDLEntity,
        org.omg.CORBA.Object
{
       public org.omg.CORBA.Any value();
}

機能説明

ConstantDefオブジェクトの定数の値を、any型で返します。

復帰値

正常終了した場合は、定数の値(org.omg.CORBA.Any型)が返されます。
異常終了した場合は、org.omg.CORBA.SystemExceptionが発生します。

システム例外発生時に設定された例外情報およびマイナーコードの意味については、“メッセージ集”の“CORBAサービスから通知される例外情報/マイナーコード”を参照してください。

3.17.8.3 継承されて使用できるメソッド

(1) org.omg.CORBA.ConstantDef.def_kind
(2) org.omg.CORBA.ConstantDef.id
(3) org.omg.CORBA.ConstantDef.name
(4) org.omg.CORBA.ConstantDef.defined_in
(5) org.omg.CORBA.ConstantDef.describe

(1)については、“IRObject共通インタフェース”を継承します。
“org.omg.CORBA.IRObject”の部分を“org.omg.CORBA.ConstantDef”に置き換えて使用することができます。
関数の仕様については、“3.17.2 IRObject共通インタフェース”を参照してください。

(2)~(5)については、“Contained共通インタフェース”を継承します。
“org.omg.CORBA.Contained”の部分を“org.omg.CORBA.ConstantDef”に置き換えて使用することができます。
関数の仕様については、“3.17.3 Contained共通インタフェース”を参照してください。