TravelPlan

ch.unil.bonita
[Groovy] Class Hotel

java.lang.Object
  ch.unil.bonita.Hotel
All Implemented Interfaces:
Serializable

class Hotel

Constructor Summary
Hotel()

Hotel(NodeChild xml)

Create a Hotel instance populated with the xml data rootNode is <HotelSummary>

 
Method Summary
String getAddress1()

String getAirportCode()

String getCity()

String getConfidenceRating()

String getCountryCode()

String getDeepLink()

Float getHighRate()

Integer getHotelId()

Boolean getHotelInDestination()

Float getHotelRating()

String getLatitude()

String getLocationDescription()

String getLongitude()

Float getLowRate()

String getName()

Integer getPostalCode()

String getPropertyCategory()

Float getProximityDistance()

String getProximityUnit()

String getRateCurrencyCode()

String getShortDescription()

String getStateProvinceCode()

String getThumbNailUrl()

Float getTripAdvisorRating()

void setAddress1(String address)

void setAirportCode(String airportCode)

void setCity(String city)

void setConfidenceRating(String confidenceRating)

void setCountryCode(String countryCode)

void setDeepLink(String deepLink)

void setHighRate(Float highRate)

void setHotelId(Integer hotelId)

void setHotelInDestination(Boolean hotelInDestination)

void setHotelRating(Float hotelRating)

void setLatitude(String latitude)

void setLocationDescription(String locationDescription)

void setLongitude(String longitude)

void setLowRate(Float lowRate)

void setName(String name)

void setPostalCode(Integer postalCode)

void setPropertyCategory(String propertyCategory)

void setProximityDistance(Float proximityDistance)

void setProximityUnit(String proximityUnit)

void setRateCurrencyCode(String rateCurrencyCode)

void setShortDescription(String shortDescription)

void setStateProvinceCode(String stateProvinceCode)

void setThumbNailUrl(String thumbNailUrl)

void setTripAdvisorRating(Float tripAdvisorRating)

String toHtml()

Returns an HTML representation of the Hotel the outermost div has the class isie_hotel

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

Hotel

Hotel()


Hotel

Hotel(NodeChild xml)
Create a Hotel instance populated with the xml data rootNode is <HotelSummary>
Parameters:
xml - <HotelSummary> Node


 
Method Detail

getAddress1

String getAddress1()


getAirportCode

String getAirportCode()


getCity

String getCity()


getConfidenceRating

String getConfidenceRating()


getCountryCode

String getCountryCode()


getDeepLink

String getDeepLink()


getHighRate

Float getHighRate()


getHotelId

Integer getHotelId()


getHotelInDestination

Boolean getHotelInDestination()


getHotelRating

Float getHotelRating()


getLatitude

String getLatitude()


getLocationDescription

String getLocationDescription()


getLongitude

String getLongitude()


getLowRate

Float getLowRate()


getName

String getName()


getPostalCode

Integer getPostalCode()


getPropertyCategory

String getPropertyCategory()


getProximityDistance

Float getProximityDistance()


getProximityUnit

String getProximityUnit()


getRateCurrencyCode

String getRateCurrencyCode()


getShortDescription

String getShortDescription()


getStateProvinceCode

String getStateProvinceCode()


getThumbNailUrl

String getThumbNailUrl()


getTripAdvisorRating

Float getTripAdvisorRating()


setAddress1

void setAddress1(String address)


setAirportCode

void setAirportCode(String airportCode)


setCity

void setCity(String city)


setConfidenceRating

void setConfidenceRating(String confidenceRating)


setCountryCode

void setCountryCode(String countryCode)


setDeepLink

void setDeepLink(String deepLink)


setHighRate

void setHighRate(Float highRate)


setHotelId

void setHotelId(Integer hotelId)


setHotelInDestination

void setHotelInDestination(Boolean hotelInDestination)


setHotelRating

void setHotelRating(Float hotelRating)


setLatitude

void setLatitude(String latitude)


setLocationDescription

void setLocationDescription(String locationDescription)


setLongitude

void setLongitude(String longitude)


setLowRate

void setLowRate(Float lowRate)


setName

void setName(String name)


setPostalCode

void setPostalCode(Integer postalCode)


setPropertyCategory

void setPropertyCategory(String propertyCategory)


setProximityDistance

void setProximityDistance(Float proximityDistance)


setProximityUnit

void setProximityUnit(String proximityUnit)


setRateCurrencyCode

void setRateCurrencyCode(String rateCurrencyCode)


setShortDescription

void setShortDescription(String shortDescription)


setStateProvinceCode

void setStateProvinceCode(String stateProvinceCode)


setThumbNailUrl

void setThumbNailUrl(String thumbNailUrl)


setTripAdvisorRating

void setTripAdvisorRating(Float tripAdvisorRating)


toHtml

String toHtml()
Returns an HTML representation of the Hotel the outermost div has the class isie_hotel
Returns:
HTML code


toString

String toString()


 

Groovy Documentation