Documente Academic
Documente Profesional
Documente Cultură
Flow of Events
Preconditions:
1. The Library Clerk is identified by the System and is authorized to perform the check-out function
2. The borrower has already chosen materials to borrow.
Alternative Sequences:
A5. The number of borrowed library items (current applied for plus outstanding loans) is equal to the maximum
allowed borrowings
1. System signals error and prohibits any additional loan.
2. Library Clerk informs patron that his/her loan limit has been reached.
3. Library Clerk indicates done with loan transaction which resumes the use case at Step 9 of the Main
Success Scenario
A3. Patron requests that a previously entered item be replaced by another item
1. Library Clerk cancels previously entered item
2. System removes the selected item and opens-up for entry of new loan item which resumes the use
case at Step 5 of the Main Success Scenario.
Error Sequences:
E3a. No patron information found.
1. System signals error and rejects entry.
2. Library Clerk responds to the error:
2a. Incorrect patron ID card number entered.
1. Library Clerk repeats Step 2 of the Main Success Scenario.
2b. The patron’s ID card number is non-readable by the machine
1. Library Clerk repeats Step 2 of the Main Success Scenario by manually entering
patron’s ID card number
2c. Correct patron ID card number entered.
1. Library Clerk advises patron to see and correct his/her information with the one in
charge of the Library Patron Registry System
2. Library Clerk cancels current transaction
3. System clears current transaction which ends the use case.
E3b. Patron has existing loans for library items equal to the maximum allowed borrowings
PostConditons:
1. A loan transaction record for the patron is created.
2. Status of borrowed library items is updated.
3. Count of available copies of the item is updated.