Lecuture 10 Object-Oriented Design and UML

Lecuture 10 Object-Oriented Design and UML - Objectoriented...

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

View Full Document Right Arrow Icon
CUHK, Spring 2007 Object-oriented  Object-oriented  Design Design Teresa Teresa  Xia Cai  Xia Cai
Background image of page 1

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

View Full DocumentRight Arrow Icon
CUHK, Spring 2007 Software Engineering / 7 - 2 Outline Outline Object and object classes An object-oriented design process Various models in object-oriented design UML notation
Background image of page 2
CUHK, Spring 2007 Software Engineering / 7 - 3 Object-oriented development Object-oriented development Object-oriented analysis, design and programming are  related but distinct. OOA is concerned with developing an object model of  the application domain. OOD is concerned with developing an object-oriented  system model to implement requirements. OOP is concerned with realising an OOD using an OO  programming language such as Java or C++.
Background image of page 3

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

View Full DocumentRight Arrow Icon
CUHK, Spring 2007 Software Engineering / 7 - 4 Characteristics of OOD Characteristics of OOD Objects are abstractions of real-world or system entities  and manage themselves. Objects are independent and encapsulate state and  representation information.  System functionality is expressed in terms of object  services. Shared data areas are eliminated. Objects  communicate by message passing. Objects may be distributed and may execute  sequentially or in parallel.
Background image of page 4
CUHK, Spring 2007 Software Engineering / 7 - 5 Advantages of OOD Advantages of OOD Easier maintenance. Objects may be  understood as stand-alone entities. Objects are potentially reusable components. For some systems, there may be an obvious  mapping from real world entities to system  objects.
Background image of page 5

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

View Full DocumentRight Arrow Icon
CUHK, Spring 2007 Software Engineering / 7 - 6 The Unified Modeling Language (UML) The Unified Modeling Language (UML) Several different notations for describing object- oriented designs were proposed in the 1980s  and 1990s.  The Unified Modeling Language is an integration  of these notations. It describes notations for a number of different  models that may be produced during OO  analysis and design. It is now a  de facto  standard for OO modelling.
Background image of page 6
CUHK, Spring 2007 Software Engineering / 7 - 7 1. Objects and object classes 1. Objects and object classes     Objects are entities in a software system which  represent instances of real-world and system  entities. Object classes are templates for objects. They  may be used to create objects. Object classes may inherit attributes and  services from other object classes.
Background image of page 7

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

View Full DocumentRight Arrow Icon
CUHK, Spring 2007 Software Engineering / 7 - 8 Employee object class (UML) Employee object class (UML) Object attributes Operations
Background image of page 8
CUHK, Spring 2007 Software Engineering / 7 - 9 Object communication Object communication Conceptually, objects communicate by  message passing. Messages
Background image of page 9

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

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

This note was uploaded on 12/28/2010 for the course CSC CSC2120 taught by Professor Xiacai during the Spring '07 term at CUHK.

Page1 / 56

Lecuture 10 Object-Oriented Design and UML - Objectoriented...

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