Chapter Three: Design 3.1 Purpose and Goals of Design: 3.2 Component Diagram
Chapter Three: Design 3.1 Purpose and Goals of Design: 3.2 Component Diagram
Chapter Three: Design 3.1 Purpose and Goals of Design: 3.2 Component Diagram
Component diagram is a special kind of diagram in UML. The purpose is also different from all
other diagrams discussed so far. It does not describe the functionality of the system but it
describes the components used to make those functionalities.
So from that point component diagrams are used to visualize the physical components in a
system. These components are libraries, packages, files etc.
Component diagrams can also be described as a static implementation view of a system. Static
implementation represents the organization of the components at a particular moment.
A single component diagram cannot represent the entire system but a collection of diagrams are
used to represent the whole.
Manage user
account
Approve
Administrator
View comment Security
Announce Officer
renewal date
Register payment
Apply
View notification
Send comment
Component diagrams are used to describe the components and deployment diagrams shows how
they are deployed in hardware.
UML is mainly designed to focus on software artifacts of a system. But these two diagrams are
special diagrams used to focus on software components and hardware components.
So most of the UML diagrams are used to handle logical components but deployment diagrams
are made to focus on hardware topology of a system. Deployment diagrams are used by the
system engineers.
Manage account
Prepare license
Accountant
Trade registration
View coment
Work
coordinator
Registor
payment
Send feedback
View report
Fname: Varchar(20)
Administrator Lname: Varchar(20)
User account Pid: Varchar(20)
Fname:Varchar(20) Payment reason: Varchar(20)
Lname:Varchar(20) Fname: Varchar(20) Date: Date
Address:Varchar(30) Lname: Varchar(20)
Email address:Varchar(40) Address: Varchar(20) Payment()
Sex:Text Username: Varchar(30) Login()
Aassword: Varchar(30) Logout()
Create account()
Delete account() Signup()
Update account()
Login()
Logout()
Officer’s system
- Approve
- View comment
- Announce renewal date
- Prepare license
- Trade registration system
Customer’s system
- Apply
- View notification
- Send comment
Accountant’s system
-Register payment
Work coordinator’s page
-View report
-Send feedback
Online trade
registrastion and
license system
Workcoordinator
Administrator Customer Accountant subsystem
Officer subsystem
subsystem subsystem subsystem
Mapping
In order to store information persistently we map objects into tables and the attributes into fields
to the specific table based on the objects found on the system.