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.booleanReturns whether Flight Report comments should be loaded.Returns the SQL sorting clause.voidSets the Arrival Airport object for this search.voidSets the Departure Airport object for this search.voidsetEquipmentType(String eqType) Sets an equipment type for this search.voidsetLoadComments(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, waitMethods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPoint
-
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:RoutePairReturns the arrival Airport.- Specified by:
getAirportAin interfaceRoutePair- Returns:
- the arrival Airport
-
getAirportD
Description copied from interface:RoutePairReturns the departure Airport.- Specified by:
getAirportDin 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
-