org.springframework.webflow.samples.booking
Class Hotel

java.lang.Object
  extended by 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()
           
 
Method Summary
 Booking createBooking(User user)
           
 String getAddress()
           
 String getCity()
           
 String getCountry()
           
 Long getId()
           
 String getName()
           
 BigDecimal getPrice()
           
 String getState()
           
 String getZip()
           
 void setAddress(String address)
           
 void setCity(String city)
           
 void setCountry(String country)
           
 void setId(Long id)
           
 void setName(String name)
           
 void setPrice(BigDecimal price)
           
 void setState(String state)
           
 void setZip(String zip)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hotel

public Hotel()
Method Detail

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.