RAD Studio (Common)
ContentsIndex
PreviousUpNext
UML 1.5 Interaction Diagrams

This section describes the elements of UML 1.5 Sequence and Collaboration diagrams.

Name 
Description 
Modeling automatically renders the activation of messages that show the period of time that the message is active. When you draw a message link to the destination object, the activation bar is created automatically.
You can extend or reduce the period of time of a message by vertically dragging the top or bottom line of the activation bar as required. A longer activation bar means a longer time period when the message is active. 
Conditional block statement is a flexible tool to enhance a sequence diagram. The following statements are supported:
  • if
  • else
  • for
  • foreach
  • while
  • do while
  • try
  • catch
  • finally
  • switch
  • case
  • default
 
By default, message links in a sequence diagram are numbered sequentially from top to bottom. You can reorder messages.
A “self message” is a message from an object back to itself. 
You can nest messages by originating message links from an activation bar. The nested message inherits the numbering of the parent message.
For example, if the parent message has the number 1, its first nested message is 1.1. It is also possible to create message links back to the parent activation bars. 
Class diagrams are static model views. In contrast, interaction diagrams are dynamic, describing how objects collaborate. 
The table below lists the elements of UML 1.5 Interaction (Sequence and Collaboration) diagrams that are available using the Tool Palette.
UML 1.5 interaction diagram elements  
Class diagrams are static model views. In contrast, interaction diagrams are dynamic, describing how objects collaborate. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!