1.3.2 How to Read a Sequence Diagram

  1. This is an activation bar. It signifies that the object is in use and executing a method. An activation bar is the same thing as a method. The top of the block represents the opening curly brace of the method and them bottom of the block represents the closing curly brace.
  2. This is a method call. This method call in particular would be: this.Planner.ThrowParty(). The activation bar on the Planner object node, then, represents the ThrowParty() method.
  3. The object being acted upon.
  4. The Class/Type of the object.
  5. This represents a method return. The top of the return message has only the Type of thing being returned.
  6. This represents an object calling a method on the same instance. This method call would be: this.BlowUpBalloon().
  7. This represents a method return. Unlike 5, because the return is in the same class, it is represented as a colon and the Type at the end of the method.
  8. This method has a parameter. Parameters are represented in a name: type notation. While this represents a method call, the thing being "passed in" to the method is never noted on a sequence diagram. (i.e. PaintColor("Blue"))
  9. This method has a parameter like 8, but it's an object not a primitive type.