ch12 - ©Ian Sommerville 2000 Software Engineering, 6th...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 1 Object-oriented Design Designing systems using self- contained objects and object classes ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 2 Objectives l To explain how a software design may be represented as a set of interacting objects that manage their own state and operations l To describe the activities in the object-oriented design process l To introduce various models that describe an object-oriented design l To show how the UML may be used to represent these models ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 3 Topics covered l Objects and object classes l An object-oriented design process l Design evolution ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 4 Characteristics of OOD l Objects are abstractions of real-world or system entities and manage themselves l Objects are independent and encapsulate state and representation information. l System functionality is expressed in terms of object services l Shared data areas are eliminated. Objects communicate by message passing l Objects may be distributed and may execute sequentially or in parallel ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 5 Interacting objects state o3 o3:C3 state o4 o4: C4 state o1 o1: C1 state o6 o6: C1 state o5 o5:C5 state o2 o2: C3 ops1() ops3 () ops4 () ops3 () ops1 () ops5 () ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 6 Advantages of OOD l Easier maintenance. Objects may be understood as stand-alone entities l Objects are appropriate reusable components l For some systems, there may be an obvious mapping from real world entities to system objects ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 7 Object-oriented development l Object-oriented analysis, design and programming are related but distinct l OOA is concerned with developing an object model of the application domain l OOD is concerned with developing an object- oriented system model to implement requirements l OOP is concerned with realising an OOD using an OO programming language such as Java or C++ ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 8 Objects and object classes l Objects are entities in a software system which represent instances of real-world and system entities l Object classes are templates for objects. They may be used to create objects l Object classes may inherit attributes and services from other object classes ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12 Slide 9 Objects An object is an entity which has a state and a defined set of operations which operate on that state. The state is represented as a set of object attributes. The operations associated with the object provide services to other objects (clients) which request these services when some computation is required....
View Full Document

This note was uploaded on 11/09/2009 for the course SE 120336 taught by Professor Unknown during the Spring '09 term at Avila University.

Page1 / 55

ch12 - ©Ian Sommerville 2000 Software Engineering, 6th...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online