Class GateHelper
java.lang.Object
org.deltava.beans.schedule.GateHelper
A helper class to handle gate assignments.
- Since:
- 10.3
- Version:
- 11.1
- Author:
- Luke
-
Constructor Summary
ConstructorsConstructorDescriptionGateHelper(Flight f, int max, boolean doShuffle) Creates the bean.GateHelper(RoutePair rp, Airline a, int max, boolean doShuffle) Creates the bean. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArrivalGates(Collection<Gate> gates, GateUsage gu) Adds gates at the arrival Airport.voidaddDepartureGates(Collection<Gate> gates, GateUsage gu) Adds gates at the departure Airport.voidclear()Clears the raw gate sets.Returns arrival Gates for this route.Returns the arrival Gate zone.Returns departure Gates for this route.Returns the departure Gate zone.
-
Constructor Details
-
GateHelper
-
GateHelper
Creates the bean.- Parameters:
f- the Flightmax- the maximum number of gates returneddoShuffle- TRUE to randomize gate choices, otherwise FALSE
-
-
Method Details
-
addDepartureGates
Adds gates at the departure Airport.- Parameters:
gates- a Collection of Gatesgu- a GateUsage bean
-
addArrivalGates
Adds gates at the arrival Airport.- Parameters:
gates- a Collection of Gatesgu- a GateUsage bean
-
clear
public void clear()Clears the raw gate sets. -
getDepartureZone
-
getArrivalZone
-
getDepartureGates
-
getArrivalGates
-