Object Interactions

Interactions between objects are represented by interaction diagrams — both sequence and collaboration diagrams. An example of a collaboration diagram is shown here: Objects are drawn as rectangles and the lines between them indicate links — a link is an instance of an association. The number at the head of the message indicates the order of the messages along the links between the objects.

Sequence diagrams show essentially the same information, but concentrate on the time-ordered communication between objects, rather than their relationships. An example of a sequence diagram is shown here:

The dashed vertical lines represent the lifeline of the object (starting at the top).

Was this article helpful?

0 0
365 Days Of Motivation

365 Days Of Motivation

Stop Wasting Time And Learn How To Stay Motivated. Finally! Discover How To Stop Your Mind From Wandering, And Upgrade Your Motivation. You Can Hack Your Motivation Levels, Allowing You To Take Your Life To The Next Level.

Get My Free Ebook

Post a comment