10.4.18 AttributeDef

次に示すAttributeDefは、インタフェースの属性を定義する情報を表します。

module CORBA {
     enum AttributeMode {ATTR_NORMAL, ATTR_READONLY};
     interface AttributeDef : Contained {
         readonly       attribute TypeCode       type;
                        attribute IDLType        type_def;
                        attribute AttributeMode  mode;
    };
    struct AttributeDescription {
         Identifier        name;
         RepositoryId      id;
         RepositoryId      defined_in;
         VersionSpec       version;
         TypeCode          type;
         AttributeMode     mode;
    };
};
type
この属性の型を記述するTypeCodeを指定します。
type_def
この属性の型を定義するオブジェクトを識別します。
mode
この属性に対するアクセス権として読取り専用または読取り/書込みを指定します。

AttributeDefオブジェクトのdescribe操作は、AttributeDescriptionを返します。