Chapter 8 Using Object Languages

Namings

You can modify the following default names for Getter and Setter operations:

Getter operation

Name

 

 

 

 

 

*

 

Setter operation

Name

 

 

 

 

 

 

boolean

 

 

 

 

 

*

 

 

 

 

Default value

set%Code%

Default value

is%Code%

get%Code%

Event

You can use this sub-category to define events on operations. The default exisiting events are constructor and destructor.

Extended Attributes category

The Extended Attributes category allows he user to define extended attributes for the OOM objects.

The extended attributes can be used in the generation process. Each extended attribute becomes a variable that can be referenced in the scripts defined in the Script category.

249

Page 259
Image 259
Sybase 7.5 manual Extended Attributes category, Namings, Event, 249