Previous | UML Classes | Table of Contents | UML Packages | Next |
•
Element (from Kernel ) on page 63
A clause is an element that represents a single branch of a conditional construct, including a test and a body section. The
body section is executed only if (but not necessarily if) the test section evaluates true.
No additional attributes
Package StructuredActivities
Issue 8740 - replace ActivityNode by ExecutableNode
• test : ExecutableNode [0..*] A nested activity fragment with a designated output pin that specifies the result of the test.
• body : ExecutableNode [0..*] A nested activity fragment that is executed if the test evaluates to true and the clause is chosen over any concurrent clauses that also evaluate to true.
• predecessorClause : Clause [*] A set of clauses whose tests must all evaluate false before the current clause can be tested.
• successorClause : Clause [*] A set of clauses that may not be tested unless the current clause tests false.
• decider : OutputPin [1] An output pin within the test fragment the value of which is examined after execution of the test to determine whether the body should be executed.
Package CompleteStructuredActivities
Issue 8490 - add {ordered} constraint 8683 - remove ‘or conditional node’ 8733 - replace ‘copied’ with ‘moved’
• bodyOutput : OutputPin [0..*] {ordered} A list of output pins within the body fragment whose values are moved to the result
pins of the containing conditional node after execution of the clause body.
Issue 8496 - add constraint and also a package header for StructuredActivities
Package StructuredActivities
[1] The decider output pin must be for the test body or a node contained by the test body as a structured node.
Package CompleteStructuredActivities
[1] The bodyOutput pins are output pins on actions in the body of the clause
The semantics are explained under ConditionalNode (from CompleteStructuredActivities , StructuredActivities).