UML Distilled, Third Edition by Fowler Martin
Author:Fowler, Martin [Fowler, Martin]
Language: eng
Format: epub, azw3
Publisher: Addison-Wesley Professional
Published: 2003-09-15T04:00:00+00:00
Figure 4.4. Interaction frames
procedure dispatch
foreach (lineitem)
if (product.value> $10K)
careful.dispatch
else
regular.dispatch
end if
end for
if (needsConfirmation) messenger.confirm
end procedure In general, frames consist of some region of a sequence diagram that is divided into one or more fragments. Each frame has an operator and each fragment may have a guard. (Table 4.1 lists common operators for interaction frames.) To show a loop, you use the loop operand with a single fragment and put the basis of the iteration in the guard. For conditional logic, you can use an alt operator and put a condition on each fragment. Only the fragment whose guard is true will execute. If you have only one region, there is an opt operator.
Interaction frames are new in UML 2. As a result, you may see diagrams prepared before UML 2 and that use a different approach; also, some people don't like the frames and prefer some of the older conventions. Figure 4.5 shows some of these unofficial tweaks.
Download
UML Distilled, Third Edition by Fowler Martin.azw3
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Brazilian Economy since the Great Financial Crisis of 20072008 by Philip Arestis Carolina Troncoso Baltar & Daniela Magalhães Prates(121328)
International Integration of the Brazilian Economy by Elias C. Grivoyannis(91256)
The Art of Coaching by Elena Aguilar(52948)
Flexible Working by Dale Gemma;(23254)
How to Stop Living Paycheck to Paycheck by Avery Breyer(19638)
The Acquirer's Multiple: How the Billionaire Contrarians of Deep Value Beat the Market by Tobias Carlisle(12241)
Thinking, Fast and Slow by Kahneman Daniel(12079)
The Radium Girls by Kate Moore(11921)
The Art of Thinking Clearly by Rolf Dobelli(10223)
Hit Refresh by Satya Nadella(9039)
The Compound Effect by Darren Hardy(8810)
Tools of Titans by Timothy Ferriss(8218)
Atomic Habits: Tiny Changes, Remarkable Results by James Clear(8186)
Turbulence by E. J. Noyes(7936)
A Court of Wings and Ruin by Sarah J. Maas(7652)
Change Your Questions, Change Your Life by Marilee Adams(7635)
Nudge - Improving Decisions about Health, Wealth, and Happiness by Thaler Sunstein(7615)
How to Be a Bawse: A Guide to Conquering Life by Lilly Singh(7393)
Win Bigly by Scott Adams(7094)