Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Event (UML)

From Wikipedia, the free encyclopedia

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]
  1. ^ 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.
  2. ^ 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.
  3. ^ 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.