How vonjjustin/adnu-erc-simulation works
This is a Java simulation of an electronic resources center. The visible workflow is a terminal dashboard showing computer availability and offering menu choices; the principal modeled domain behavior is a computer session that tracks occupancy, time limits, actions, and completion. Renewal and seat-transfer actions delegate to that session. The menu advertises document services, penalties, resource management, and reports, but their routing and implementations are not shown in the excerpts, so those branches are represented without inferred call links.
Main entry points: ComputerSession.java Computer session · Dashboard.java Dashboard and menu · SessionRenewal.java Session renewal · SeatTransfer.java Seat transfer
Components 20
Terminal interface
- Application entry
src/app/Main.java - Dashboard and menu
src/app/Dashboard.java - Computer layout
src/app/ComputerLayout
ERC resources
- Student
src/resources/Student.java - Computer
src/resources/Computer.java - ERC resource
src/resources/ERCResource.java - Printer
src/resources/Printer.java
Computer sessions
- Computer session
src/sessions/ComputerSession.java - Session action
src/sessions/SessionAction.java - Session renewal
src/sessions/SessionRenewal.java - Seat transfer
src/sessions/SeatTransfer.java
Document services
- Document service
src/services/DocumentService.java - Printing service
src/services/PrintingService.java - Photocopy service
src/services/PhotocopyService.java - Scanning service
src/services/ScanningService.java
Transactions
- Transaction
src/transactions/Transaction.java - Charge
src/transactions/Charge.java - Paper purchase
src/transactions/PaperPurchase.java - Penalty
src/transactions/Penalty.java
Other components
- ERC operator
Connections 4
- Dashboard and menu → Computer layout: renders
src/app/Dashboard.java - Computer session → Session action: executes
src/sessions/ComputerSession.java - Session renewal → Computer session: renews
src/sessions/SessionRenewal.java - Seat transfer → Computer session: transfers seat
src/sessions/SeatTransfer.java