![Sybase Powerdesigner 7.5 User Manual Download Page 77](http://html1.mh-extra.com/html/sybase/powerdesigner-7-5/powerdesigner-7-5_user-manual_1416512077.webp)
Chapter 2 Building an Object-Oriented Model
67
Defining operations
An operation is a service that can be requested from an object to effect
behavior. It has a name and a list of parameters. An operation is a
specification of a transformation or query that an object may be called to
execute.
Operation names within a class must be unique. You can give identical names
to two or more operations only if they exist in different classes.
Operation properties
An operation has the following properties:
Property
Description
Maximum
length
Parent
Object to which the operation belongs to
254
Name
Name of the operation
254
Code
Reference name for the operation
254
Comment
Descriptive comment for the operation
—
Stereotype
Subclassification of an operation derived from an
existing one. Extends the semantics of an operation
without changing it's structure
—
Return Type
A list of values returned by a call of the operation.
If there are no values returned by the operation, the
return type value is null
—
Visibility
Visibility of the operation, whose value denotes
how it may be seen outside its enclosing name
space
—
Event
Significant occurrence that has a location in time
and space. An event can trigger a state transition
—
Abstract
Indicates that the operation cannot be instantiated
and therefore has no direct instances
—
Final
Indicates that the operation cannot be redefined
—
Static
Defines the operation as static, meaning it cannot
be modified
—
An operation definition also includes business rules, and parameters, which
are defined on associated property sheets.
Summary of Contents for Powerdesigner 7.5
Page 1: ...OBJECT ORIENTED MODEL User s Guide POWERDESIGNER 7 5...
Page 8: ...viii...
Page 22: ...Defining OOM properties 12...
Page 144: ...Defining check parameters 134...
Page 208: ...Generating for XML 198 6 Click OK An XML file is generated with the file extension xml...
Page 210: ...Customizing scripts 200...
Page 224: ...Generating a CDM from an OOM 214...
Page 238: ...Generating a PDM from an OOM 228...
Page 260: ...Object language editor categories 250...
Page 268: ...Applying business rules to objects 258...
Page 288: ...278...