Create UML Profiles

When you are creating a Profile to define a new modeling solution, you initially create a package with the profile stereotype. You then consider the number of model elements (and hence Stereotype elements) you will need to create. If you are going to create:

A small number of Stereotype elements, you can manage them on a single child diagram within the Profile package, and save the diagram as the Profile
A large number of Stereotype elements, create them on as many child diagrams as are convenient (one Stereotype per diagram if you prefer) and save the package as the Profile

 

Every Stereotype element extends at least one Metaclass element. The Stereotype elements use the Profile name as their namespace. When you have created your Profile, you can incorporate it into an MDG Technology.

The process of creating a Profile and applying it to your models comprises a number of steps. Some of these steps are necessary only if you want the Profile to apply a specific meaning, display, appearance or syntax to a type of model element.

Create a Profile

Step

Description

See also

1

Create a Profile package in a technology development model.

 

Create a Profile Package

2

Add Stereotype and Metaclass elements to the child diagram(s) of the Profile package.

 

Add Stereotypes and Metaclasses

3

Define Tagged Values for the Stereotype elements.

 

Define Stereotype Tagged Values

4

Define constraints for the Stereotype elements.

 

Define Stereotype Constraints

5

Add an Enumeration element to define a drop-down list of values for a Tagged Value on the Stereotype element.

 

Add An Enumeration to a Stereotype

6

Add Shape Scripts for the Stereotype elements.

 

Add Shape Scripts

7

Set the default appearance for each stereotyped model element.

 

Set Default Appearance

8

Include Quick Linker definitions in the Profile.

 

Add Quick Linker Definition To Profile

9

Save either the package or the diagram as the Profile, and export it.

Export Profile

Save Profile Options

 

10

Incorporate the Profile into an MDG Technology and deploy the technology.

Create MDG Technologies

Add a Profile

Deploy An MDG Technology

 

Notes

A Profile package can contain several diagrams and many elements and connectors, but no other packages; do not use nested packages in a Profile
If you are creating a  Profile to form part of an MDG Technology', note that you define the special Toolbox pages, diagrams and Learning Center pages for the Technology in separate Profiles

Learn more