Defining operations

Analyzing operation properties

The following operation properties each have several default values from which you can select from:

Visibility

Stereotype

Visibility

Property

Private

Protected

Package

Public

Visible

Only to the operation itself

Only to the operation and its inherited objects

To all objects contained within the same package

To all objects

Stereotype

Stereotype

constructor

Description

Operation that creates and initializes an instance of a class

Creating an operation

There are three ways to create an operation:

Create an operation symbol in the Browser

Add a new operation to the list of operations

Create an operation from a class in a diagram

Creating an operation from the Browser

ϖTo create an operation from the Browser:

1 Right-click the Operations category in the Browser. 2 Select New from the contextual menu.

The property sheet of the operation appears.

68

Page 78
Image 78
Sybase 7.5 manual Analyzing operation properties, Creating an operation from the Browser