Author Topic: State Machine - How to defer an event?  (Read 3261 times)

jjweis

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
State Machine - How to defer an event?
« on: March 29, 2006, 06:10:22 am »
Hello.

How can I declare an event as "deferred" in a state of a state machine? (EA 4.51)

Thank you.

Juergen

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: State Machine - How to defer an event?
« Reply #1 on: March 29, 2006, 07:54:42 am »
Hi Juergen,

Add an operation to the state (right-click on the state, then click on Operations), in the form: event-name / defer. You can overwrite "Do Action" with the event name, and write "defer" as the Name. As Rumbaugh explains in his UML Reference: "The reserved action name defer indicates an event that is deferable in a state and its substates".

Hope this helps,

Jaime
« Last Edit: March 29, 2006, 08:01:05 am by jaimeglz »

jjweis

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: State Machine - How to defer an event?
« Reply #2 on: March 29, 2006, 11:48:08 pm »
Hello Jaime.

Yes, it helps. Thank you very much.

Juergen