Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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 System

Explanation / 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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote