This article needs additional citations for verification. (April 2023) |
An event[1] in the Unified Modeling Language (UML) is "something that may occur at a specific instant in time".[1]
Events can, but do not necessarily, cause state transitions from one state to another in state machines[2] represented by state machine diagrams.
Consider "the case of two Transitions[3] originating from the same State,[2] triggered by the same event, but with different guards. If that event occurs and both guard conditions are true, then at most one of those Transitions can fire in a given run-to-completion step."[3]
References
edit- ^ a b "Events". Unified Modeling Language 2.5.1. OMG Document Number formal/2017-12-05. Object Management Group Standards Development Organization (OMG SDO). December 2017. p. 290.
- ^ a b "StateMachines". Unified Modeling Language 2.5.1. OMG Document Number formal/2017-12-05. Object Management Group Standards Development Organization (OMG SDO). December 2017. p. 305.
- ^ a b "Transitions". Unified Modeling Language 2.5.1. OMG Document Number formal/2017-12-05. Object Management Group Standards Development Organization (OMG SDO). December 2017. p. 314.