Skip to content

Commit

Permalink
fix(model): Fix CapabilityRealization.involved_components
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuestengecko committed Feb 14, 2024
1 parent f843dae commit 2006c0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions capellambse/model/crosslayer/capellacommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
XT_ABSTRACT_STATE_REAL = (
"org.polarsys.capella.core.data.capellacommon:AbstractStateRealization"
)
XT_CAPABILITY_REALIZATION_INVOLVEMENT = (
"org.polarsys.capella.core.data.capellacommon"
":CapabilityRealizationInvolvement"
)


@c.xtype_handler(None)
Expand Down
4 changes: 2 additions & 2 deletions capellambse/model/layers/la.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ class CapabilityRealization(c.GenericElement):
attr="involved",
)
involved_components = c.LinkAccessor[LogicalComponent](
"ownedCapabilityInvolvements",
ctx.CapabilityInvolvement,
"ownedCapabilityRealizationInvolvements",
capellacommon.XT_CAPABILITY_REALIZATION_INVOLVEMENT,
aslist=c.MixedElementList,
attr="involved",
)
Expand Down

0 comments on commit 2006c0a

Please sign in to comment.