Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の図(State3-> State1.2)のように、UMLで外部状態から複合状態のサブ状態への遷移をモデル化することは可能ですか?
もしそうなら、セマンティクスは何ですか?
State3でイベントが発生したとき
私は正しいですか?
はい、できます。上部構造から:
明示的なエントリ:遷移が複合状態のサブ状態に移行すると、そのサブ状態がアクティブになり、複合状態のエントリコードの実行後にそのエントリコードが実行されます。このルールは、遷移が推移的にネストされたサブステートで終了する場合に再帰的に適用されます。