Main Content

Extend Architectural Elements

Add custom properties to architectural elements using stereotypes

System Composer™ provides built-in element types: components, ports, and connectors. Create element stereotypes (2) to extend element types with additional properties (5) that help capture and analyze nonfunctional requirements. Package stereotypes into profiles (1) to provide self-consistent architectural domains. Share profiles between models to ensure consistency within a project.

Profile overview

Stereotypes (2) have names and also a set of additional properties that can be used to capture additional data about an element. Model elements can have multiple stereotypes.

Classes

systemcomposer.profile.ProfileClass that represents a profile
systemcomposer.profile.PropertyClass that represents a property
systemcomposer.profile.StereotypeClass that represents a stereotype

Functions

expand all

createProfileCreate profile
loadProfileLoad profile by name
applyProfileApply profile to a model
removeProfileRemove profile from model
findFind profile by name
loadLoad profile from file
saveSave profile as file
openOpen profile
closeClose profile
closeAllClose all open profiles
destroyRemove and destroy model element
addPropertyDefine a custom property for a stereotype
getPropertyGet property value corresponding to stereotype applied to element
setPropertySet property value corresponding to stereotype applied to element
removePropertyRemove property from stereotype
destroyRemove and destroy model element
getDefaultStereotypeGet default stereotype for profile
setDefaultStereotypeSet default stereotype for profile
setDefaultComponentStereotypeSet default stereotype for components
setDefaultConnectorStereotypeSet default stereotype for connectors
setDefaultPortStereotypeSet default stereotype for ports
addStereotypeAdd stereotype to profile
getStereotypeFind stereotype in profile by name
applyStereotypeApply stereotype to architecture model element
batchApplyStereotypeApply stereotype to all elements in specified architecture
getStereotypesGet stereotypes applied on element of architecture model
removeStereotypeRemove stereotype from model element
findFind stereotype by name
destroyRemove and destroy model element

Topics

Define Profiles and Stereotypes

Define specialized model element types based on components, ports, and connectors.

Use Stereotypes and Profiles

Import profiles, apply stereotypes to model elements, and extend existing stereotypes.

Analyze Architecture

Write analyses based on element properties to perform data-driven trade studies and verify system requirements.