CORBA module: AttributeDef Interface

Overview The AttributeDef interface is used within the Interface Repository to represent the information that defines an attribute of an interface.
File name wasir.idl
Local-only True
Ancestor interfaces Contained Interface
Exceptions CORBA::SystemException
Supported operations AttributeDef::describe
AttributeDef::mode
IDLType::type
AttributeDef::type_def


Intended Usage

The AttributeDef object is used to represent the information that defines an attribute of an interface. An AttributeDef may be created by calling the create_attribute operation of the InterfaceDef interface. The create_attribute parameters include the unique RepositoryId (CORBA::RepositoryId), the name (CORBA::Identifier), the version (CORBA::VersionSpec), the type (CORBA::IDLType*) to indicate the type of the attribute, and a parameter to indicate the mode of the attribute (read. read/write, etc.).

Syntax

  module CORBA
     {
        enum AttributeMode {ATTR_NORMAL, ATTR_READONLY};
        interface AttributeDef:Contained
        {
           readonlyattribute TypeCodetype;
           attribute IDLType type_def;
           attribute AttributeMode mode;
        };
        struct AttributeDescription
        {
           Identifier name;
           RepositoryId id;
           RepositoryId defined_in;
           VersionSpec version;
           TypeCode type;
           AttributeMode mode;
        };
     };

Related reference
AttributeDef::describe
AttributeDef::mode
AttributeDef::type_def



Searchable topic ID:   rcor_modatd
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modatd.html

Library | Support | Terms of Use | Feedback