Operation
A dialog box allows the operation parametrisation.
The fields to enter are the ones defining a uml operation in the UML semantics notation.
The parameters are the following:
The name of the operation.
UMLAUT gives a value by default. You can change it.
The stereotype.
The visibility.
- public: any element can call the operation
- protected: only the current class instance or instance of a descendent class can call the operation
- private: only the current class instance can call the operation
The Owner scope : indicates if the operation applies to instances of the class or to the class itself
- instance: operation applies to instances of the class.
- class: operation applies to the class itself.
The Concurrency : semantics of the calls to the operation
- sequential: only one call at a time.
- guarded: Multiple call can be done, but only one occurs at a time.
- concurrent: Multiple call can be done at a time.
Other caracterizations :
- query: The operation returns a value but has no side_effect on the class instance.
Specification of the parameters.
Pre and Post conditions.