Defining operations

Creating an operation from a class in a diagram

You can create an operation from a class or an interface in a diagram in the same way.

ϖTo create an operation from a class in a diagram:

1Double-click a class in the model. The class property sheet appears.

2Click the Operations tab.

The Operations page appears. It lists operations defined for the class.

3Click a blank line in the list. or

Click the Add a Row tool.

An arrow appears at the beginning of the line.

4Type an operation name and an operation code.

5Click OK.

The operation is created for the class and appears in the list of operations for the class.

6Click OK.

70

Page 80
Image 80
Sybase 7.5 manual Creating an operation from a class in a diagram, To create an operation from a class in a diagram