
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
The property sheet of the operation appears.
68