The Statements of a Sequence Diagram describe the processing of the item that owns the Sequence Diagram. Statements are written in a form of structured English.
A Statement is shown only on a Sequence Diagram. You can indent or outdent a Statement through its context menu.
You can add the following types of Statements to a Sequence Diagram:
• Seq - use to enter statements that will be acted upon sequentially (type and default value is seq)
• Alt and end alt - use the selection to enter conditional statements or case statements
• loop and End loop - use the iteration construct to enter loop statements.
• Else alt - use to select an end condition statement within a selection construct.
• Par and End Par - use the parallel construct to enter concurrent statements.
• Also Par - use to enter additional concurrent statements.
• Break - use to exit a conditional statement
You can copy text from rich text fields (such as Use Case Descriptions) and rich text editors (such as Microsoft Word), and paste that text into statements. When pasted:
• Each paragraph is created as a sequence statement.
• Each tab is mapped to one level of indentation.
• Text formatting is maintained.
In the Modeler panes, a short-cut symbol on the Statement's icon indicates that the item is a
stub.
The following sections provide information about how a Sequence is used in the model. For more information about a property, item, model part or diagram, click it.