Chapter 4 Managing Profiles


Available extensions

Depending on the level where you define the extensions, different items are available.

You can attach several resource files to a model, that are several extended model definitions together with the object language or the DBMS of the model. The extensions defined in each resource file appear in separate sub-tabs to indicate their origin.

For example in a PDM, extended attributes may be defined for a table in the DBMS and in the different extended model definitions attached to the model, they appear in different sub-tabs in the Extended Attributes tab in the property sheet of the table.


Extension conflict

A conflict occurs when extensions with identical names are defined on the same metaclasses in different resource files attached to the same model.

For example, stereotype <<document>> is defined for components in two extended model definitions attached to the same OOM. In each extended model definition, stereotype <<document>> has a different custom symbol. A conflict occurs when you create a component and assign the <<document>> stereotype: PowerDesigner will randomly select one of the symbols.

In case of conflict between DBMS or object language and extended model definition, the extended model definition extension usually prevails.

Metaclass extensions

Extensions defined on a metaclass apply to all instances of the metaclass. You can extend a metaclass semantics using the following elements:

Stereotype and criterion

Extensions defined for a stereotype or a criterion, apply to the metaclass instances with the stereotype or to the metaclass instances that verify the criterion condition.

You can define the following extensions in a stereotype or a criterion:

 


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