Skip to content

Commit

Permalink
feat(model): Add required and provided interfaces to ComponentPort
Browse files Browse the repository at this point in the history
(cherry picked from commit 36233b0)
  • Loading branch information
Wuestengecko committed Aug 30, 2024
1 parent 6b9070c commit 81b56cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions capellambse/metamodel/fa.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@ class ComponentPort(m.ModelElement):
direction = m.EnumPOD("orientation", modeltypes.OrientationPortKind)
owner = m.ParentAccessor(m.ModelElement)
exchanges: m.Accessor
provided_interfaces = m.AttrProxyAccessor(
m.ModelElement, "providedInterfaces", aslist=m.ElementList
)
required_interfaces = m.AttrProxyAccessor(
m.ModelElement, "requiredInterfaces", aslist=m.ElementList
)


@m.xtype_handler(None)
Expand Down

0 comments on commit 81b56cf

Please sign in to comment.