![Sybase Powerdesigner 7.5 Скачать руководство пользователя страница 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.
Содержание Powerdesigner 7.5
Страница 1: ...OBJECT ORIENTED MODEL User s Guide POWERDESIGNER 7 5...
Страница 8: ...viii...
Страница 22: ...Defining OOM properties 12...
Страница 97: ...Chapter 2 Building an Object Oriented Model 87 4 Modify the operation display preferences 5 Click OK...
Страница 144: ...Defining check parameters 134...
Страница 208: ...Generating for XML 198 6 Click OK An XML file is generated with the file extension xml...
Страница 210: ...Customizing scripts 200...
Страница 224: ...Generating a CDM from an OOM 214...
Страница 238: ...Generating a PDM from an OOM 228...
Страница 260: ...Object language editor categories 250...
Страница 268: ...Applying business rules to objects 258...
Страница 288: ...278...