An option is semantically equivalent to an alternativeĬombinedFragment where there is one operand with non-empty content and the second operand is empty. You use the Sequence Diagram model to describe the aspects of your new system that change over. The InteractionOperatorKind opt designates that the CombinedFragment represents a choice of behavior whereĮither the (sole) operand happens or nothing happens. An implicit true guard is implied if the operand The chosen operand must have an explicit or implicit guardĮxpression that evaluates to true at this point in the interaction. The InteractionOperatorKind alt designates that the CombinedFragment represents a choice of behavior. opt and alt are two different operator types and here's how the specification describes them: ![]() In the UML specification the meaning is described in section 17.12.15. alt may be used to describe two variants of payment: using credit card or wire money transfer. Opt is used to describe an optional step in the workflow.įor example, for an online shop purchase sequence diagram you may use opt to describe how the user can add gift wrapping if she wishes. The sequence diagram is used primarily to show the interactions between objects in the sequential order that those interactions occur. The basic syntax for a line in a sequence diagram shows that one participant is sending a message to another participant. They are a part of UML, and have been from the beginning (see Jacobson's book, The Unified Software Development Process - part of the 'Three Amigos' series of books). Only one of the options will be executed. Actually, the Robustness Diagrams (or Analysis Diagrams, as they are sometimes called) are just specialized Class Diagrams. Alt is used to describe alternative scenarios of a workflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |