Chapter 4 Extending your Models with Profiles


Extending objects in the profile

You can extend the metamodel in the following ways:

Note   Extension conflicts
Since you can attach several resource files to a model (for example, a target language and one or more extended model definitions) you can create conflicts, where multiple extensions with identical names (for example, two different stereotype definitions) are defined on the same metaclass in separate resource files. 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) 2008. Sybase Inc. All rights reserved.