A Student Guide to Object-Oriented Development - PowerPoint PPT Presentation

About This Presentation
Title:

A Student Guide to Object-Oriented Development

Description:

Title: Object-oriented Tools and Techniques Author: Jacqui McCary Last modified by: Yahya Created Date: 9/24/2002 3:10:18 PM Document presentation format – PowerPoint PPT presentation

Number of Views:50
Avg rating:3.0/5.0
Slides: 17
Provided by: Jacqu178
Category:

less

Transcript and Presenter's Notes

Title: A Student Guide to Object-Oriented Development


1
A Student Guide to Object-Oriented Development
  • Chapter 10 Designing objects and classes

2
Detailed design activities
  • Revisit class diagram to add implementation
    details
  • Revisit interaction diagrams to add
    implementation detail

3
Class diagram
  • Add new classes e.g. interface and control
    classes
  • Specify technical details of associations between
    classes
  • Specify visibility of classes, attributes and
    operation
  • Specify attributes in detail
  • Specify operations in detail

4
Different types of classes
  • Entity classes
  • Boundary classes
  • Control classes

5
Entity classes
  • Model features of the problem domain e.g. bikes,
    customers, hires
  • Also known as domain or application classes
  • All of the classes so far have been entity classes

6
Boundary classes
  • Model the systems interface with its actors
  • Used to capture user input and present results

7
Control classes
  • Control the sequencing of events (e.g. in the
    execution of a use case scenario)
  • In a system of any size we expect a boundary and
    a control object for each use case

8
Attribute signature Bike class attribute -
deposit
  • deposit Integer 0

9
Operation signatureBike class - findBike(bike)
  • findBike(bike Integer) Bike

10
Wheels collaboration diagram for use case
Maintain Bike, Add new bike scenario
  • Control object MaintainBike added
  • Interface object MaintainBikeUI added

11
Collection class in use
  • Sequence diagram showing how the collection class
    works

12
Sequence diagrams object creation and deletion
  • the interface object MaintainBikeUI is created
    and destroyed in this interaction

13
Sequence diagrams iteration
14
Sequence diagrams iteration
  • everything inside the rectangle is repeated while
    there are more bikes to add

15
Sequence diagrams conditional behaviour and
branching
  • conditions should be mutually exclusive

16
Wheels design sequence diagram
Write a Comment
User Comments (0)
About PowerShow.com