Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
Package
A package is a piece of a model. Every part of a model must belong to one package. The modeler may allocate the contents of a model to a set of packages. But to be workable, the allocation must follow some rational principle, such as common functionality, tightly coupled implementation, and a common viewpoint. UML does not impose a rule for composing packages, but a good decomposition into packages will greatly enhance model maintainability.
Packages contain top-level model elements, such as classes and their relationships, state machines, use case graphs, interactions, and collaborations—anything not contained in some other element. Elements such as attributes, operations, states, lifelines, and messages are contained in other elements ...
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