Class GateUsage
java.lang.Object
org.deltava.beans.stats.RunwayGateUsage
org.deltava.beans.stats.GateUsage
- All Implemented Interfaces:
Serializable
,RoutePair
,Cacheable
A bean to store Runway/Gate usage statistics.
- Since:
- 10.0
- Version:
- 11.1
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.beans.schedule.RoutePair
RoutePair.RoutePairImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Number of years back to aggregate gate/airline usage.Fields inherited from class org.deltava.beans.stats.RunwayGateUsage
_usage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deep clones the object.Creates a RunwayGateUsage object for a single Airline.Returns airlines with usage.boolean
hasAriline
(String airlineCode) Returns whether there is any Runway/Gate date for a particular Airline.toString()
Methods inherited from class org.deltava.beans.stats.RunwayGateUsage
add, cacheKey, clear, getAirportA, getAirportD, getIsDeparture, getTotal, getTotalUsage, hashCode, size
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches
-
Field Details
-
GATE_USAGE_YEARS
public static final int GATE_USAGE_YEARSNumber of years back to aggregate gate/airline usage.- See Also:
-
-
Constructor Details
-
GateUsage
Creates the bean.- Parameters:
rp
- the RoutePairisDeparture
- TRUE if departure gates/runways, otherwise FALSE
-
-
Method Details
-
getAirlines
Returns airlines with usage.- Returns:
- a Collection of Airline codes
-
hasAriline
Returns whether there is any Runway/Gate date for a particular Airline.- Parameters:
airlineCode
- the Airline code- Returns:
- TRUE if at least one Runway/Gate has been used with this Airline, otherwise FALSE
-
clone
-
filter
-
toString
-