Entries in the operation compartment are strings that show the operations defined on classes as well as those that are supplied by the classes. An operation is a service that can be requested to perform by an instance of the class. It has a name and a list of arguments.
Usually, class attributes are accessed through the operations. The operations are used to perform specific actions, such as system calls, utility functions, and queries. The operation signature provides all information needed to use that operation.
You can specify operation properties in the operation Specification window. In the same window, you can find the description of each property. Descriptions are presented in the description area of the Specification window.
To create a new operation, do one of the following
To define the type of an operation, do one of the following
Select an operation, type ":" and then the type. If you add a non-existent type, a new class is created for that type.
After typing the ":", press Ctrl+Space or Ctrl+Backspace to get a list of suggested types.
To quickly create a behavior or a diagram for an operation
To add an operation parameter, do one of the following