public interface HotelMgmt
Modifier and Type | Method and Description |
---|---|
Guest |
checkIn(Guest guest,
Room room) |
int |
checkout(Guest guest) |
List<Room> |
getAvailableRooms(Integer level,
int offset,
int limit) |
Floor |
getFloor(int level) |
List<Floor> |
getFloors(int offset,
int limit) |
Room |
getRoom(int number) |
Room getRoom(int number)
Floor getFloor(int level)
Guest checkIn(Guest guest, Room room) throws RoomUnavailableExcepton
RoomUnavailableExcepton
int checkout(Guest guest)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.