Youll notice B remains deactivated (without a lifeline) after the else statement. Actor sends 1 of the message from message set (3 messages). I know that with Sequence Diagram, one can present some combined fragment such as alt (if/else), option (while), loop, break and parallel. If you prefer OCL syntax, it would be condition1 and condition2. In other words, with the guard brackets condition1 & condition2 is perfectly fine. To enforce ordering of an evaluation, sequencing constraints may be specified among clauses. Hello, Assume following sequence diagram: A->B: Hi. UML Sequence Diagram multiple (OneOf) messages. In some situations, a formal language (such as OCL) or a programming language (such as Java) may be appropriate, in other situations natural language may be used. The result may therefore be nondeterministic if more than one test section can be true concurrently. In general, a test section may be executed in any order, including simultaneously if the underlying execution architecture supports it. If no test section yields a true value, then no body section is executed this may be a semantic error if output values are expected from the conditional node.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |