Monday, October 5, 2009

Packages in UML

Packages are the containers for other UML things such as use case, classes or etc. It can be a logical packages or a component packages. It is used "to group elements, and to provide a namespace for the grouped elements".

The purpose of Packages in UML is for us to organize model elements into groups, making the UML diagrams simpler and easier to understand.

Fg.1



Figure 1 is an example of a use case package diagram. It composed of two use case; Withdraw Money and Deposit Money are part of Customer package.

source: http://en.wikipedia.org/wiki/Package_(UML)

1 comment: