What Is Package Diagram?
What Is Package Diagram?
What/
HOME isSUPPORT
Package/ Diagram?
WHAT IS PACKAGE DIAGRAM?
Dependency Notation
Import
Access
Free Download
Package Diagram can be used to simplify complex class diagrams, it can group classes into packages.
Packages are depicted as "le folders and can be used on any of the UML diagrams.
The diagram below is a business model in which the classes are grouped into packages:
One package depends on another if changes in the other could possibly force changes in the "rst.
Package name should not be the same for a system, however classes inside di!erent packages could have
the same name.
Packages can include whole diagrams, name of components alone or no components at all.
Packages can be represented by the notations with some examples shown below:
We are going to design package diagram for "Track Order" scenario for an online shopping store. Track
Order module is responsible for providing tracking information for the products ordered by customers.
Customer types in the tracking serial number, Track Order modules refers the system and updates the
current shipping status to the customer.
Based on the project Description we should "rst identify the packages in the system and then related them
together according to the relationship:
There is a track order module, it has to talk with other module to know about the order details, let us call it
"Order Details".
Next after fetching Order Details it has to know about shipping details, let us call that as "Shipping".
Track order should get order details from "Order Details" and "Order Details" has to know the tracking info
given by the customer. Two modules are accessing each other which su#ces <<access>> dual dependency
To know shipping information, "Shipping" can import "Track Order" to make the navigation easier.
Finally, Track Order dependency to UI Framework is also mapped which completes our Package Diagram for
Order Processing subsystem.
Free Download
Related Links