Traian Șerbănuță
2025
Scenario: Airport parking lot
A package is a collection of logically related UML elements.
Package diagrams are commonly used to:
| Symbol | Name | Description |
|---|---|---|
| Package | Groups common elements based on data, behavior, or user interaction | |
| Dependency | Depicts the relationship between one element (package, named element, etc) and another |
There are two main types of dependencies between packages:
Import dependency — allows access to all public
elements of another package
Access dependency — limits access to specific
elements only
Create a package diagram based on the class diagram for the parking lot.
Specialized class diagrams that focus on a system’s components.
Used to model the static implementation view of a system.
| Symbol | Name | Description |
|---|---|---|
| Component | Modular part of a system that encapsulates its contents and whose manifestation is replaceable within its environment | |
| Required interface | Represents the services needed/used by the component | |
| Provided interface | Represents the services delivered by the component |
Create a component diagram based on the class diagram for the parking lot.