合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)OO实例

What is object-Oriented? Object orientation is an approach to software development that organizes both the problem and its solution as a collection of discrete objects It is a kind of representation that describe objects data structure and behavior It is a kind of modeling technology
What is Object-Oriented? • Object orientation is an approach to software development that organizes both the problem and its solution as a collection of discrete objects; • It is a kind of representation that describe object’s data structure and behavior. • It is a kind of modeling technology

Characteristics of oo representation Identity--name, reference, handle abstraction Classificatio Encapsulation Inheritance Polymorphism Persistence
Characteristics of OO Representation • Identity—name, reference, handle • Abstraction • Classification • Encapsulation • Inheritance • Polymorphism • Persistence

The oo development process be consistency of terminology and of The problem and the solution were described in same terms: classes, objects methods, attributes, and behaviors Be consistency of perspective Static views Dynamic views -Restrictions
The OO Development Process • Be consistency of terminology and of –The problem and the solution were described in same terms : classes, objects methods, attributes, and behaviors. • Be consistency of perspective –Static views –Dynamic views –Restrictions

Tendency for Change when Using OO Paradigm (Jacobson et al. 1995) Characteristic of software product/project Probability for change Objects derived from the application Long -lived information structures LOw Passive object's attribute Medium Sequences of behavior Medium Interface with the outside world H 1gh Functionality High
Tendency for Change when Using OO Paradigm (Jacobson et al. 1995) Characteristic of software product/project Probability for change Objects derived from the application Low Long-lived information structures Low Passive object’s attribute Medium Sequences of behavior Medium Interface with the outside world High Functionality High

Oo Requirements OO requirements analysis is usually done in the users language Oo requirements analysis discusses the concepts and scenarios likely in application domain The concepts include information, service, and responsibilities Domain knowledge enables both developers and users to understand the problems The requirements definition can be independent of Implement
OO Requirements • OO requirements analysis is usually done in the user’s language. • OO requirements analysis discusses the concepts and scenarios likely in application domain. – The concepts include information, service, and responsibilities. – Domain knowledge enables both developers and users to understand the problems. • The requirements definition can be independent of implement

OO Design Requirement specification the first steps of design To represent a system design First, to identify and represent classes and objects Second to identify the interactions and relationships among objects and classes associations · Compositions Aggregations Inheritance To provide the details in program design Insert computational features in the models Insert some class library details Consider nonfunctional requirements
OO Design • Requirement specification, the first steps of design. • To represent a system design – First, to identify and represent classes and objects. – Second, to identify the interactions and relationships among objects and classes. • Associations • Compositions • Aggregations • Inheritance • To provide the details in program design. – Insert computational features in the models – Insert some class library details – Consider nonfunctional requirements

Use cases(用例) Describe particular functionality to exhibit how a user, external system, and other entity dialog with the system Scenario场景 Script脚本
Use Cases (用例) • Describe particular functionality to exhibit how a user, external system, and other entity dialog with the system. • Scenario 场景 • Script 脚本

Use case diagrams(用例图) Actor(角色) a entity interacting with the system Or a role that an entity plays with respect of the system User · Device · Another systen Cases(用例) a depiction of some aspect of functionality Extensions To extend a use case to illustrate a different or deeper perspective Uses Actually a reuse of an already-defined use case
Use case diagrams(用例图) • Actor(角色) – A entity interacting with the system – Or a role that an entity plays with respect of the system • User • Device • Another system • Cases(用例) – A depiction of some aspect of functionality • Extensions – To extend a use case to illustrate a different or deeper perspective. • Uses – Actually a reuse of an already-defined use case

Overview of royal service station a actor Stand for a case Billing Services Customer Refueling g Parking)Maintenance
Overview of royal service station Billing Services Refueling Parking Maintenance Customer Stand for a case A actor

First extension to include preventive maintenance Pa arkin Refueling Customer Ma anager Maintenance extends Preventive Maintenanc
First extension to include preventive maintenance Preventive Maintenance Maintenance Parking Refueling Customer Manager extends
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第十一章 OOD续.ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第十一章 OOD.ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第十章 OOA.ppt
- 《C语言程序设计教程》第12章 C语言综合应用程序示例.ppt
- 《Dreamweaver扩展》参考文献(英文版)Extending Dreamweaver 8.pdf
- 上海理工大学:《电子商务基础与应用》课程PPT教学课件资源(第四版)第七章 网络营销策略.ppt
- 上海理工大学:《电子商务基础与应用》课程PPT教学课件资源(第四版)第十一章 电子商务物流.ppt
- 上海理工大学:《电子商务基础与应用》课程PPT教学课件资源(第四版)第十章 电子支付.ppt
- 上海理工大学:《电子商务基础与应用》课程PPT教学课件资源(第四版)第九章 ebXML原理.ppt
- 上海理工大学:《电子商务基础与应用》课程PPT教学课件资源(第四版)第八章 网络促销.ppt
- 上海理工大学:《电子商务基础与应用》课程PPT教学课件资源(第四版)第十二章 电子商务安全管理.ppt
- 《大学计算机基础教程》课程教学资源:计算机基础知识.ppt
- 浙江大学:《电子商务导论》课程PPT教学课件_第十章 电子商务支付工具.ppt
- 浙江大学:《电子商务导论》课程PPT教学课件_第九章 电子商务安全技术.ppt
- 浙江大学:《电子商务导论》课程PPT教学课件_第七章 电子商务基础设施.ppt
- 浙江大学:《电子商务导论》课程PPT教学课件_第六章 B2B电子商务.ppt
- 浙江大学:《电子商务导论》课程PPT教学课件_第四章 广告业电子商务.ppt
- 浙江大学:《电子商务导论》课程PPT教学课件_第一章 电子商务概述(冯雁).ppt
- 南京师范大学:《单片机原理及应用》第3章 MCS-51单片机指令系统.ppt
- 南京师范大学:《单片机原理及应用》第2章 单片机的硬件结构和原理.ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第九章 面向对象方法学引论.ppt
- 合肥工业大学:《软件工程》课程教学资源(参考资料)因果图判定表.doc
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第七章 测试(Testing).ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第八章 软件设计的启发式规则面向数据流的设计方法.ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第十三章 管理技术与软件质量保证.ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)结构与对象.ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第八章 维护.ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)编码语言发展.doc
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)第六章 详细设计(zhhf03).ppt
- 合肥工业大学:《软件工程》课程教学资源(讲义)软件可靠性.doc
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿,共三讲).ppt
- 合肥工业大学:《软件工程》课程教学资源(PPT课件讲稿)需求分析.ppt
- 《ARM编程技巧》讲义.ppt
- 《计算机网络管理》第10章 网络安全管理.ppt
- 《计算机网络管理》第12章 美萍计费.ppt
- 《计算机网络管理》第13章 邮件互发.ppt
- 《计算机网络管理》第1章 网络管理概述.ppt
- 《计算机网络管理》第2章 Intranet、Extranet、Internet(新).ppt
- 《计算机网络管理》第3章 IP地址的管理.ppt
- 《计算机网络管理》第4章 域和活动目录的管理.ppt