DecisionNode::edges The ActivityEdges incoming to and outgoing from a DecisionNode, other than the decisionInputFlow (if any), must be either all ObjectFlows or all ControlFlows.

Icon class
icon_class
fas fa-quote-left
icon_class_computed
fas fa-quote-left
Related content
Source
Snippet kind
UML keywords
Full quote
edges

The ActivityEdges incoming to and outgoing from a DecisionNode, other than the decisionInputFlow (if any), must be either all ObjectFlows or all ControlFlows.


       inv: let allEdges: Set(ActivityEdge) = incoming->union(outgoing) in
       let allRelevantEdges: Set(ActivityEdge) = if decisionInputFlow->notEmpty() then allEdges-
       >excluding(decisionInputFlow) else allEdges endif in
       allRelevantEdges->forAll(oclIsKindOf(ControlFlow)) or allRelevantEdges-
       >forAll(oclIsKindOf(ObjectFlow))
Next snippet
Related snippets
Related snippets (backlinks)
Visit also
Visit also (backlinks)