Chapter 6 Managing Models


Name and Code format properties

The following options are available for formatting names and codes:

Option Description
Display Name Displays the names of objects in the interface
Display Code Displays the codes of objects in the interface
Enable name/code conversions Enables the use of conversion scripts and conversion tables to generate a code from a name or a name from a code. See section Name and code conversion scripts
Naming Template Specifies a template for name and code format
Maximum Length Maximum number of characters. In a PDM, this maximum number of characters can come from the Registry (if you defined a Maximum length and clicked the Set As Default button) or from the DBMS definition file. If a maximum length is declared in both the Registry and the DBMS, PowerDesigner uses the length with higher constraint. For example, in the case where the Registry = 128 and the DBMS = 30, PowerDesigner uses 30 characters for maximum length
Character Case Indicates authorized character cases: Uppercase, Lowercase, and Mixed Case
Valid Characters List of authorized characters.

You can specify a single character or character string in quotation marks. For example:

"a", "xyz"


You can specify an interval of characters between single quotation marks separated by a dash. For example:

'a'-'z'
'a'-'z', 'A'-'Z', '0'-'9'


By default, PowerDesigner allows the following valid characters for codes:
'a'-'z','A'-'Z','0'-'9',"_"
All Valid Accepts all characters.
Invalid Characters List of unauthorized characters. By default, PowerDesigner defines the following invalid characters for names:

"+-*/\.,!:;"
No Accents Removes accents from accented characters.
Default Character Character used to replace any invalid characters entered.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.