Defining domains

4 Select a data type from the dropdown listbox.

Undefined data type

If you do not want to select a data type immediately, you can choose the <Undefined> data type. When you generate Java or PowerBuilder objects, this data type is replaced by the default data type for your target object language.

5 Click OK.

Selecting a data type for a domain from its property sheet

ϖTo select a data type for a domain from its property sheet:

1Select ModelDomains. The List of Domains appears.

2Click the domain to define.

An arrow appears at the beginning of the line.

3Click the Properties tool. or

Double-click the arrow at the beginning of the line. The domain property sheet appears.

4Select a data type from the Data Type dropdown list box.

Selecting a data type from a list of standard data types

You can select a data type from a list of standard data types by clicking the Question Mark button at the end of the Data Type dropdown listbox, and selecting the radio button for a data type from the list that appears.

5Type the maximum number of characters for the data item in the Length box.

6If the data type can include values that take a decimal point, type the number of places after the decimal point in the Precision box.

7Click OK.

124

Page 134
Image 134
Sybase 7.5 manual Selecting a data type for a domain from its property sheet, Undefined data type, 124