Index
All Classes and Interfaces|All Packages
A
- AVAILABLE - Enum constant in enum class eus.ehu.hotelreservation.domain.RoomStatus
- AvailableRoomModel - Class in eus.ehu.hotelreservation.model
-
JavaFX model class for displaying available room types in the TableView.
- AvailableRoomModel(String, String, double, double) - Constructor for class eus.ehu.hotelreservation.model.AvailableRoomModel
B
- BlFacade - Interface in eus.ehu.hotelreservation.businessLogic
-
Interface that specifies the business logic for the Hotel Reservation system.
- BlFacadeImplementation - Class in eus.ehu.hotelreservation.businessLogic
-
Singleton implementation of the business-logic facade.
C
- close() - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
-
Closes the
EntityManagerand releases database resources. - Config - Class in eus.ehu.hotelreservation.configuration
-
Singleton that loads and exposes application configuration from
config.properties. - Customer - Class in eus.ehu.hotelreservation.domain
-
Represents a hotel customer identified by national ID.
- Customer() - Constructor for class eus.ehu.hotelreservation.domain.Customer
D
- dailyPriceProperty() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
- DataAccess - Class in eus.ehu.hotelreservation.dataAccess
-
Data-access layer built on Hibernate / JPA with an embedded H2 database.
- DataAccess() - Constructor for class eus.ehu.hotelreservation.dataAccess.DataAccess
- db - Variable in class eus.ehu.hotelreservation.dataAccess.DataAccess
E
- emf - Variable in class eus.ehu.hotelreservation.dataAccess.DataAccess
- eus.ehu.hotelreservation - module eus.ehu.hotelreservation
- eus.ehu.hotelreservation.businessLogic - package eus.ehu.hotelreservation.businessLogic
- eus.ehu.hotelreservation.configuration - package eus.ehu.hotelreservation.configuration
- eus.ehu.hotelreservation.dataAccess - package eus.ehu.hotelreservation.dataAccess
- eus.ehu.hotelreservation.domain - package eus.ehu.hotelreservation.domain
- eus.ehu.hotelreservation.model - package eus.ehu.hotelreservation.model
- eus.ehu.hotelreservation.ui - package eus.ehu.hotelreservation.ui
F
- firstDayMonth(Date) - Static method in class eus.ehu.hotelreservation.configuration.UtilDate
G
- getAdditionalDayPrice() - Method in class eus.ehu.hotelreservation.domain.HotelRoomType
- getAddress() - Method in class eus.ehu.hotelreservation.domain.Hotel
- getAmountDue() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getAmountPaid() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getAvailableRooms(String, LocalDate, LocalDate) - Method in interface eus.ehu.hotelreservation.businessLogic.BlFacade
-
Queries available room types for a given hotel and date range.
- getAvailableRooms(String, LocalDate, LocalDate) - Method in class eus.ehu.hotelreservation.businessLogic.BlFacadeImplementation
- getAvailableRooms(String, LocalDate, LocalDate) - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
-
Returns available room types (not specific rooms) for a hotel and date range.
- getCategory() - Method in class eus.ehu.hotelreservation.domain.Hotel
- getCheckIn() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getCheckOut() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getCreditCard() - Method in class eus.ehu.hotelreservation.domain.Customer
- getCustomer() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getCustomer() - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- getCustomer(String) - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
-
Looks up a customer by national ID.
- getDailyPrice() - Method in class eus.ehu.hotelreservation.domain.Rate
- getDailyPrice() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
-
Gets the value of the
dailyPriceproperty. - getDatabaseName() - Method in class eus.ehu.hotelreservation.configuration.Config
- getDataBaseOpenMode() - Method in class eus.ehu.hotelreservation.configuration.Config
- getEmail() - Method in class eus.ehu.hotelreservation.domain.Hotel
- getEndDate() - Method in class eus.ehu.hotelreservation.domain.Rate
- getEntryCode() - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- getFromDate() - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- getHotel() - Method in class eus.ehu.hotelreservation.domain.HotelRoomType
- getHotel() - Method in class eus.ehu.hotelreservation.domain.Room
- getHotel() - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- getHotelName() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
-
Gets the value of the
hotelNameproperty. - getHotelNameForQuery() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
-
Gets the value of the
hotelNameForQueryproperty. - getHotelRoomTypes() - Method in class eus.ehu.hotelreservation.domain.Hotel
- getHotelRoomTypes() - Method in class eus.ehu.hotelreservation.domain.RoomType
- getHotels() - Method in interface eus.ehu.hotelreservation.businessLogic.BlFacade
-
Returns the list of all hotels registered in the system.
- getHotels() - Method in class eus.ehu.hotelreservation.businessLogic.BlFacadeImplementation
- getHotels() - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
-
Retrieves all hotels from the database.
- getId() - Method in class eus.ehu.hotelreservation.domain.Hotel
- getId() - Method in class eus.ehu.hotelreservation.domain.HotelRoomType
- getId() - Method in class eus.ehu.hotelreservation.domain.Rate
- getId() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getId() - Method in class eus.ehu.hotelreservation.domain.Room
- getId() - Method in class eus.ehu.hotelreservation.domain.RoomType
- getId() - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- getInstance() - Static method in class eus.ehu.hotelreservation.businessLogic.BlFacadeImplementation
-
Returns the singleton instance of the business-logic facade.
- getInstance() - Static method in class eus.ehu.hotelreservation.configuration.Config
- getMonthNumber(Date) - Static method in class eus.ehu.hotelreservation.configuration.UtilDate
- getName() - Method in class eus.ehu.hotelreservation.domain.Customer
- getName() - Method in class eus.ehu.hotelreservation.domain.Hotel
- getNationalId() - Method in class eus.ehu.hotelreservation.domain.Customer
- getNumber() - Method in class eus.ehu.hotelreservation.domain.Room
- getPhone() - Method in class eus.ehu.hotelreservation.domain.Hotel
- getRateCode() - Method in class eus.ehu.hotelreservation.domain.Rate
- getRates() - Method in class eus.ehu.hotelreservation.domain.RoomType
- getRequestedOn() - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- getReservationCode() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getReservationEnd() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getReservations() - Method in class eus.ehu.hotelreservation.domain.Customer
- getReservations() - Method in class eus.ehu.hotelreservation.domain.Room
- getReservationStart() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getRoom() - Method in class eus.ehu.hotelreservation.domain.Reservation
- getRooms() - Method in class eus.ehu.hotelreservation.domain.Hotel
- getRooms() - Method in class eus.ehu.hotelreservation.domain.RoomType
- getRoomType() - Method in class eus.ehu.hotelreservation.domain.HotelRoomType
- getRoomType() - Method in class eus.ehu.hotelreservation.domain.Rate
- getRoomType() - Method in class eus.ehu.hotelreservation.domain.Room
- getRoomType() - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- getRoomType() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
-
Gets the value of the
roomTypeproperty. - getStartDate() - Method in class eus.ehu.hotelreservation.domain.Rate
- getStatus() - Method in class eus.ehu.hotelreservation.domain.Room
- getToDate() - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- getTotalPrice() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
-
Gets the value of the
totalPriceproperty. - getType() - Method in class eus.ehu.hotelreservation.domain.RoomType
- getWaitingListEntries() - Method in class eus.ehu.hotelreservation.domain.Customer
- getWaitingListEntries() - Method in class eus.ehu.hotelreservation.domain.RoomType
H
- Hotel - Class in eus.ehu.hotelreservation.domain
-
Represents a hotel belonging to the chain.
- Hotel() - Constructor for class eus.ehu.hotelreservation.domain.Hotel
- hotelNameForQueryProperty() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
- hotelNameProperty() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
- HotelRoomType - Class in eus.ehu.hotelreservation.domain
- HotelRoomType() - Constructor for class eus.ehu.hotelreservation.domain.HotelRoomType
I
- initializeDB() - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
-
Initializes the database schema and populates it with sample data.
- isDataAccessLocal() - Method in class eus.ehu.hotelreservation.configuration.Config
J
- joinWaitingList(String, String, LocalDate, LocalDate) - Method in interface eus.ehu.hotelreservation.businessLogic.BlFacade
-
Registers the current customer on the waiting list for the given room type at the specified hotel and date range.
- joinWaitingList(String, String, LocalDate, LocalDate) - Method in class eus.ehu.hotelreservation.businessLogic.BlFacadeImplementation
- joinWaitingList(String, String, LocalDate, LocalDate, Customer) - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
-
Adds a customer to the waiting list for a room type at a hotel.
L
- lastDayMonth(Date) - Static method in class eus.ehu.hotelreservation.configuration.UtilDate
M
- main(String[]) - Static method in class eus.ehu.hotelreservation.ui.ReserveRoom
-
Application entry point.
N
- newDate(int, int, int) - Static method in class eus.ehu.hotelreservation.configuration.UtilDate
O
- OCCUPIED - Enum constant in enum class eus.ehu.hotelreservation.domain.RoomStatus
- open() - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
-
Opens a connection to the database using the configuration defined in
hibernate.cfg.xmlandconfig.properties. - open(boolean) - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
R
- Rate - Class in eus.ehu.hotelreservation.domain
- Rate() - Constructor for class eus.ehu.hotelreservation.domain.Rate
- Reservation - Class in eus.ehu.hotelreservation.domain
-
Represents a hotel room reservation made by a
Customer. - Reservation() - Constructor for class eus.ehu.hotelreservation.domain.Reservation
- RESERVED - Enum constant in enum class eus.ehu.hotelreservation.domain.RoomStatus
- reserveRoom(AvailableRoomModel, LocalDate, LocalDate) - Method in interface eus.ehu.hotelreservation.businessLogic.BlFacade
-
Creates a reservation for the selected room type and charges 20% of the total price upfront as an advance payment.
- reserveRoom(AvailableRoomModel, LocalDate, LocalDate) - Method in class eus.ehu.hotelreservation.businessLogic.BlFacadeImplementation
- reserveRoom(AvailableRoomModel, LocalDate, LocalDate, Customer) - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
-
Reserves a room of the given type at the given hotel for the date range.
- ReserveRoom - Class in eus.ehu.hotelreservation.ui
-
Main entry point of the Hotel Reservation desktop application.
- ReserveRoom() - Constructor for class eus.ehu.hotelreservation.ui.ReserveRoom
- ReserveRoomController - Class in eus.ehu.hotelreservation.ui
-
FXML controller for the Reserve Room view.
- ReserveRoomController(BlFacade) - Constructor for class eus.ehu.hotelreservation.ui.ReserveRoomController
-
Constructs the controller with the given business-logic facade.
- reset() - Method in class eus.ehu.hotelreservation.dataAccess.DataAccess
- Room - Class in eus.ehu.hotelreservation.domain
-
Represents a physical room within a
Hotel. - Room() - Constructor for class eus.ehu.hotelreservation.domain.Room
- RoomStatus - Enum Class in eus.ehu.hotelreservation.domain
- RoomType - Class in eus.ehu.hotelreservation.domain
- RoomType() - Constructor for class eus.ehu.hotelreservation.domain.RoomType
- roomTypeProperty() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
S
- sameDay(Date, Date) - Static method in class eus.ehu.hotelreservation.configuration.UtilDate
- setAdditionalDayPrice(Double) - Method in class eus.ehu.hotelreservation.domain.HotelRoomType
- setAddress(String) - Method in class eus.ehu.hotelreservation.domain.Hotel
- setAmountDue(Double) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setAmountPaid(Double) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setCategory(String) - Method in class eus.ehu.hotelreservation.domain.Hotel
- setCheckIn(Date) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setCheckOut(Date) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setCreditCard(String) - Method in class eus.ehu.hotelreservation.domain.Customer
- setCustomer(Customer) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setCustomer(Customer) - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- setDailyPrice(Double) - Method in class eus.ehu.hotelreservation.domain.Rate
- setEmail(String) - Method in class eus.ehu.hotelreservation.domain.Hotel
- setEndDate(Date) - Method in class eus.ehu.hotelreservation.domain.Rate
- setEntryCode(String) - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- setFromDate(Date) - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- setHotel(Hotel) - Method in class eus.ehu.hotelreservation.domain.HotelRoomType
- setHotel(Hotel) - Method in class eus.ehu.hotelreservation.domain.Room
- setHotel(Hotel) - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- setHotelRoomTypes(List<HotelRoomType>) - Method in class eus.ehu.hotelreservation.domain.Hotel
- setHotelRoomTypes(List<HotelRoomType>) - Method in class eus.ehu.hotelreservation.domain.RoomType
- setId(Long) - Method in class eus.ehu.hotelreservation.domain.Hotel
- setId(Long) - Method in class eus.ehu.hotelreservation.domain.HotelRoomType
- setId(Long) - Method in class eus.ehu.hotelreservation.domain.Rate
- setId(Long) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setId(Long) - Method in class eus.ehu.hotelreservation.domain.Room
- setId(Long) - Method in class eus.ehu.hotelreservation.domain.RoomType
- setId(Long) - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- setName(String) - Method in class eus.ehu.hotelreservation.domain.Customer
- setName(String) - Method in class eus.ehu.hotelreservation.domain.Hotel
- setNationalId(String) - Method in class eus.ehu.hotelreservation.domain.Customer
- setNumber(String) - Method in class eus.ehu.hotelreservation.domain.Room
- setPhone(String) - Method in class eus.ehu.hotelreservation.domain.Hotel
- setRateCode(String) - Method in class eus.ehu.hotelreservation.domain.Rate
- setRates(List<Rate>) - Method in class eus.ehu.hotelreservation.domain.RoomType
- setRequestedOn(Date) - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- setReservationCode(String) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setReservationEnd(Date) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setReservations(List<Reservation>) - Method in class eus.ehu.hotelreservation.domain.Customer
- setReservations(List<Reservation>) - Method in class eus.ehu.hotelreservation.domain.Room
- setReservationStart(Date) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setRoom(Room) - Method in class eus.ehu.hotelreservation.domain.Reservation
- setRooms(List<Room>) - Method in class eus.ehu.hotelreservation.domain.Hotel
- setRooms(List<Room>) - Method in class eus.ehu.hotelreservation.domain.RoomType
- setRoomType(RoomType) - Method in class eus.ehu.hotelreservation.domain.HotelRoomType
- setRoomType(RoomType) - Method in class eus.ehu.hotelreservation.domain.Rate
- setRoomType(RoomType) - Method in class eus.ehu.hotelreservation.domain.Room
- setRoomType(RoomType) - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- setStartDate(Date) - Method in class eus.ehu.hotelreservation.domain.Rate
- setStatus(RoomStatus) - Method in class eus.ehu.hotelreservation.domain.Room
- setToDate(Date) - Method in class eus.ehu.hotelreservation.domain.WaitingListEntry
- setType(String) - Method in class eus.ehu.hotelreservation.domain.RoomType
- setWaitingListEntries(List<WaitingListEntry>) - Method in class eus.ehu.hotelreservation.domain.Customer
- setWaitingListEntries(List<WaitingListEntry>) - Method in class eus.ehu.hotelreservation.domain.RoomType
- start(Stage) - Method in class eus.ehu.hotelreservation.ui.ReserveRoom
-
Creates and displays the main application window.
T
- totalPriceProperty() - Method in class eus.ehu.hotelreservation.model.AvailableRoomModel
- trim(Date) - Static method in class eus.ehu.hotelreservation.configuration.UtilDate
U
- UtilDate - Class in eus.ehu.hotelreservation.configuration
- UtilDate() - Constructor for class eus.ehu.hotelreservation.configuration.UtilDate
V
- valueOf(String) - Static method in enum class eus.ehu.hotelreservation.domain.RoomStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class eus.ehu.hotelreservation.domain.RoomStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WaitingListEntry - Class in eus.ehu.hotelreservation.domain
-
Represents an entry on the waiting list, created when a customer requests a room type that is not currently available.
- WaitingListEntry() - Constructor for class eus.ehu.hotelreservation.domain.WaitingListEntry
All Classes and Interfaces|All Packages