How would I write the operation contracts for the two operations: confirmMembers
ID: 3740295 • Letter: H
Question
How would I write the operation contracts for the two operations:
confirmMembership(ID)
Library Staff :System confirmMembership(ID) recordResourceBorrowing(ID) makePayment(amount) System Sequence Diagram for Borrowing Library Resource Loan pays-forBorrowingTransaction +date +amount: Quantity +retumTime borrowe-of owns-a Catalog +id +startDate Library Patron +address +name +rents-from +address +name +phoneNum LoanPolicy Resource +perDay/LateCharge +perDay/BorowingCharge +ID determines Domain Model for the Library Information SystemExplanation / Answer
Operation: confirmMembership(ID)
Cross References: Use case: membership validation
pre conditions: member must have user id and pass word who have already registered.
post conditions:
After the membership has validated and confirmed. he can burrow the books visit the library e.t.c.,
Operation: recordResourceBorrowing(ID)
Cross References: Use case: member has to submit book to burrow from librarian.
pre conditions: member must have user id and pass word who have already registered. after success he can burrow
post conditions:
Librarian can enter and grant permission to carry the book.
He has to submit with in time gap
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.