A Student Guide to Object-Oriented Development. Chapter 6 Identifying Functionality. Responsibilities. Overall system functionality divided up between classes Each class has certain responsibilities
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Chapter 6 Identifying Functionality
to provide a service to a user (e.g.maintain a customer record) or to another class (e.g. to supply data)
A collaboration is the group of objects that interact to execute a use case
2: validate id
3: enter current semester
1: enter id
4: create new schedule
John : Student
6: get courses
This operation finds the Bike object whose number corresponds to the bike number input (bike#) and returns details about the bike (bike# + available + type + make + model + size + dailyHireRate + deposit)
This operation uses today's date from the system clock and the attributes startDate and numberDays to calculate whether the bike has been returned late and if so by how many days. It calculates the overdue amount (Bike.dailyHireRate multipled by the number of days late) and records it by executing SetLatenessDeduction(amt).