Scalar Switch Action - modelint/shlaer-mellor-metamodel GitHub Wiki
A scalar switch action takes a Scalar Flow as input. This flow must provide a value defined as part of an enumerated type.
Action language will provide this flow either as a temporary variable or an output of some other Action.
Here is an example in Scrall:
valve position? {
.open : close -> my valve
.closed : open -> my valve
}
The above example takes its input from the valve position
temporary variable and applies one case for each possible enumerated value.
Identifiers
- Action + Activity + Domain
Attributes
No non-referential attributes