上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)09. Object Design-Specifying Interfaces

上海文通大¥ SHANGHAI JLAO TONG UNIVERSITY 9.Object Design: Specifying Interfaces 六海 wnnn SHANG 1日gG
9. Object Design: Specifying Interfaces

上游充通大学 Outline SHANGHAI JIAO TONG UNIVERSITY An Overview of Object Design Interface Specification Concepts Interface Specification Activities Software Engineering
Software Engineering Outline An Overview of Object Design Interface Specification Concepts Interface Specification Activities

上游充通大粤 SHANGHAI JIAO TONG UNIVERSITY 1.An Overview of Object Design Software Engineering
Software Engineering 1. An Overview of Object Design

上游充通大兽 Object Design SHANGHAI JIAO TONG UNIVERSITY Object design is the process of adding details to the requirements analysis and making implementation decisions The object designer must choose among different ways to implement the analysis model with the goal to minimize execution time,memory and other measures of cost. Requirements Analysis:The functional model and the dynamic model deliver operations for the object model Object Design:We decide on where to put these operations in the object model Object design serves as the basis of implementation Software Engineering
Software Engineering Object Design Object design is the process of adding details to the requirements analysis and making implementation decisions The object designer must choose among different ways to implement the analysis model with the goal to minimize execution time, memory and other measures of cost. • Requirements Analysis: The functional model and the dynamic model deliver operations for the object model • Object Design: We decide on where to put these operations in the object model Object design serves as the basis of implementation

上游充通大学 Object Design:Closing the Gap SHANGHAI JIAO TONG UNIVERSITY System Problem Application objects Requr nts gal 1 Solution objects Custom objects Object sign ga off-the-shelf components Systeml design g 一 Machine Software Engineering
Software Engineering Object Design: Closing the Gap

上游充通大粤 SHANGHAI JIAO TONG UNIVERSITY 2.Interface Specification Concepts Software Engineering
Software Engineering 2. Interface Specification Concepts

2.1 Developers play different Roles during SHANGHAI JIAO TONG UNIVERSITY Object Design Class User Call Class 哭子 Developer Class Implementor Realize Class 关 Class Extender Refine Class Software Engineering
Software Engineering 2.1 Developers play different Roles during Object Design Developer Call Class Class Extender Class Implementor Class User Realize Class Refine Class

上海充通大学 Class user versus Class Extender SHANGHAI JIAO TONG UNIVERSITY Developers responsible for Developers responsible for the implementation of Game are the implementation of League are class implementors class users of Game League Game ◇1 Tournament TicTacToe Chess The developer responsible for the implementation of TicTacToe is a class extender of Game Software Engineering
Software Engineering Class user versus Class Extender Game TicTacToe Chess League Tournament 1 * Developers responsible for the implementation of League are class users of Game The developer responsible for the implementation of TicTacToe is a class extender of Game Developers responsible for the implementation of Game are class implementors

上浒充通大学 SHANGHAI JIAO TONG UNIVERSITY 2.2 Specifying Interfaces Requirements analysis activities Identifying attributes and operations without specifying their types or their parameters. Object design:Three activities 1.Add visibility information 2.Add type signature information 3.Add contracts Software Engineering
Software Engineering 2.2 Specifying Interfaces Requirements analysis activities • Identifying attributes and operations without specifying their types or their parameters. Object design: Three activities 1. Add visibility information 2. Add type signature information 3. Add contracts

上海充通大学 1.Add Visibility Information SHANGHAI JIAO TONG UNIVERSITY UML defines three levels of visibility: Private (Class implementor): A private attribute can be accessed only by the class in which it is defined. A private operation can be invoked only by the class in which it is defined. Private attributes and operations cannot be accessed by subclasses or other classes. Protected (Class extender): A protected attribute or operation can be accessed by the class in which it is defined and on any descendent of the class. Public (Class user): A public attribute or operation can be accessed by any class. Software Engineering
Software Engineering 1. Add Visibility Information UML defines three levels of visibility: Private (Class implementor): • A private attribute can be accessed only by the class in which it is defined. • A private operation can be invoked only by the class in which it is defined. • Private attributes and operations cannot be accessed by subclasses or other classes. Protected (Class extender): • A protected attribute or operation can be accessed by the class in which it is defined and on any descendent of the class. Public (Class user): • A public attribute or operation can be accessed by any class
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)08. Object Design-Reusing Pattern Solutions.pptx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)07.System Design-Addressing Design Goals.pdf
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)06. System Design-Decomposing the System.pdf
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)05. Analysis.pdf
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)04. Requirements Elicitation.pdf
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)03. Project Organization and Management.pdf
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)02. Modeling with UML.pdf
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)11.Testing.pptx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)10.Mapping Models to Code.pptx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)01. Introduction to Software Engineering.pptx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(PPT课件讲稿)00. Course Introduction.pptx
- 上海交通大学:《程序设计思想与方法》课程教学资源(PPT课件讲稿)chapter03 数值计算.ppt
- 上海交通大学:《程序设计思想与方法》课程教学资源(PPT课件讲稿)chapter02 程序基本构件.ppt
- 上海交通大学:《程序设计思想与方法》课程教学资源(PPT课件讲稿)chapter01 课程简介、计算机与程序.ppt
- 《程序设计思想与方法》课程教学资源(课程参考书PDF电子版)How to Think Like a Computer Scientist Learning with Python.pdf
- 《程序设计思想与方法》课程教学资源(课程参考书PDF电子版)Python Programming:An Introduction to Computer Science(2002版).pdf
- 《程序设计思想与方法》课程教学资源(课程参考书PDF电子版)PYTHON programming:AN INTRODUCTION TO COMPUTER SCIENCE(JOHN ZELLE).pdf
- 上海交通大学:《程序设计思想与方法》课程教学资源(上机课)第二次上机_第二次上机题目_11.1.doc
- 《Embedded System LAB》教学资源:KEIL Tools by ARM Getting Startedu Creating Applications withμVision®(uv4).pdf
- 上海交通大学:《程序设计思想与方法》课程教学资源(PPT课件讲稿)chapter9 模拟与设计.ppt
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源_About Practical Course.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源_Review Guideline SOFTWARE ENGINEERING.pdf
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)0.Plan_4. 计划阶段指南.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)0.Plan_可行性研究报告.doc
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)0.Plan_项目开发计划.doc
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)1.Define_小组作业2.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)1.Define_词汇表.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)1.Define_软件需求规约.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)1.Define_需求定义阶段指南.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)2.Analysis_分析阶段指南.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)2.Analysis_软件需求规约.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)3.Design_设计阶段指南.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)3.Design_软件架构文档.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)3.Design_软件设计模型.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)4. Build_构造阶段指南.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)4. Build_模块开发卷宗.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)5.Test&Deploy&Close_交付清单.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)5.Test&Deploy&Close_交付阶段指南.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)5.Test&Deploy&Close_总结阶段指南.docx
- 上海交通大学:《面向对象软件工程 Software Engineering》课程教学资源(作业)5.Test&Deploy&Close_测试阶段指南.docx