All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.demos.travel.flight.FlightReservedEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.beans.demos.travel.flight.FlightReservedEvent
- public class FlightReservedEvent
- extends EventObject
- implements Serializable
This event is sent as a parameter in the FlightReserved()
method of the FlightReservedListener interface. In the demo this
interface is implemented by the initerary bean. The itinerary
bean is wired to the flight information data access part (DAP)
bean and the information DAP fires this event when a flight
reservation has been approved.
- See Also:
- FlightReservedListener
-
flightInfo
- A Vector of flightInfo including city of origin, destination, travel times,
and so forth.
-
FlightReservedEvent(Object, Vector)
- Builds the event object that is
sent as a parameter in the FlightReserved method
of the FlightReservedListener interface.
-
getFlightInfo()
- Gets the FlightInfo vector.
flightInfo
protected Vector flightInfo
- A Vector of flightInfo including city of origin, destination, travel times,
and so forth.
FlightReservedEvent
public FlightReservedEvent(Object source,
Vector flightInfo)
- Builds the event object that is
sent as a parameter in the FlightReserved method
of the FlightReservedListener interface.
- Parameters:
- source - An object that is the source for the event.
- flightInfo -
- A vector containing a FlightInformation
object as defined in the
FlightInformation class.
- See Also:
- FlightInformation
getFlightInfo
public Vector getFlightInfo()
- Gets the FlightInfo vector.
- Returns:
- Vector of flight informatation
All Packages Class Hierarchy This Package Previous Next Index