Extending the UML metamodel

If you are modeling a system and need to extend the UML metamodel for a particular use, instead of changing the metamodel, you can create a set of stereotypes and constraints and group them into a custom UML profile. You can apply a custom UML profile to a model and use the stereotypes and constraints to mark up your model for a specific platform or domain. For example, you can create a profile that controls how a transformation generates C++ code from a UML model.

About this task

Tip: In addition to the UML Profile online help, several profile-related white papers are available from the Rational developerWorks site that provide additional information on UML profiles. Links to these resources are available in the Related Information section at the bottom of this topic.