All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.demos.travel.flight.FlightInformation
java.lang.Object
|
+----com.ibm.beans.demos.travel.flight.FlightInformation
- public class FlightInformation
- extends Object
- implements Serializable
This class contains flight information. Vectors
of this class are used in the following
events: FlightInfoEvent, FlightReservedEvent,
and FlightRequestedEvent.
- See Also:
- FlightInfoEvent, FlightReservedEvent, FlightRequestedEvent
-
FlightInformation(String, String, String, String, String, String, String, String, String, double, String, boolean, String, String, String, String, String, String, String, double, String, String, String, String, String, String, String, String, String, String, String)
- Constructs a new instance containing Flight Information.
-
getAirline()
- Accessor (get) method for the airline.
-
getAirline2()
- Accessor (get) method for the connecting airline.
-
getAirportCodeEndCity()
- Accessor (get) method for the
the airport code for the city where the flight ends.
-
getAirportCodeEndCity2()
- Accessor (get) method for the airport code for the city
where the connecting flight ends.
-
getAirportCodeStartCity()
- Accessor (get) method for the
the airport code of the origin city of the entire trip.
-
getArriveTime()
- Accessor (get) method for the arrival time of the flight.
-
getArriveTime2()
- Accessor (get) method for the arrival time of the final connecting flight if one exists.
-
getbHasConnection()
- Accessor (get) method for the property that describes whether this
itinerary calls for a connecting flight.
-
getCity()
- Accessor (get) method for the city where the passenger lives.
-
getDepartTime()
- Accessor (get) method for the departure time of the flight.
-
getDepartTime2()
- Accessor (get) method for the departure time of the connecting flight
if one exists.
-
getEndCity()
- Accessor (get) method for the city where the flight ends.
-
getEndCity2()
- Accessor (get) method for the city where the connecting flight ends.
-
getFirstName()
- Accessor (get) method for the first name of the passenger.
-
getFlightNum()
- Accessor (get) method for the flight number.
-
getFlightNum2()
- Accessor (get) method for the connecting flight number.
-
getFrequentFlyerNum()
- Accessor (get) method for the frequent flyer number of the passenger.
-
getImageCaption()
- Accessor (get) method for the location of the image caption that will be used
for display by the DetailInfo bean.
-
getImageLocation()
- Accessor (get) method for the location of the image that will be used
for display by the DetailInfo bean.
-
getLastName()
- Accessor (get) method for the last name of the passenger.
-
getPhone()
- Accessor (get) method for the home phone number of the passenger.
-
getPrice()
- Accessor (get) method for the price of the flight.
-
getPrice2()
- Accessor (get) method for the price of the connecting flight.
-
getSeatNum()
- Accessor (get) method for the assigned seat number for the flight.
-
getSeatNum2()
- Accessor (get) method for the assigned seat number for the connecting flight.
-
getStartCity()
- Accessor (get) method for the origin city of the entire trip.
-
getState()
- Accessor (get) method for the state where the passenger lives.
-
getStreet()
- Accessor (get) method for the street address of the passenger.
-
getWhichClass()
- Accessor (get) method for the seating class
(Business Class, First Class, or Economy Class).
-
getWhichClass2()
- Accessor (get) method for the seating class for the connecting flight
(Business Class, First Class, or Economy Class).
-
getZip()
- Accessor (get) method for the zip code where the passenger lives.
FlightInformation
public FlightInformation(String airline,
String flightNum,
String startCity,
String airportCodeStartCity,
String endCity,
String airportCodeEndCity,
String whichClass,
String departTime,
String arriveTime,
double price,
String seatNum,
boolean bHasConnection,
String airline2,
String flightNum2,
String endCity2,
String airportCodeEndCity2,
String whichClass2,
String departTime2,
String arriveTime2,
double price2,
String seatNum2,
String firstName,
String lastName,
String street,
String city,
String state,
String zip,
String phone,
String frequentFlyerNum,
String imageLocation,
String imageCaption)
- Constructs a new instance containing Flight Information.
Note that only one instance of the class is used in the
Vectors of the FlightReservedEvent and the
FlightRequestedEvent. Descriptions of each field are found in
the accessor method for that field.
getAirline
public String getAirline()
- Accessor (get) method for the airline.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the airline property.
getFlightNum
public String getFlightNum()
- Accessor (get) method for the flight number.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the flight number.
getStartCity
public String getStartCity()
- Accessor (get) method for the origin city of the entire trip.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the starting city.
getAirportCodeStartCity
public String getAirportCodeStartCity()
- Accessor (get) method for the
the airport code of the origin city of the entire trip.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the airport code of the starting city.
getEndCity
public String getEndCity()
- Accessor (get) method for the city where the flight ends.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the city where the flight ends.
getAirportCodeEndCity
public String getAirportCodeEndCity()
- Accessor (get) method for the
the airport code for the city where the flight ends.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the airportCodeEndCity property.
getWhichClass
public String getWhichClass()
- Accessor (get) method for the seating class
(Business Class, First Class, or Economy Class).
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the whichClass property.
getDepartTime
public String getDepartTime()
- Accessor (get) method for the departure time of the flight.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the departTime property.
getArriveTime
public String getArriveTime()
- Accessor (get) method for the arrival time of the flight.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the arriveTime property.
getPrice
public double getPrice()
- Accessor (get) method for the price of the flight.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the price property.
getSeatNum
public String getSeatNum()
- Accessor (get) method for the assigned seat number for the flight.
Note that if the bHasConnection property is true,
this property refers to the first leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the seatNum property.
getbHasConnection
public boolean getbHasConnection()
- Accessor (get) method for the property that describes whether this
itinerary calls for a connecting flight.
- Returns:
- true if the itinerary calls for a connecting flight;
false otherwise.
getAirline2
public String getAirline2()
- Accessor (get) method for the connecting airline.
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the airline2 property.
getFlightNum2
public String getFlightNum2()
- Accessor (get) method for the connecting flight number.
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the flightNum2 property.
getEndCity2
public String getEndCity2()
- Accessor (get) method for the city where the connecting flight ends.
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the endCity2 property.
getAirportCodeEndCity2
public String getAirportCodeEndCity2()
- Accessor (get) method for the airport code for the city
where the connecting flight ends.
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the airportCodeEndCity2 property.
getWhichClass2
public String getWhichClass2()
- Accessor (get) method for the seating class for the connecting flight
(Business Class, First Class, or Economy Class).
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the whichClass2 property.
getDepartTime2
public String getDepartTime2()
- Accessor (get) method for the departure time of the connecting flight
if one exists.
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the departTime2 property.
getArriveTime2
public String getArriveTime2()
- Accessor (get) method for the arrival time of the final connecting flight if one exists.
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the arriveTime2 property.
getPrice2
public double getPrice2()
- Accessor (get) method for the price of the connecting flight.
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the price2 property.
getSeatNum2
public String getSeatNum2()
- Accessor (get) method for the assigned seat number for the connecting flight.
Note that this property is valid only if the
bHasConnection property is true. This property
refers to the second leg of a two-leg
connecting flight scenario.
- Returns:
- The current value of the seatNum2 property.
getFirstName
public String getFirstName()
- Accessor (get) method for the first name of the passenger.
- Returns:
- The current value of the firstName property.
getLastName
public String getLastName()
- Accessor (get) method for the last name of the passenger.
- Returns:
- The current value of the lastName property.
getStreet
public String getStreet()
- Accessor (get) method for the street address of the passenger.
- Returns:
- The current value of the street property.
getCity
public String getCity()
- Accessor (get) method for the city where the passenger lives.
- Returns:
- The current value of the city property.
getState
public String getState()
- Accessor (get) method for the state where the passenger lives.
- Returns:
- The current value of the state property.
getZip
public String getZip()
- Accessor (get) method for the zip code where the passenger lives.
- Returns:
- The current value of the zip property.
getPhone
public String getPhone()
- Accessor (get) method for the home phone number of the passenger.
- Returns:
- The current value of the phone property.
getFrequentFlyerNum
public String getFrequentFlyerNum()
- Accessor (get) method for the frequent flyer number of the passenger.
- Returns:
- The current value of the frequentFlyerNum property.
getImageLocation
public String getImageLocation()
- Accessor (get) method for the location of the image that will be used
for display by the DetailInfo bean.
- Returns:
- The current value of the imageLocation property.
getImageCaption
public String getImageCaption()
- Accessor (get) method for the location of the image caption that will be used
for display by the DetailInfo bean.
- Returns:
- The current value of the imageCaption property.
All Packages Class Hierarchy This Package Previous Next Index