Order the Book

coreservlets
Class FrequentFlyerInfo

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

public class FrequentFlyerInfo
extends Object

Simple class describing an airline and associated frequent flyer number, used from the TravelData class (where an array of FrequentFlyerInfo 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
FrequentFlyerInfo(String airlineName, String frequentFlyerNumber)
           
 
Method Summary
 String getAirlineName()
           
 String getFrequentFlyerNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrequentFlyerInfo

public FrequentFlyerInfo(String airlineName,
                         String frequentFlyerNumber)
Method Detail

getAirlineName

public String getAirlineName()

getFrequentFlyerNumber

public String getFrequentFlyerNumber()

Order the Book

Order
CSAJSP @ amazon.com

Return to Top-Level Source Code Archive