Sybase 7.5 Water System User Manual


 
Chapter 2 Building an Object-Oriented Model
31
The Selection window appears. It contains a list of all the attributes that
exist in the model, with the exception of those that already belong to the
class.
4 Select the attributes that you want to add to the class.
or
Use the Select All tool to add all the attributes in the list to the class.
5 Click OK.
The attributes are added to the class and appear at the end of the list.
6 Click OK.
Adding an operation to a class
An operation is the implementation of a service that can be requested from
any object of the class in order to affect behavior.
You can add operations that already exist in the model and which belong to
other objects.
v To add an operation to a class:
1 Double-click a class in the model.
The class property sheet appears.
2 Click the Operations tab.