Sybase 7.5 Water System User Manual


 
Defining operations
68
Analyzing operation properties
The following operation properties each have several default values from
which you can select from:
Visibility
Stereotype
Visibility
Property Visible
Private Only to the operation itself
Protected Only to the operation and its inherited objects
Package To all objects contained within the same package
Public To all objects
Stereotype
Stereotype Description
constructor 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
v 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.