Object-Oriented Approach



index
Disabled back button Next Section
printable version




Section 0: Module Objectives or Competencies
Course Objective or Competency Module Objectives or Competency
The student will be able to assess and apply Object-Oriented analysis and design methods like use cases to express user requirements, UML modeling, and other OO approaches. The student will work through an example that applies the concepts of Object-Oriented design.


Section 1: Overview

Quick Review

Video: OO Recap


An object-oriented model consists of

Object-oriented design is an iterative process



Section 2: Approach

Video Overview

Finding Classes




Section 3: Example

Analyze the activities of a bank teller as a system. A teller can process deposits and withdrawals as well as cash checks. The teller can also provide information about account status. While processing these transactions, the teller must maintain an accurate balance of their cash drawer so that they can reconcile transactions at the end of their shift.

Attempt to solve the problem. When you are done, move your cursor to any of the blank areas and click to reveal a possible solution.

List business functions:



List the objects under each, if necessary:



















List of Objects:




Evaluation of Objects:




So?


Section 4: Steps in Developing an OO Model

Steps:

  1. select relevant objects
  2. define an initial set of relations
  3. identify attributes of the objects
  4. identify behaviors of the objects

Start by choosing some object – maybe the most independent or dominant object.

Example: customer – most independent, least number of cross-referenced attributes.



Section 5: Class Diagram for Banking System