Class LogbookSearchCriteria
java.lang.Object
org.deltava.beans.flight.LogbookSearchCriteria
- All Implemented Interfaces:
RoutePair
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.beans.schedule.RoutePair
RoutePair.RoutePairImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the arrival Airport.Returns the departure Airport.Returns the database to search.Returns the Equipment type to search for.boolean
Returns whether Flight Report comments should be loaded.Returns the SQL sorting clause.void
Sets the Arrival Airport object for this search.void
Sets the Departure Airport object for this search.void
setEquipmentType
(String eqType) Sets an equipment type for this search.void
setLoadComments
(boolean loadComments) Updates whether Flight Report comments should be loaded.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches
-
Constructor Details
-
LogbookSearchCriteria
-
-
Method Details
-
getLoadComments
public boolean getLoadComments()Returns whether Flight Report comments should be loaded. This may have a performance impact on large logbooks.- Returns:
- TRUE if comments should be loaded, otherwise FALSE
-
getDBName
-
getSortBy
-
getEquipmentType
Returns the Equipment type to search for.- Returns:
- the equipment code
-
getAirportA
Description copied from interface:RoutePair
Returns the arrival Airport.- Specified by:
getAirportA
in interfaceRoutePair
- Returns:
- the arrival Airport
-
getAirportD
Description copied from interface:RoutePair
Returns the departure Airport.- Specified by:
getAirportD
in interfaceRoutePair
- Returns:
- the departure Airport
-
setLoadComments
public void setLoadComments(boolean loadComments) Updates whether Flight Report comments should be loaded. This may have a performance impact on large logbooks.- Parameters:
loadComments
- TRUE if comments should be loaded, otherwise FALSE
-
setEquipmentType
Sets an equipment type for this search.- Parameters:
eqType
- the equipment type
-
setAirportA
Sets the Arrival Airport object for this search.- Parameters:
a
- the Arrival Airport object
-
setAirportD
Sets the Departure Airport object for this search.- Parameters:
a
- the Departure Airport object
-