How kage-damn/buklat-aklat works
Buklat-Aklat is a session-only library management application with console and Swing entry points. In the console workflow, students and librarians log in through Main, which dispatches role-specific actions to Library; Library applies catalog and loan rules against in-memory arrays. Borrowing creates dated records, and returns update both record status and book availability. Librarians also manage books, students, account confirmation, and master lists. The README describes the console product, while the source index and GUI excerpt show a separate Swing interface. Relationships are limited to calls and references shown in the excerpts or documented in the README.
Main entry points: Library.java Library rules · Main.java Console workflow · Student.java Student account · Librarian.java Librarian account
Components 11
User interfaces
- Console workflow
Main.java - Swing interface
LibraryGUI.java
Library operations
- Library rules
Library.java - Rule errors
LibraryException.java
Domain models
- Catalog book
Book.java - Loan record
BorrowRecord.java - User base
User.java - Student account
Student.java - Librarian account
Librarian.java
Other components
- Student
- Librarian
Connections 15
- Student → Console workflow: uses
README.md - Librarian → Console workflow: uses
README.md - Console workflow → Library rules: authenticates and manages
Main.java - Console workflow → Student account: dispatches session
Main.java - Console workflow → Librarian account: dispatches session
Main.java - Student account → Library rules: requests loans
Student.java - Librarian account → Library rules: views master list
Librarian.java - Library rules → Catalog book: stores and updates
Library.java - Library rules → Loan record: creates and updates
Library.java - Library rules → Student account: stores and checks
Library.java - Library rules → Librarian account: stores and authenticates
Library.java - Library rules → Rule errors: raises
Library.java - Student account → User base: extends
Student.java - Librarian account → User base: extends
Librarian.java - Swing interface → Library rules: uses
LibraryGUI.java