Chapter 4 Managing Profiles


Working with a profile

You can extend the metamodel in the following ways:

Extension conflict

You can attach several resource files to a model. For example, an OOM always has an object language resource file, and could additionally have several extended model definitions attached. A conflict would occur if two extensions with identical names were defined on the same metaclass in two or more of these resource files.

For example, the stereotype <<document>> is defined for components in two extended model definitions attached to the same OOM and each has a different custom symbol. When you create a component and assign the <<document>> stereotype,:PowerDesigner may select either of the symbols.

In case of such conflicts, the extended model definition extension usually prevails. When two XEMs are in conflict, priority is given to the one highest in the list.

 


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