Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Debrup09/HotelReservationSystem
/ functions
Functions
28 in github.com/Debrup09/HotelReservationSystem
⨍
Functions
28
◇
Types & classes
5
↓ 3 callers
Method
getReservationId
()
Reservation.java:22
↓ 2 callers
Method
getCategory
()
Room.java:23
↓ 2 callers
Method
getRoomNumber
()
Room.java:19
↓ 2 callers
Method
isBooked
()
Room.java:31
↓ 1 callers
Method
bookRoom
()
Room.java:36
↓ 1 callers
Method
cancelReservation
()
Main.java:116
↓ 1 callers
Method
findReservationById
Finds and returns details of a booking by its ID.
Hotel.java:86
↓ 1 callers
Method
getRoom
()
Reservation.java:26
↓ 1 callers
Method
getUserChoice
()
Main.java:51
↓ 1 callers
Method
initializeRooms
()
Hotel.java:22
↓ 1 callers
Method
loadData
Loads the hotel state from a file.
Hotel.java:114
↓ 1 callers
Method
makeReservation
()
Main.java:76
↓ 1 callers
Method
releaseRoom
()
Room.java:40
↓ 1 callers
Method
saveData
Saves the current state of the hotel (rooms and reservations) to a file.
Hotel.java:102
↓ 1 callers
Method
searchAvailableRooms
Searches for available rooms of a specific category. Note: This is a simplified search that only checks the current booking status.
Hotel.java:37
↓ 1 callers
Method
searchRooms
()
Main.java:59
↓ 1 callers
Method
showMenu
()
Main.java:41
↓ 1 callers
Method
simulatePayment
(Reservation reservation)
Hotel.java:92
↓ 1 callers
Method
viewBookingDetails
()
Main.java:105
Method
Hotel
()
Hotel.java:15
Method
Reservation
(int reservationId, String userName, Room room, LocalDate checkInDate, LocalDate checkOutDate)
Reservation.java:13
Method
Room
(int roomNumber, RoomCategory category, double pricePerNight)
Room.java:11
Method
cancelReservation
Cancels a reservation by its ID.
Hotel.java:66
Method
getPricePerNight
()
Room.java:27
Method
main
(String[] args)
Main.java:13
Method
makeReservation
Makes a reservation for a specific room.
Hotel.java:46
Method
toString
()
Room.java:44
Method
toString
()
Reservation.java:30