Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 UML Component and Deployment Diagrams. Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario.

Similar presentations


Presentation on theme: "1 UML Component and Deployment Diagrams. Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario."— Presentation transcript:

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

4

5

6

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 )

11

12

13 Sequence diagram for making a hotel reservation

14 Collaboration diagram for making a hotel reservation

15 UML Statechart Diagram Automata:

16

17

18 action

19

20

21

22

23

24

25

26

27

28

29

30

31

32

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.

34

35 UML Activity Diagram

36

37

38

39

40

41

42

43

44

45

46

47

48

49

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

52


Download ppt "1 UML Component and Deployment Diagrams. Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario."

Similar presentations


Ads by Google