Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id852159285
Content column
id852159288
Content block
id852159287

A Profile is a kind of a package that extends a reference metamodel. The primary extension construct is a stereotype. Stereotypes are defined as a part of profiles.

A profile introduces several constraints or restrictions to ordinary metamodeling. Constraints and restrictions are realized using metaclasses defined in the package. It is a restricted form of a metamodel that always must be related to a reference metamodel, such as UML, as it is described below. It cannot be used without its reference metamodel, and it defines a limited capability to extend metaclasses of the reference metamodel. The extensions are defined as stereotypes that apply to the existing metaclasses.

Each profile contains a set of stereotypes. Profiles are defined as separate modules. Profiles are loaded on demand, that is when you start or open your project only profiles used in that project are loaded.

Profiles are defined using the UML extensibility mechanisms that allow modelers to customize UML for specific domains, for example, for software development processes. The mechanism of the profile is similar to the functionality of modules.

The program comes with some predefined profiles: UML Standard Profile, DDL, EDOC, and other. All profiles are stored in <modeling tool installation directory>\profiles.

Profile Properties

The profile is defined as a package, that is, it has package properties.

You can specify profile properties in the profile's Specification window. You can also find descriptions of each property in this window. Descriptions are provided in the description area below the property list. 

Creating Profiles

You can create a profile in one of the following ways:

pallet pallet pallet


Anchor
Shortcut
Shortcut
To create a profile using the package / model / profile shortcut menu


  1. In the Containment tree, select a package, a model, or another profile, wherein you want to create the new profile.
  2. From the shortcut menu of the selected package, model, or profile, select Create Element > Profile.
    Image Modified


Anchor
Profile Diagram
Profile Diagram
To create a profile using the profile diagram

pallet

palette


  1. Either create a new Profile diagram or open an existing one.
  2. On the diagram
pallet
  1. palette, click the Profile button.
  2. Click a free space on the diagram pane to see the created Profile.


Anchor
Package Diagram
Package Diagram
To create a profile using the package diagram

pallet

palette


  1. Either create a new Package diagram or open an existing one.
  2. On the diagram
pallet
  1. palette, click the Package arrow to see more buttons.
  2. Click the Profile button.
  3. Click a free space of the diagram pane to see the created Profile.


Anchor
Class Diagram
Class Diagram
To create a profile using the class diagram

pallet

palette


  1. Either create a new Class diagram or open an existing one. 
  2. On the Class diagram
pallet
  1. palette, do one of the following:
    • Expand the Profile Diagram button group and click the Profile button.
    • Expand the Package Diagram button group, click the Package arrow to see more buttons, and then click the Profile button.
  2. Click a free space of the diagram pane to see the created Profile.


Content block
id852159284