Event (UML) explained
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 represented by state machine diagrams.
Consider "the case of two Transitions[2] originating from the same State,[3] 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."[2]
Notes and References
- Book: Events. Unified Modeling Language 2.5.1. OMG Document Number formal/2017-12-05. December 2017. Object Management Group Standards Development Organization (OMG SDO). 290.
- Book: Transitions. Unified Modeling Language 2.5.1. OMG Document Number formal/2017-12-05. December 2017. Object Management Group Standards Development Organization (OMG SDO). 314.
- Book: StateMachines. Unified Modeling Language 2.5.1. OMG Document Number formal/2017-12-05. December 2017. Object Management Group Standards Development Organization (OMG SDO). 305.