Model Parts, Diagrams, Dictionary Items, and Properties > Dictionary items > Stereotype (dictionary item)
  
Stereotype (dictionary item)
For automation interface information about a Stereotype, see Stereotype (automation interface).
Stereotypes provide a way of extending the properties and linking capabilities of items in a Model. Through a Stereotype you can apply a set of Tag Definitions to an item. For information about extensibility through stereotypes and tag definitions, click here Overview of extensibility through profiles, stereotypes, tag definitions and scripts.
You can create a Stereotype through the context menu of a Package: right-click the Package, point to New, point to UML, point to Profiles, and then click Stereotype. In addition, you can create Stereotypes on a Profile Diagram.
When shown on a Profile Diagram, a Stereotype's notation is as follows:
For information about the View Options available for this symbol, see Stereotype view options - profile diagram.
If you apply a Stereotype to an item that appears on a diagram, you can display the Stereotype and its Tag Definitions on the diagram. For more information about displaying Stereotypes on a diagram, click here Overview of displaying stereotype and tag definition information on diagrams.
Stereotypes can inherit properties, valid model item types, Tag Definitions and Scripts from other Stereotypes. When a sub Stereotype inherits Tag Definitions and Scripts through a Generalization, you can redefine those Tag Definitions and Scripts independently of the super Stereotype's Tag Definitions and Scripts. To redefine a Tag Definition or Script: right-click the Tag Definition or Script, and then click Redefine.
In the Modeler panes, a short-cut symbol on the Stereotype's icon indicates that the item is a stub.
The following sections provide information about how a Stereotype is used in the model. For more information about a property, item, model part or diagram, click it.
Properties
In addition to the standard properties, a Stereotype has these properties:
Abstract
Applicable Diagram Types (Applicable Type association of associated Script object through the automation interface)
Apply to All Objects of Associated Model Item Types
Apply to New Symbols
Browsable (Browseable through the automation interface)
Command Context (attribute of associated Script object through the automation interface)
Command Icon (Icon and Icon Available attributes of associated Script object through the automation interface)
Contents
Create As Note Symbol
Diagram Toolbar Command Script (Script, Script Text or Text attribute of associated Script object through the automation interface)
Diagram Toolbar Command (Command Id attribute of associated Script object through the automation interface)
Disable Item Specific Property Pages (Hide Bespoke Property Pages through automation interface)
Double Click Script (Script, Script Text or Text attribute of associated Script object through the automation interface)
Double Click (Owned Double Click Script association to owned Script object)
Enable Default Value Editing
Group (Command Group through the automation interface)
Hide Creation Commands
Hide Custom Meta Type Menus (Hide Meta Type Menus through the automation interface)
Keyword
Menu Command Script (Script, Script Text or Text attribute of associated Script object through the automation interface)
Menu Text (attribute of associated Script object through the automation interface)
Name Alias
On Delete Script (Script, Script Text or Text attribute of associated Script object through the automation interface)
On Delete (Owned On Delete Script association to owned Script object)
On Drop Script (Script, Script Text or Text attribute of associated Script object through the automation interface)
On Drop (Owned On Drop Script association to owned Script object)
On Model Close Script (Script, Script Text or Text attribute of associated Script object through the automation interface)
On Model Close (Owned On Model Close Script association to owned Script object)
On Model Open Script (Script, Script Text or Text attribute of associated Script object through the automation interface)
On Model Open (Owned On Model Open Script association to owned Script object)
Override Type Name
Overrideable
Script Only
Separator Before (attribute of associated Script object through the automation interface)
Show on All Diagrams
Status Bar Text (attribute of associated Script object through the automation interface)
Tag Definition Order
ToolTip Text (attribute of associated Script object through the automation interface)
Visibility
The Style properties are as follows:
Aspect Ratio
Background Color
Compartments
Fill Color
Font
Icon
Image
Line Color
Name Only
Text Color
Owned by
Model
Package
Owns
Comment
Constraint
Dependency
Generalization - The Generalization is owned jointly by the Stereotypes it links. The access permissions you have to a Generalization are determined by the access permissions you have to the sub Stereotype.
Script
Defined in these parts of the model
None.
Shown on these diagrams
A Stereotype can appear on a diagram when it has been applied to an item that appears on a diagram.
Activity Diagram
Class Diagram
Communication Diagram
Composite Structure Diagram
Concurrency Diagram
Constraints Diagram
General Flow Diagram
General Graphics Diagram
Object Diagram
Profile Diagram (shows Stereotype as an item)
Sequence Diagram
State Diagram
System Architecture Diagram
Table Relationships Diagram
Use Case Diagram
Variant Diagram
For information about how the View Options affect the presentation of Stereotypes, see the following topics:
Shown stereotypes view options - all diagrams
Stereotypes view options for a diagram - all diagrams
Stereotypes view options for a symbol - all diagrams
Can be linked to these dictionary items
A Stereotype can be linked to the following items.
Tag Definition - the linked Tag Definitions specify the extended properties that are applied by the Stereotype.
A Stereotype is unusual in that it can be linked to Model Item Types, which are not dictionary items as such. Linking a Stereotype to a Model Item Type specifies that the Stereotype can be applied to items of that type.
A Stereotype can be linked to most item and diagram types in the model for the purpose of applying extended properties.