70 likes | 187 Views
Object-oriented modeling From business tasks to Use Cases. Karolina Muszyńska. Business task description. Use case diagram. „Make repair reservation” u se case specification. Service personnel selects 'Make repair reservation‘ System displays 'repair reservation' form
E N D
Object-oriented modelingFrom business tasks to Use Cases Karolina Muszyńska
„Make repair reservation” use case specification Service personnel selects 'Make repair reservation‘ System displays 'repair reservation' form Service personnel selects client search System displays list of clients Service personnel chooses a client System inserts the client's data into the 'repair reservation' form Service personnel selects repairs search Include: Display repair types Service personnel selects the repair type System inserts the repair's data together with the cost to the 'repair reservation' form Service personnel selects 'make repair reservation‘ System displays confirmation
„Make repair reservation” use case extension point „Add client” use case specification • System displays 'add client' form • Service personnel inserts client's data (name, address, phone number, e-mail address) • Service personnel selects 'add client‘ • System displays confirmation before point 5. extend: Add client
Rent-a-Car case study • Possible business tasks: • Rent a car • Take back the rented car • Prepare cars for rental • Make a reservation for a car • Buy a car • Sell a car • …
„Rent a car” business task • Business steps: • Identifying the type of car and rental time frame the client is interested in • Identifying the client • Preparing the rental contract • Signing the contract and informing garage about new rental