Shanghai Jiao Tong University 上海交通大学 Object Oriented Analysis and Design Use-Case Analysis 上海交通大学软件工程中心
Shanghai Jiao Tong University 上海交通大学软件工程中心 Object Oriented Analysis and Design Use-Case Analysis
Use-Case Analysis in Context [Early Elaboration [Inception Iteration] Iteration (Optional)] Define a Candidate Perform Architecture Architectural L Synthesis Use-Case Designer Analysis Analyze Behavior Refine the (Optional) Architecture Define Design the Components Database Object Oriented Analysis and Design 2
Object Oriented Analysis and Design 2 Use-Case Analysis in Context [Early Elaboration Iteration] [Inception Iteration (Optional)] Define a Candidate Architecture Perform Architectural Synthesis Analyze Behavior Refine the Architecture Define Components Design the Database (Optional) Use-Case Designer Analysis
Use-Case Analysis Overview Project Specific Software Use-Case Realization Glossary Guidelines Architecture Document Supplementary Use-Case Specifications Analysis Analysis Model Use-Case Model Analysis Classes Object Oriented Analysis and Design 3
Object Oriented Analysis and Design 3 Use-Case Analysis Overview Supplementary Specifications Glossary Use-Case Analysis Project Specific Guidelines Use-Case Realization Analysis Model Use-Case Model Analysis Classes Software Architecture Document
Outline Supplement the Use-Case Description For each Use-Case Realization Find Classes from Use-Case Behavior Distribute Use-Case Behavior to Classes For each resulting analysis class Describe Responsibilities Describe Attributes and Associations -Qualify Analysis Mechanisms Unify Analysis Classes Object Oriented Analysis and Design 4
Object Oriented Analysis and Design 4 Outline Supplement the Use-Case Description For each Use-Case Realization ▪ Find Classes from Use-Case Behavior ▪ Distribute Use-Case Behavior to Classes For each resulting analysis class ▪ Describe Responsibilities ▪ Describe Attributes and Associations ▪ Qualify Analysis Mechanisms Unify Analysis Classes
Outline ★◆Supplement the Use-Case Description For each Use-Case Realization Find Classes from Use-Case Behavior Distribute Use-Case Behavior to Classes For each resulting analysis class Describe Responsibilities Describe Attributes and Associations Qualify Analysis Mechanisms Unify Analysis Classes Object Oriented Analysis and Design 5
Object Oriented Analysis and Design 5 Outline Supplement the Use-Case Description For each Use-Case Realization ▪ Find Classes from Use-Case Behavior ▪ Distribute Use-Case Behavior to Classes For each resulting analysis class ▪ Describe Responsibilities ▪ Describe Attributes and Associations ▪ Qualify Analysis Mechanisms Unify Analysis Classes
Supplement the Use-Case Description The system ·The system displays a 闺 retrieves and list of displays a list of course current course offerings. offerings from the course catalog legacy database. Object Oriented Analysis and Design 6
Object Oriented Analysis and Design 6 • The system displays a list of course offerings. • The system retrieves and displays a list of current course offerings from the course catalog legacy database. Supplement the Use-Case Description
Outline Supplement the Use-Case Description For each Use-Case Realization -Find Classes from Use-Case Behavior Distribute Use-Case Behavior to Classes For each resulting analysis class Describe Responsibilities Describe Attributes and Associations Qualify Analysis Mechanisms Unify Analysis Classes Object Oriented Analysis and Design 7
Object Oriented Analysis and Design 7 Outline Supplement the Use-Case Description For each Use-Case Realization ▪ Find Classes from Use-Case Behavior ▪ Distribute Use-Case Behavior to Classes For each resulting analysis class ▪ Describe Responsibilities ▪ Describe Attributes and Associations ▪ Qualify Analysis Mechanisms Unify Analysis Classes
Review:Class ◆An abstraction Describes a group of objects with common: -Properties (attributes) Behavior (operations) Relationships Semantics Class Name Professor name Attributes Professorld Uniqueld create() Operations save() delete() change() Object Oriented Analysis and Design 8
Object Oriented Analysis and Design 8 An abstraction Describes a group of objects with common: ▪ Properties (attributes) ▪ Behavior (operations) ▪ Relationships ▪ Semantics Class Name Attributes Operations Review: Class Professor name ProfessorId : UniqueId create() save() delete() change()
Review:Use-Case Realization Use-Case Model Design Model 一一一一一 Use Case Use-Case Realization Collaboration Diagrams Sequence Diagrams Use Case Class Diagrams Object Oriented Analysis and Design 9
Object Oriented Analysis and Design 9 Review: Use-Case Realization Class Diagrams Use Case Collaboration Diagrams Use-Case Model Design Model Use Case Use-Case Realization Sequence Diagrams
Analysis Classes:A First Step Toward Executables Use Cases Analysis Design Source Exec Classes Elements Code Use-Case Analysis Object Oriented Analysis and Design 10
Object Oriented Analysis and Design 10 Use Cases Analysis Classes Source Code Design Exec Elements Use-Case Analysis Analysis Classes: A First Step Toward Executables