iAnywhere Water System User Manual

Defining domains
124
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
v To select a data type for a domain from its property sheet:
1 Select ModelDomains.
The List of Domains appears.
2 Click the domain to define.
An arrow appears at the beginning of the line.
3 Click the Properties tool.
or
Double-click the arrow at the beginning of the line.
The domain property sheet appears.
4 Select 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.
5 Type the maximum number of characters for the data item in the Length
box.
6 If the data type can include values that take a decimal point, type the
number of places after the decimal point in the Precision box.
7 Click OK.