applyStereotype
Apply stereotype to model element
Description
applyStereotype(
applies a stereotype to a model element if the stereotype is not already applied to a model
element. Stereotypes can be applied to architecture, component, port, connector, interface,
allocation, function model elements, action, parameter and flow . The function model element
is only available in software architectures. The action, parameter and flow elements are
only available in activity diagram.element,stereotype)
Examples
Input Arguments
More About
Version History
Introduced in R2019a
See Also
Tools
Blocks
Objects
systemcomposer.profile.Profile|systemcomposer.profile.Stereotype|systemcomposer.profile.Property|systemcomposer.profile.Style
Functions
systemcomposer.profile.Profile.createProfile|systemcomposer.loadProfile|applyProfile|removeProfile|renameProfile|systemcomposer.profile.editor|systemcomposer.profile.Profile.find|systemcomposer.profile.Profile.load|save|open|close|systemcomposer.profile.Profile.closeAll|getExtendedElement|systemcomposer.profile.Stereotype.find|getDefaultStereotype|setDefaultStereotype|getDefaultElementStereotype|setDefaultElementStereotype|addStereotype|removeStereotype|getStereotype|batchApplyStereotype|getStereotypes|changeStereotype|removeStereotype|hasStereotype|addProperty|removeProperty|hasProperty|isDerivedFrom|setProperty|getProperty|getPropertyValue|getEvaluatedPropertyValue|getStereotypeProperties|applyStereotypeOrder|getStereotypeNamesByOrder|increaseStereotypeOrder|decreaseStereotypeOrder