UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student...

23
UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology

Transcript of UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student...

Page 1: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

UML Diagramsfor Caradon developers

Daniel DG MothCore Development Group, Research Student

University of Brighton, MSc Object Oriented Software Technology

Page 2: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Use Case Diagram

• Captures system functionality as seen by users• Built in early stages of development• Purpose

– Specify the context of a system

– Capture the requirements of a system

– Validate a system’s architecture

– Drive implementation and generate test cases

• Developed by analysts and domain experts

Page 3: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Use Case Diagram

Page 4: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Class Diagram

• Captures the vocabulary of a system• Built and refined throughout development• Purpose

– Name and model concepts in the system

– Specify collaborations

– Specify logical database schemas

• Developed by analysts, designers, and implementers

Page 5: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Class Diagram

Page 6: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Package Diagram

Page 7: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Object Diagram

• Shows instances and links• Built during analysis and design• Purpose

– Illustrate data/object structures

– Specify snapshots

• Developed by analysts, designers, and implementers

Page 8: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Object Diagramdaniel :

Customerjenny :

Customer

: Ticket : Ticket : Ticket : Ticket

: IndividualReservation : SubscriptionSeries

daniel : Customer

jenny : Customer

: Ticket : Ticket : Ticket : Ticket

: IndividualReservation : SubscriptionSeries

WRONG!!!!!!!!

Page 9: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Sequence Diagram

• Captures dynamic behavior (time-oriented)• Purpose

– Model flow of control

– Illustrate typical scenarios

Page 10: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Sequence Diagram

Page 11: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Collaboration Diagram

• Captures dynamic behavior (message-oriented)• Purpose

– Model flow of control

– Illustrate coordination of object structure and control

Page 12: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Collaboration Diagram

Page 13: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

State Diagram

• Captures dynamic behavior (event-oriented)• Purpose

– Model object lifecycleModel object lifecycle

– Model reactive objects (user interfaces, devices, etc.)Model reactive objects (user interfaces, devices, etc.)

Page 14: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

State Diagram

Page 15: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Component Diagram

• Captures the physical structure of the implementation• Built as part of architectural specification• Purpose

– Organize source code

– Construct an executable release

– Specify a physical database

• Developed by architects and programmers

Page 16: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Component Diagram

Page 17: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Deployment Diagram

• Captures the topology of a system’s hardware• Built as part of architectural specification• Purpose

– Specify the distribution of components

– Identify performance bottlenecks

• Developed by architects, networking engineers, and system engineers

Page 18: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Deployment Diagram

Page 19: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Deployment Diagram

Page 20: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Activity Diagram

• Captures dynamic behavior (activity-oriented)• Purpose

– Model business workflows

– Model operations

Page 21: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Activity Diagram

Page 22: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

More diagrams on the board

• …

Page 23: UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.

Reference• The diagrams in this

presentation were taken from

The Unified Modeling Language Reference Manual (Addison-Wesley Object Technology Series) by James Rumbaugh, Ivar Jacobson, Grady Booch