iAnywhere Water System User Manual

Chapter 1 Object-Oriented Model Basics
9
Defining OOM model options
You can set model options and naming conventions that apply to all objects
in the model. You can also set naming conventions for each type of object in
your model.
You define OOM model options from the model options dialog box.
You can set options that apply to the following OOM objects:
Classes
Default data types
Domain/Attribute
You can set the following option for classes in an OOM:
Option Description
Show classes as
datatypes
Includes classes that exist in the model in the list of data
types that you can define for attributes, operations, or
parameters
The default data type is the data type that applies to attributes, operations and
parameters if no data type is selected.
You can set the following options for default data type in an OOM:
Option Description
Attribute Default
Data Type
Defines the default data type for all new attributes
Operation Default
Data Type
Defines the default return type for all new operations
Parameter Default
Data Type
Defines the default data type for all new operation
parameters
From the Model Options dialog box, you can choose to enforce non-
divergence between a domain definition and the attributes using the domain,
for the following attribute properties:
Property Attributes in the domain cannot have divergent
Data type Data type, length, and precision
Check Check parameters
Classes
Default data types
Domains/Attribute