Summary.

Object Behavior - State machine Diagram

  • Each class has objects that may have status conditions or “states”
  • Object behavior consists of the various states and the movement between these states
  • State - condition during an object’s life when it satisfies some criterion, performs an action, or waits for an event.

order:
orderNum
orderDate
Total
Status = 0,1,2 (pressed, shipped, delivered)