O'Reilly logo

UML™ Bible by Tom Pender

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 14

Using Packages

images

In This Chapter

  • Modeling packages
  • Modeling package dependencies
  • Modeling subsystems
  • Modeling models
  • Organizing your packages

images

Organizing your work is one of the most important things that you do. There are a number of devices presented by UML to help you organize packages, systems, subsystems, and models. This chapter introduces those devices and provides an overview of the Rational Unified Process (RUP) approach to organizing your work.

Modeling Packages

The package is the main construct in UML for grouping model elements. A package provides exactly the same functionality as a folder in Windows. It enables you to organize elements by grouping them and placing them into a container. Packages can contain other packages, so you can create a hierarchy of packages.

images Chapter 3 provided a brief introduction to packages, so some of this material may sound familiar. This chapter delves into the specifics of packages and organizing your work.

Namespaces

A package also provides a namespace for classifiers that you place in the package. The word namespace is familiar to C++ programmers. It means that once you place an element of a certain type in a package, its ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required