Model property sets and UML profiles

The new UML modeling products store domain-specific information as properties of stereotypes in UML profiles.

While Rational Rose® stores domain-specific information as custom attributes in model property sets and defines stereotype images in stereotype configuration files, all of this information converts into UML profiles during the Rose model import process. UML profiles customize and extend the UML for specific projects and processes.

Rose model property sets

Rose model properties are modifiable values that you can attach to a Rose model and related model elements. Property sets provide a way for you to define specific information that is not expressed in standard UML notation, but that is necessary to extend the UML to meet domain-specific requirements of your code, project, or processes.

Unlike Rose stereotypes, Rose model properties do not appear in the diagram editor. Specifically, property sets are implicitly applied (similar to required stereotype extensions in UML) and their names do not appear inside stereotype brackets. Rose model property set files have a .pty file name extension.

UML profiles

A profile is a package that contains UML stereotypes that extend the elements (metaclasses) of the UML language for a specific domain or purpose. UML stereotypes have properties that are typed by the standard UML primitive types or by enumerations and classes also defined in the profile. They may also have icons and scalable shape images associated with them. UML stereotypes combine all of the features of Rose stereotypes and property sets into a single metamodel extension mechanism.

Profiles identify a particular subset of the UML metamodel and define stereotypes and constraints that may be applied to it. The UML Basic, Intermediate, and Complete, profiles are automatically applied to every model. Software Architect and Software Modeler also provide the Deployment profile and the Default profile, both of which are also automatically applied to every model.

UML profile files have an .epx file name extension. You can view profiles in the Project Explorer view.

During the import process, the Rose Model Import wizard converts all Rose stereotypes to UML stereotypes in the following ways:

During the import process, the Rose Model Import wizard converts all Rose property sets to UML stereotypes in the following ways:

Stereotypes imported from a Rose stereotype configuration file are applied to elements that have a corresponding stereotype in the Rose model. This may be in addition to other stereotypes already applied during the import process.

During the import process, the stereotypes imported from Rose property sets are applied to elements in the following ways:

Note: UML stereotypes imported from property sets are automatically suppressed so they do not appear in the diagram editor. In order to see property values on elements to which they are applied, you must select the Show unsuppressed properties check box on the Views page of the Preferences window.


Feedback