Presentation is loading. Please wait.

Presentation is loading. Please wait.

OOA&D - 1© Minder Chen, 1995-2006 Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario Diagrams.

Similar presentations


Presentation on theme: "OOA&D - 1© Minder Chen, 1995-2006 Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario Diagrams."— Presentation transcript:

1 OOA&D - 1© Minder Chen, 1995-2006 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

2 OOA&D - 2© Minder Chen, 1995-2006 Copyright © 1997 by Rational Software Corporation Student Registrar Professor Maintain Schedule Maintain Curriculum Request Course Roster Billing System Use Case Diagram Use case diagrams are created to visualize the relationships between actors and use cases

3 OOA&D - 3© Minder Chen, 1995-2006 Copyright © 1997 by Rational Software Corporation : Student registration form registration manager math 101 1: fill in info 2: submit 3: add course(joe, math 01) 4: are you open? 5: are you open? 6: add (joe) 7: add (joe) math 101 section 1 Sequence Diagram: Register for Course Use Case objectA sequence diagram displays object interactions arranged in a time sequence (to specify a use case further)

4 OOA&D - 4© Minder Chen, 1995-2006 Copyright © 1997 by Rational Software Corporation : Registrar course form : CourseForm theManager : CurriculumManager aCourse : Course 1: set course info 2: process 3: add course 4: new course Collaboration Diagram A collaboration diagram displays object interactions organized around objects and their links to one another. Technically it is identical to a sequence diagram.

5 OOA&D - 5© Minder Chen, 1995-2006 Multiplicity and Navigation RegistrationForm RegistrationManager Course Student CourseOffering Professor addStudent(Course, StudentInfo) name numberCredits open() addStudent(StudentInfo) major location open() addStudent(StudentInfo) tenureStatus ScheduleAlgorithm 1 0..* 1 1 1..* 4 3..10 0..4 1

6 OOA&D - 6© Minder Chen, 1995-2006 Generalization RegistrationForm RegistrationManager Course Student CourseOffering Professor addStudent(Course, StudentInfo) name numberCredits open() addStudent(StudentInfo) major location open() addStudent(StudentInfo) tenureStatus ScheduleAlgorithm name RegistrationUser Depends on

7 OOA&D - 7© Minder Chen, 1995-2006 State Transition Diagram of the Course Class Copyright © 1997 by Rational Software Corporation Initialization Open entry: Register student exit: Increment count Closed Canceled do: Initialize course do: Finalize course do: Notify registered students Add Student / Set count = 0 Add student[ count < 10 ] [ count = 10 ] Cancel

8 OOA&D - 8© Minder Chen, 1995-2006 Component Diagram Course Offering Student Professor Course.dll People.dll Course User Register.exe Billing.exe Billing System

9 OOA&D - 9© Minder Chen, 1995-2006 Deployment Diagram

10 OOA&D - 10© Minder Chen, 1995-2006 Copyright © 1997 by Rational Software Corporation Deployment Diagram Registration Database Library Dorm Main Building

11 OOA&D - 11© Minder Chen, 1995-2006 An Activity Diagram with Swimlanes

12 OOA&D - 12© Minder Chen, 1995-2006 From Analysis to Design to Implementation Doug Rosenberg, ICONIX Software Engineering, Inc., http://www.iconixsw.com/UMLBook.html


Download ppt "OOA&D - 1© Minder Chen, 1995-2006 Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario Diagrams."

Similar presentations


Ads by Google