notesonly.in

One notebook for every subject — open it anywhere.

Log in

UML diagrams: class, sequence, use case

Software Engineering · Engineering

Study notes

Design a library system: the class diagram shows Book (title, author, borrow()), Member (name, id), with Member borrows Book association. The sequence diagram for borrowing: Member -> Librarian: request book; Librarian -> System: check availability; System --> Librarian: available; Librarian -> Member: issue book. The use case diagram shows actors Member and Librarian with goals Borrow Book, Return Book.

← Back to topics for Engineering