Unit-Iv Structural Modeling: Package Diagram
Unit-Iv Structural Modeling: Package Diagram
STRUCTURAL MODELING
Package Diagram
In the UML, the chunks that organize a model are called packages. A package is a general
purpose mechanism for organizing elements into groups. Packages help you organize the
elements in your models so that you can more easily understand them. Packages also let
you control access to their contents so that you can control the seams in your system's
architecture. The UML provides a graphical representation of package
This notation permits you to visualize groups of elements that can be manipulated as a
whole and in a way that lets you control the visibility of and access to individual elements.
In the UML, you model an import relationship as a dependency adorned with the
stereotype import. By packaging your abstractions into meaningful chunks and then
controlling their access by importing, you can control the complexity of large numbers of
abstractions
Component Diagrams
Common Properties
A deployment diagram is just a special kind of diagram and shares the same common
properties as all other diagrams• a name and graphical contents that are a projection into a
model. What distinguishes a deployment diagram from all other kinds of diagrams is its
particular content.
Contents
Like all other diagrams, deployment diagrams may contain notes and constraints.
Deployment diagrams may also contain components, each of which must live on some
node. Deployment diagrams may also contain packages or subsystems, both of which are
used to group elements of your model into larger chunks. Sometimes, you'll want to place
instances in your deployment diagrams, as well, especially when you want to visualize
one instance of a family of hardware topologies.
Common Modeling Techniques