Package org.primefaces.showcase.domain
Class Booking
- java.lang.Object
-
- org.primefaces.showcase.domain.Booking
-
- All Implemented Interfaces:
Serializable
public class Booking extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)RoomCategorygetCategory()StringgetComment()StringgetPhone()IntegergetRoomNumber()inthashCode()voidsetCategory(RoomCategory category)voidsetComment(String comment)voidsetPhone(String phone)voidsetRoomNumber(Integer roomNumber)
-
-
-
Constructor Detail
-
Booking
public Booking()
-
Booking
public Booking(Integer roomNumber, RoomCategory category, String phone, String comment)
-
-
Method Detail
-
getRoomNumber
public Integer getRoomNumber()
-
setRoomNumber
public void setRoomNumber(Integer roomNumber)
-
getCategory
public RoomCategory getCategory()
-
setCategory
public void setCategory(RoomCategory category)
-
getPhone
public String getPhone()
-
setPhone
public void setPhone(String phone)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
-