Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
compartment
A graphical subdivision of a closed symbol, such as a class rectangle divided vertically into smaller rectangles. Each compartment shows properties of the element that it represents. Compartments come in three kinds: fixed, lists, and regions.
See also class, classifier.
Notation
A fixed compartment has a fixed format of graphical and text parts to represent a fixed set of properties. The format depends on the kind of element. An example is a class name compartment, which contains a stereotype symbol and/or name, a class name, and a property string that shows various class properties. Depending on the element, some of the information may be suppressible.
A list compartment contains a list of strings that encode constituents of the ...
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