UML 状态机子状态转换

标签 uml modeling

是否可以在 UML 中模拟从外部状态到复合状态的子状态的转换,如下图(State3->State1.2)?

如果是这样,语义是什么?

我猜当事件发生在 State3

  • 执行 State3 退出操作
  • 执行 State1 进入 Action
  • State1.2进入 Action 被执行

  • 我对吗?

    enter image description here

    最佳答案

    是的你可以。从上层建筑:

    Explicit entry: If the transition goes to a substate of the composite state, then that substate becomes active and its entry code is executed after the execution of the entry code of the composite state. This rule applies recursively if the transition terminates on a transitively nested substate.

    关于UML 状态机子状态转换,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14681522/

    相关文章:

    visual-studio - 是否有来自 Visual Studio 2010 建模项目的任何 CaSTLe ActiveRecord 生成器?

    uml - 组件图依赖与装配

    .net - 使用 Oslo 和 M 有什么优势,你会在什么时候使用它?

    java - GMF - 以编程方式扩展/折叠隔间

    java - 业务规则数据建模

    c# - RavenDB 为日历应用程序建模

    Perl UMMF 教程?

    inheritance - 关于UML类图中关联类的问题

    c++ - 成员函数到友元函数的转换

    architecture - Sparx Enterprise Architect VS Visual Paradigm