0% found this document useful (0 votes)
77 views

13 UML Diagrams

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

13 UML Diagrams

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1-Introduction to UML

@NGUYỄN Thị Thu Trang, [email protected] @NGUYỄN Thị Thu Trang, [email protected] 2

4+1 UML Views


• No single model is sufficient. Every non-trivial system
is best approached through a small set of nearly
independent models.
OBJECT-ORIENTED LANGUAGE AND THEORY
• Create models that can be built and studied separately, but are
13. UML DIAGRAMS still interrelated.

Nguyen Thi Thu Trang Logical View Implementation View


[email protected] Analysts/Designers Programmers
Structure Software management
Use-Case View
End-user
Functionality

Process View Deployment View

System engineering
System integrators System topology, delivery,
Performance, scalability, throughput installation, communication

1 2

@NGUYỄN Thị Thu Trang, [email protected] 3 @NGUYỄN Thị Thu Trang, [email protected] 4

Common diagrams in UML Use case diagram


• Use-case diagram • A number of external actors and their connection to the
use cases that the system provides
• Class diagram
• Object Diagram
• State machine
• Activity diagram
• Interaction diagrams
• Deployment diagram

3 4

Page 1
@NGUYỄN Thị Thu Trang, [email protected] 1
1-Introduction to UML

@NGUYỄN Thị Thu Trang, [email protected] 5 @NGUYỄN Thị Thu Trang, [email protected] 6

Class diagram Object diagram


• Static structure of classes in the system • Shows a number of object instances of classes, instead of
the actual classes

Class diagram for


Financial trading

5 6

@NGUYỄN Thị Thu Trang, [email protected] 7 @NGUYỄN Thị Thu Trang, [email protected] 8

State machine Activity diagram


• Shows all the possible states that objects of the class can • Shows a sequential flow of actions to describe
have during a life-cycle instance, and which events cause • the activities performed in a general process workflow
the state to change • or other activity flows, such as a use case or a detailed control flow

A state machine
for an elevator An activity diagram for a printer server.

7 8

Page 2
@NGUYỄN Thị Thu Trang, [email protected] 2
1-Introduction to UML

@NGUYỄN Thị Thu Trang, [email protected] 9 @NGUYỄN Thị Thu Trang, [email protected] 10

Interaction Diagrams Deployment Diagram


• Show the interaction between objects during the • Shows the physical architecture of the hardware and
execution of the software software in the system

A sequence
diagram for
a print server

9 10

Page 3
@NGUYỄN Thị Thu Trang, [email protected] 3

You might also like