Order the Book

coreservlets
Class HotelInfo

java.lang.Object
  |
  +--coreservlets.HotelInfo

public class HotelInfo
extends Object

Simple class describing a hotel name and associated frequent guest number, used from the TravelData class (where an array of HotelInfo is associated with each customer).

Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.


Constructor Summary
HotelInfo(String hotelName, String frequentGuestNumber)
           
 
Method Summary
 String getfrequentGuestNumber()
           
 String getHotelName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelInfo

public HotelInfo(String hotelName,
                 String frequentGuestNumber)
Method Detail

getHotelName

public String getHotelName()

getfrequentGuestNumber

public String getfrequentGuestNumber()

Order the Book

Order
CSAJSP @ amazon.com

Return to Top-Level Source Code Archive