Defining simple types

Defining simple type properties

To display a simple type property sheet, double-click its name or its icon in the Browser tree view.

The General page of a simple type property sheet displays the following properties:

Property

Description

Name

Name of the simple type. It must be a no-colon-name (See

 

Glossary). If specified, it must be unique among all simple types

 

and complex types

Code

Code of the simple type. It must be a no-colon-name. If specified,

 

it must be unique among all simple types and complex types

Comment

Descriptive label of the simple type

Stereotype

Sub-classification used to extend the semantics of an object

 

without changing its structure. It can be predefined or user-

 

defined

Derivation

Derivation method for the simple type. Enabled and required

 

when the simple type is defined

Final

Property to prevent derivation of the current simple type

ID

ID of the simple type. Its value must be of type ID and unique

 

within the model containing the simple type

 

 

Modifying the simple type display preference

You can modify the Stereotype display preference for a simple type by selecting ToolsDisplay Preferences.

Creating a simple type

You can create a simple type:

From the Browser tree view

From the Model menu

™To create a simple type from the Browser tree view:

1 Right-click the name or the icon of the model.

2 Select NewSimple Type in the contextual menu.

90

PowerDesigner

Page 102
Image 102
Sybase XML manual Defining simple type properties, Modifying the simple type display preference, Creating a simple type