Shanghai Jiao Tong University 上海交通大学 Object Oriented Analysis and Design Subsystem Design 上海交通大学软件工程中心
Shanghai Jiao Tong University 上海交通大学软件工程中心 Object Oriented Analysis and Design Subsystem Design
Subsystem Design in Context [Early Elaboration [Inception Iteration] Iteration (Optional)] Define a Candidate Perform Architecture Architectural L Synthesis Analyze Behavior (Optional) Refine the Architecture Subsystem Design Designer Define Design the Components Database Object Oriented Analysis and Design 2
Object Oriented Analysis and Design 2 Subsystem Design 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) Subsystem Design Designer
Subsystem Design Overview Design Subsystems and Interfaces Subsystem Project Specific Design Guidelines Design Classes Object Oriented Analysis and Design 3
Object Oriented Analysis and Design 3 Subsystem Design Overview Subsystem Design Design Subsystems and Interfaces Design Classes Project Specific Guidelines
Review:Subsystems and Interfaces A Subsystem: ◆lsa“cross between”a package and a class Realizes one or more interfaces that define its behavior <<interface>> <<subsystem>> Interface Subsystem Name Realization(Canonical form) Interface Subsystem <<subsystem>> Subsystem Name Interface Realization (Elided form) Object Oriented Analysis and Design
Object Oriented Analysis and Design 4 A Subsystem: Is a “cross between” a package and a class Realizes one or more interfaces that define its behavior <<subsystem>> Subsystem Name Interface Subsystem <<subsystem>> Subsystem Name Interface Realization (Canonical form) Realization (Elided form) <<interface>> Interface Review: Subsystems and Interfaces
Subsystem Guidelines ◆( Goals Loose coupling <<subsystem>> A -Portability,plug-and-play compatibility Insulation from change Independent evolution <<subsystem>> ◆ Strong Suggestions B Do not expose details,only interfaces Depend only on other interfaces <<subsystem>> C Key is abstraction and encapsulation Object Oriented Analysis and Design 5
Object Oriented Analysis and Design 5 Key is abstraction and encapsulation A <<subsystem>> B <<subsystem>> C <<subsystem>> Subsystem Guidelines Goals ▪ Loose coupling ▪ Portability, plug-and-play compatibility ▪ Insulation from change ▪ Independent evolution Strong Suggestions ▪ Do not expose details, only interfaces ▪ Depend only on other interfaces