13.07.2015 Views

Object-Oriented Software Development with UML - UNU-IIST ...

Object-Oriented Software Development with UML - UNU-IIST ...

Object-Oriented Software Development with UML - UNU-IIST ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Use Cases: Describing Processes 354.2.3 Writing use casesWhen we use the methods given in the above subsection to identify a use case, we first create a high-leveluse case to obtain some understanding of the overall process, and then expand it by adding to it <strong>with</strong> moredetails.A high-level use case describe a process very briefly, usually in two or three sentences. They are often onlyconcerned <strong>with</strong> the events that the actors perform. It is described in the following format:Use case:Actors:Purpose:Overview:Cross References:Name of use case (use a phrase starting <strong>with</strong> a verb).List of actors (external agents), indicating who initiates the usecase.Intention of the use case.A brief description of the process.Related use cases and system functions.For example, the high-level description of the Buy Items <strong>with</strong> Cash process can be described as follows.Use case:Actors:Purpose:Overview:Cross References:Buy Items <strong>with</strong> CashCustomer (initiator), Cashier.Capture a sale and its cash payment.A Customer arrives at a checkout <strong>with</strong> items to purchase. TheCashier records the purchase items and collects a cash payment.On completion, the Customer leaves <strong>with</strong> the items.Functions: R1.1, R1.2, R1.3, R1.7, R1.9, R2.1.The references to the system functions indicate thatthe use case is created through further understanding of these functions,¢these required functions are allocated to this use case,¢This is useful that¢it is possible to verify that all system functions have been allocated to use cases,Report No. 259, July 2002<strong>UNU</strong>/<strong>IIST</strong>, P.O. Box 3058, Macau

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!