systemcomposer.arch.BaseComponent

Common base class for all components in an architecture model

Description

A systemcomposer.arch.BaseComponent cannot be constructed. Either create a systemcomposer.arch.Component or systemcomposer.arch.VariantComponent.

Properties

expand all

Architecture that owns this component, specified as a systemcomposer.arch.Architecture object.

Input and output ports of this component, specified as a systemcomposer.arch.ComponentPort object.

Architecture directly owned by this component, specified as a systemcomposer.arch.Architecture object.

Position of the component on the canvas, specified as a vector of coordinates, in pixels [left top right bottom].

Object Functions

getStereotypesGet the stereotypes applied on the element
getPropertyGet the property value corresponding to a stereotype applied to the element
setPropertySet the property value corresponding to a stereotype applied to the element
getEvaluatedPropertyValueGet evaluated value of property from component
isReferenceFind if an instance is a port instance
getPortGet the object a signal interface element
applyStereotypeApply a stereotype to a model element
connectConnect pairs of components

Introduced in R2019b