java.lang.Object
eus.ehu.hotelreservation.domain.Hotel
Represents a hotel belonging to the chain.
Contains basic contact information (name, category, address, phone,
email) and is associated with a collection of rooms
and hotel-room-type pricing associations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()getId()getName()getPhone()getRooms()voidsetAddress(String address) voidsetCategory(String category) voidvoidsetHotelRoomTypes(List<HotelRoomType> hotelRoomTypes) voidvoidvoidvoid
-
Constructor Details
-
Hotel
public Hotel()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getCategory
-
setCategory
-
getAddress
-
setAddress
-
getPhone
-
setPhone
-
getEmail
-
setEmail
-
getRooms
-
setRooms
-
getHotelRoomTypes
-
setHotelRoomTypes
-