All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.beans.demos.travel.flight.FlightInfoDapProperties
- public interface interface FlightInfoDapProperties
This is a common interface implemented by both the original, non-client/server
FlightInfoDap and the RMI-enabled FlightInfoDapServer. Any future versions of
a server-side version of the FlightInfoDap (such as a CORBA version) will also
need to implement this interface. The methods in this interface are used by
the dips from FlightRules.jar (from the com.ibm.beans.demos.travel.flight.rules
package) to alter the flight data returned from the database query (this keeps
them from being hardcoded to a particular implementation of a DAP implementing
this interface).
- See Also:
- FlightInfoDap, FlightInfoDapServer, CarrierRestrictionDip, ConnectingFlightDip
-
getFlightInfo()
- Accessor (get) method for the FlightInfo property.
-
getSQLString()
- Accessor (get) method for the SQLString property.
-
setFlightInfo(Vector)
- Accessor (set) method for the FlightInfo property.
-
setSQLString(String)
- Accessor (set) method for the SQLString property.
getFlightInfo
public abstract Vector getFlightInfo()
- Accessor (get) method for the FlightInfo property.
- Returns:
- The Vector containing FlightInformation objects.
setFlightInfo
public abstract void setFlightInfo(Vector newValue) throws PropertyVetoException
- Accessor (set) method for the FlightInfo property.
- Parameters:
- newValue - A Vector representing the FlightInformation.
- Throws: PropertyVetoException
- Indicates that a constrained property
listener has vetoed the change to the flightInfo property.
getSQLString
public abstract String getSQLString()
- Accessor (get) method for the SQLString property.
- Returns:
- The String containing the SQL database query
setSQLString
public abstract void setSQLString(String SQLString) throws PropertyVetoException
- Accessor (set) method for the SQLString property.
- Parameters:
- SQLString - The String representing the SQL property of the bean.
- Throws: PropertyVetoException
- Indicates that a constrained property
listener has vetoed the change to the SQLString property.
All Packages Class Hierarchy This Package Previous Next Index