Book a Demo

Author Topic: Activity changes an object's state  (Read 3910 times)

andro

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Activity changes an object's state
« on: March 27, 2004, 03:20:33 pm »
Suppose we have an activity diagram and a state diagram as follows:

Is there a way in UML to depict the fact that an activity makes the object change its state?
UML 2.0 superstructure specification says a state consists of activities and that so does transition. What's the notation for it?
TIA,
andro

jkorman

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Activity changes an object's state
« Reply #1 on: March 27, 2004, 06:55:29 pm »
I'm still a bit weak on State/Activity releationships but here is my guess



My idea is that the activities act to cause the state change.

Jim

andro

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Activity changes an object's state
« Reply #2 on: March 28, 2004, 02:36:07 am »
Thanks, Jim. That's what I needed.
andro.