How astha-gupta9/library-management-system works
This is a small, in-memory Java console library manager. A user selects menu actions; Library coordinates validated input, book and student records, catalog search, and checkout/check-in, then prints results. BookRepository and StudentRepository hold records in static maps, while Book and Student carry inventory and loan state. The README documents these capabilities and the in-memory design. The graph reflects the shown Java excerpts; it does not imply persistent storage or detail beyond the sampled implementation.
Main entry points: Library.java Library workflow · BookRepository.java Book repository · StudentRepository.java Student repository · Student.java Student record
Components 7
Console interaction
- Input validation
ErrorHandling.java
Application coordination
- Library workflow
Library.java
Book catalog
- Book repository
BookRepository.java - Book record
Book.java
Student loans
- Student repository
StudentRepository.java - Student record
Student.java
Other components
- Library user
Connections 8
- Library user → Library workflow: selects actions
README.md - Library workflow → Library user: prints results
Library.java - Library workflow → Input validation: validates input
Library.java - Library workflow → Book repository: manages catalog
Library.java - Library workflow → Student repository: manages students
Library.java - Library workflow → Student record: checks loan limits
Library.java - Book repository → Book record: stores and updates
BookRepository.java - Student repository → Student record: stores and retrieves
StudentRepository.java