Chapter 4 Extending your Models with Profiles
The following properties are available for metaclasses:
Property | Description |
---|---|
Name | [not editable] Specifies the name of the metaclass. |
Parent | [not editable] Specifies the parent of the metaclass. If the parent metaclass is not present in the profile, when you click the Properties tool beside the Parent metaclass, a message is displayed to let you automatically insert it. |
Code naming convention | [concrete metaclasses only] Specifies a name to code conversion script for instances of the metaclass.
The following conversion scripts are available:
For more information on conversion scripts and naming conventions, see "Naming Conventions" section in the Models chapter of the Core Features Guide . |
Illegal characters | [concrete metaclasses only] Specifies a list of illegal characters that may not be used in code generation for the metaclass. The list must be placed between double quotes, for example:
"/!=<>""'()" When working with an OOM, this object-specific list overrides any values specified in the IllegalChar parameter for the object language (see "Settings category: object language" in the Resource Files and the Public Metamodel chapter). |
Enable selection in file generation | Specifies that the corresponding metaclass instances will appear in the Selection tab of the extended generation dialog box. If a parent metaclass is selected for file generation, children metaclasses also appear in the Selection tab. |
Exclude from model | [concrete metaclasses only] Prevents the creation of instances of the metaclass in the model and removes all references to the metaclass from the menus, palette, property sheets and so on, to simplify the interface. For example, if you do not use business rules, you can select this check box in the business rule metaclass page to hide them.
When several resource files are attached to a model, the metaclass is excluded if at least one file excludes it and the others do not explicitly enable it. For models that already have instances of this metaclass, the objects will be preserved but it will not be possible to create new ones. |
Comment | Specifies a descriptive comment for the metaclass. |
Copyright (C) 2008. Sybase Inc. All rights reserved. |