Use profiles to add properties to components, ports, and connectors. Import an existing profile, apply stereotypes, and add property values. To create a profile, see Define Profiles and Stereotypes.
The Profile Editor is independent from the model that opens it, that is, you must explicitly import a new profile into a model. On the Model tab and in the Profiles section, select Manage and then from the drop-down, select Import . Select the profile to import. An architecture model can use multiple profiles at once.
Once the profile is available in the model, open the Property Inspector. On the Modeling tab and in the Design section, select Property Inspector. Select a model element.
In the Stereotype field, use the drop-down to select the stereotype. Only the stereotypes that apply to this element type (for this example, a port) are available for selection. If no stereotype exists, you can use the <new/edit> option to open the profile editor and create one.
When you apply a stereotype to an element, a new set of properties appears in the Property Inspector under the name of the stereotype. Expand this set to edit the properties.
You can set multiple stereotypes for each element.
You can also apply component and connector stereotypes to all applicable elements at the same level.
On the Modeling tab and in the Profiles
section, select Apply Stereotypes. In the Apply Stereotypes dialog box
and from the Apply to list, select
Connectors. From the
in list, select
This layer, or
If a stereotype is no longer required for an element, remove it using the Property Inspector. Click Select next to the stereotype and choose Remove.
You can extend a stereotype by creating a new one based on the existing one. This allows you to control properties in a structural manner. For example, all components in a project may have a part number, but only electrical components have a power rating, and only electronic components, which is a subset of electrical components, have manufacturer information. You can use an abstract stereotype to serve solely as a base for other stereotypes and not as a stereotype for any architecture model elements.
For example, create a new stereotype called
the Profile Editor. Select its base stereotype as
FunctionalArchitecture.ElectricalComponent. Define properties you are
adding to those of the base stereotype. Check Show inherited properties
at the bottom of the property list to show the properties of the base stereotype. You can
edit only the properties of the selected stereotype, not the base stereotype.
When you apply the new stereotype, it carries its defined properties in addition to those of its base stereotype.