Lec4 Se Uml
Lec4 Se Uml
SOFTWARE
ENGINEERING
UNIFIED
MODELING
LANGUAGE
TABLE OF CONTENTS
01 UML
02 DIAGRAMS STRUCTURE
03 MOST IMPORTANT
INTRODUCTION
What is UML?
2. INTERACTION PERSPECTIVE: model the interaction between the system and the
COMPONENT
DIAGRAM
OBJECT
DIAGRAM
STRUCTURE
DEPLOYMENT
DIAGRAM
PACKAGE
DIGAGRAM
ACITIVITY
Dr. JOHN ZAKI
DIAGRAM
INTERACTION
UML DIAGRAMS
DIAGRAM
USE CASE
DIAGRAM
STATE MACHINE
BEHAVIOR
SEQUENCE
DIAGRAM
5
COMMUNICATIO
N DIAGRAM
MOST IMPORTANT
1. USE CASE DIAGRAM: Show the interactions between a system and its
environment
2. SEQUENCE DIAGRAM: show the interactions between actors and
system and between system components.
3. CLASS DIAGRAM: show the object classes in the system and the
associations between those classes
4. STATE DIAGRAM: show how the system interacts to internal and
external events
5. ACTIVITY DIAGRAM: show the activities involved in a process or in
data processing.
Dr. JOHN ZAKI 6
USE CASE
DIAGRAM
Dr. JOHN ZAKI 7
USE CASE DIAGRAMS
MODEL INTERACTIONS BETWEEN SYSTEM & EXTERNAL
01 ACTORS
SYSTEMS ACTORS
USE CASE
ACTOR
RELATIONSHIPS ACTOR
HOW – SYSTEM
System name
A SYSTEM IS ANYTHING WE ARE ACTUALLY DEVELOPING.
A business process
A software component
…etc
CUSTOMER JOHN
<<create>>
CREATE MESSAGE: creating a new object.
05 GENERALIZATION, AGGREGATION
1. Zero to one
2. Specific number
3. Zero to many
4. One to many
5. Specific number range
01 UML TYPES