Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
break
A kind of interaction operator, indicating that the operand subfragment is performed and the rest of the enclosing fragment is not performed.
Semantics
The break operator has an operand subfragment with a guard condition. If the guard condition is true, the operand is executed and the remainder of the enclosing fragment is omitted. If the guard condition is false, the operand is not executed and the remainder of the enclosing fragment is executed. This operator may be regarded as a shorthand for an alternative operator in which the remainder of the enclosing fragment need not be an explicit subfragment.
The break operand must cover all lifelines of the enclosing fragment.
Notation
The keyword break appears as the interaction operator label. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access