1 / 52

UML Component and Deployment Diagrams

UML Component and Deployment Diagrams. Models, 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

eliora
Télécharger la présentation

UML Component and Deployment Diagrams

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. UML Component and Deployment Diagrams

  2. Models, 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 Component Diagrams Collaboration Diagrams Models Component Diagrams Scenario Diagrams Component Diagrams Scenario Diagrams Deployment Diagrams Statechart Diagrams Activity Diagrams Interactions Dynamic views

  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

  4. Sequence number

  5. Collaboration Diagram“who sends to whom” • Captures dynamic behavior (message-oriented) – not “when”

  6. Collaboration Diagram • Captures dynamic behavior (message-oriented) • Purpose • Model flow of control • Illustrate coordination of object structure and control

  7. Example: Change Flight Itinerary (Use case description)

  8. Sequence diagram for making a hotel reservation

  9. Collaboration diagram for making a hotel reservation

  10. UML Statechart Diagram Automata:

  11. action

  12. 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.

  13. UML Activity Diagram

  14. Example: 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

More Related