Download presentation
Presentation is loading. Please wait.
1
1 UML Component and Deployment Diagrams
2
Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario Diagrams Collaboration Diagrams State Diagrams State Diagrams Component Diagrams Component Diagrams Component Diagrams Deployment Diagrams State Diagrams State Diagrams Object Diagrams Scenario Diagrams Scenario Diagrams Statechart Diagrams Use Case Diagrams Use Case Diagrams Sequence Diagrams State Diagrams State Diagrams Class Diagrams Activity Diagrams A model is a complete description of a system from a particular perspective Models Dynamic views Interactions Static views
3
3 3 Diagrams 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
7
Sequence number
8
8 8 Collaboration Diagram “who sends to whom” Captures dynamic behavior (message- oriented) – not “when”
9
9 9 Collaboration Diagram Captures dynamic behavior (message- oriented) Purpose Model flow of control Illustrate coordination of object structure and control
10
Example: Change Flight Itinerary ( Use case description )
13
Sequence diagram for making a hotel reservation
14
Collaboration diagram for making a hotel reservation
15
UML Statechart Diagram Automata:
18
action
33
Statechart 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.
35
UML Activity Diagram
50
Example: Activity Diagram – work flow, operation Captures dynamic behavior (activity-oriented) Building a house activity Syntax not defined in UML Semantics: Evaluate expression Send a method Create or destroy an object Synchronization bars Change of state or attribute Parallel activities
51
Example Activity: “Withdraw money from an ATM.”
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.