3-26
SOMobjects Base Toolkit Programmer’s Reference Manual
OperationDef Class
Description
The OperationDef class provides the interface for operation (method) definitions in the
Interface Repository.
File Stem
operatdf
Base
Contained, Container
Metaclass
SOMClass
Ancestor Classes
Contained
Container
SOMObject
Types
typedef Identifier ContextIdentifier;
enum OperationMode {NORMAL, ONEWAY};
struct OperationDescription {
Identifier name;
RepositoryId id;
RepositoryId defined_in;
TypeCode result;
OperationMode mode;
sequence<ContextIdentifier> contexts;
sequence<ParameterDef::ParameterDescription> parameter;
sequence<ExceptionDef::ExceptionDescription> exceptions;
};
The describe method, inherited from Contained, returns an OperationDescription
structure in the value member of the Description structure (defined in the Contained
class). The describe_contents method, inherited from Container, returns a sequence of
these Description structures, each carrying a reference to an OperationDescription
structure in its value member.
Komentarze do niniejszej Instrukcji