org.springframework.webflow.samples.booking
Class Hotel
java.lang.Object
org.springframework.webflow.samples.booking.Hotel
- All Implemented Interfaces:
- Serializable
public class Hotel
- extends Object
- implements Serializable
A hotel where users may book stays.
- See Also:
- Serialized Form
Constructor Summary |
Hotel()
|
Hotel
public Hotel()
getId
public Long getId()
setId
public void setId(Long id)
getName
public String getName()
setName
public void setName(String name)
getAddress
public String getAddress()
setAddress
public void setAddress(String address)
getCity
public String getCity()
setCity
public void setCity(String city)
getZip
public String getZip()
setZip
public void setZip(String zip)
getState
public String getState()
setState
public void setState(String state)
getCountry
public String getCountry()
setCountry
public void setCountry(String country)
getPrice
public BigDecimal getPrice()
setPrice
public void setPrice(BigDecimal price)
createBooking
public Booking createBooking(User user)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 SpringSource, Inc. All Rights Reserved.