Title: UML Component and Deployment Diagrams
1UML Component and Deployment Diagrams
2Models, Views, and Diagrams
A model is a complete description of a
system from a particular perspective
Static views
State Diagrams
State Diagrams
Class Diagrams
Use Case Diagrams
Use Case Diagrams
State Diagrams
Use Case Diagrams
State Diagrams
Use Case Diagrams
Object Diagrams
Use Case Diagrams
Sequence Diagrams
Scenario Diagrams
State Diagrams
Scenario Diagrams
State Diagrams
Collaboration Diagrams
Component Diagrams
Models
Component Diagrams
Scenario Diagrams
Component Diagrams
Scenario Diagrams
Deployment Diagrams
Statechart Diagrams
Activity Diagrams
Interactions
Dynamic views
3Diagrams
- A diagram is a view into a model
- Presented from the aspect of a particular
stakeholder - Provides a partial representation of the system
- Is semantically consistent with other views
- In the UML, there are nine standard diagrams
- Static views use case, class, object, component,
deployment - Dynamic views sequence, collaboration,
statechart, activity
4(No Transcript)
5(No Transcript)
6(No Transcript)
7Sequence number
8Collaboration Diagram who sends to whom
- Captures dynamic behavior (message-oriented)
not when
9Collaboration Diagram
- Captures dynamic behavior (message-oriented)
- Purpose
- Model flow of control
- Illustrate coordination of object structure and
control
10Example Change Flight Itinerary (Use case
description)
11(No Transcript)
12(No Transcript)
13Sequence diagram for making a hotel reservation
14Collaboration diagram for making a hotel
reservation
15UML Statechart Diagram Automata
16(No Transcript)
17(No Transcript)
18action
19(No Transcript)
20(No Transcript)
21(No Transcript)
22(No Transcript)
23(No Transcript)
24(No Transcript)
25(No Transcript)
26(No Transcript)
27(No Transcript)
28(No Transcript)
29(No Transcript)
30(No Transcript)
31(No Transcript)
32(No Transcript)
33Statechart Example Login part of an online
banking system. Logging in consists of entering
a valid social security number and personal id
number, then submitting the information for
validation.
34(No Transcript)
35UML Activity Diagram
36(No Transcript)
37(No Transcript)
38(No Transcript)
39(No Transcript)
40(No Transcript)
41(No Transcript)
42(No Transcript)
43(No Transcript)
44(No Transcript)
45(No Transcript)
46(No Transcript)
47(No Transcript)
48(No Transcript)
49(No Transcript)
50Example Activity Diagram work flow, operation
- Captures dynamic behavior (activity-oriented)
Building a house
- Syntax not defined in UML
- Semantics
- Evaluate expression
- Send a method
- Create or destroy an object
activity
Synchronization bars
Parallel activities
Change of state or attribute
51Example Activity Withdraw money from an ATM.
52(No Transcript)