org.jboss.seam.example.booking
Class Hotel
java.lang.Object
org.jboss.seam.example.booking.Hotel
- All Implemented Interfaces:
- Serializable
@Name(value="hotel")
public class Hotel
- extends Object
- implements Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
Hotel()
|
Hotel
public Hotel()
getId
public Long getId()
setId
public void setId(Long id)
getName
@Length(max=50)
@NotNull
public String getName()
setName
public void setName(String name)
getAddress
@Length(max=100)
@NotNull
public String getAddress()
setAddress
public void setAddress(String address)
getCity
@Length(max=40)
@NotNull
public String getCity()
setCity
public void setCity(String city)
getZip
@Length(min=4,
max=6)
@NotNull
public String getZip()
setZip
public void setZip(String zip)
getState
@Length(min=2,
max=10)
@NotNull
public String getState()
setState
public void setState(String state)
getCountry
@Length(min=2,
max=40)
@NotNull
public String getCountry()
setCountry
public void setCountry(String country)
getPrice
public BigDecimal getPrice()
setPrice
public void setPrice(BigDecimal price)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.