![Sybase Powerdesigner 7.5 Скачать руководство пользователя страница 84](http://html1.mh-extra.com/html/sybase/powerdesigner-7-5/powerdesigner-7-5_user-manual_1416512084.webp)
Defining operations
74
You can create two types of constructor for a given class:
Default
Copy
A Default constructor has no parameters.
Adding a Default constructor and destructor to a class
You can define only one Default constructor and one Default destructor
(PowerBuilder only) for any given class.
If the current object language of the OOM is Analysis or Java, you can create
only one Default constructor and no Default destructor for a class. The
constructor has the same name as the class to which it belongs.
If the current object language of the OOM is PowerBuilder, you can create
one Default constructor and one Default destructor for a class. The
constructor has the name "constructor" and destructor has the name
"destructor".
v
To add a Default constructor and destructor to a class:
1
Double-click a class in the model.
2
Click the Operations tab.
3
Click the Add button.
4
Select Default Constructor/Destructor from the dropdown list.
Содержание 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...