iAnywhere Water System User Manual

Chapter 2 Building an Object-Oriented Model
69
3 Type an operation name and an operation code.
4 Click OK.
A new operation is created in the Operations category.
Creating an operation from the list of operations
v To create an operation by inserting it in the list:
1 Select ModelOperations.
The list of operations appears.
Accessing the list of operations
The list of operations is accessible only from a diagram. If the current
diagram is of a package, the list contains all the operations that exist
in the package. If the current diagram is of the model, the list contains
all the operations that exist in the model.
2 Click a blank line in the list.
or
Click the Add a Row tool.
An arrow appears at the beginning of the line.
3 Type an operation name and an operation code.
4 Click the Stereotype column.
5 Select a stereotype from the Stereotype dropdown listbox.
or
Type a stereotype in the Stereotype column.
6 Click the Return Type column.
7 Select a return type from the Return Type dropdown listbox.
or
Type a return type in the Return Type column.
8 Click the Visibility column.
9 Select a value from the Visibility dropdown listbox.
10 Click OK.
The operation is created for the class.