|
Forgiveness breaks the chain of causality, because he who "forgives" you -- out of love -- takes upon himself the consequence of what you have done. Forgiveness, therefore, always entails a sacrifice. DAG HAMMARSKJOLD
Object Modeling and Use Cases
Webster:
modeling methodology = Process + Notation + Tool
UML -- Unified Modeling Language
See also Object-Oriented Analysis and Design with UML Test
Overview of Object-Oriented Analysis and Design:
2. Build
3. Release
2. Evaluate candidate objects
3. Discover object attributes
4. Discover object operations
Also known as scenarios, behavior signatures, etc ..
A use case is a sequences of steps representing interactions between actors (users) and the system.
Example: Consider a software system to be developed for a library. One use case is the borrowing of a book by a borrower. One scenario for this use case would consist of the following steps:
1. Borrower list the books. 2. Borrower borrows a book. 3. Librarian lends the book to the patron. ...............A single use case may be associated with several scenarios. In this example, we might have different scenarios if the book is a reference book which may not be checked out, or if the librarian discovers that the patron already has several overdue books checked out.
Use cases may be used iteratively, adding levels of detail at each stage. The first stage might be to name the use cases, then outline a typical scenario for it. Later, additional or more detailed scenarios may be added. The objective is to identify actors, objects, and interactions between them.
UML defines a graphical representation for use cases. A use case diagram shows the actors and the use cases:
Variations to normal cases are handled by extending the case