systemcomposer.profile.Stereotype

Class that represents a stereotype

Description

The Stereotype class represents architecture stereotypes in a profile.

Creation

addStereotype(profile,name,type)

Properties

expand all

Name of stereotype, returned as a character vector.

Data Types: char

Description text for stereotype, returned as a character vector.

Data Types: char

Icon for stereotype, returned as a character vector.

Data Types: char

Stereotype from which stereotype inherits properties, returned as a systemcomposer.profile.Stereotype object.

Element type to which stereotype can be applied, returned as a character vector of the following options: 'Component', 'Port', 'Connector', or 'Interface'.

Data Types: char

Whether stereotype is abstract, returned as a logical of numeric 1 (true) or 0(false). If true, then stereotype cannot be directly applied on model elements, but instead serves as a parent for other stereotypes.

Data Types: logical

Object Functions

addPropertyDefine a custom property for a stereotype
removePropertyRemove property from stereotype
findFind stereotype by name
setDefaultComponentStereotypeSet default stereotype for components
setDefaultConnectorStereotypeSet default stereotype for connectors
setDefaultPortStereotypeSet default stereotype for ports
destroyRemove and destroy model element
Introduced in R2019a