Class AssignmentLeg

All Implemented Interfaces:
Serializable, Comparable<Object>, FlightNumber, IDBean, RoutePair, Cacheable

public class AssignmentLeg extends Flight
A class to store assigned Flights.
Since:
1.0
Version:
7.5
Author:
Luke
See Also:
  • Constructor Details

    • AssignmentLeg

      public AssignmentLeg(Airline a, int fNumber, int leg)
      Creates a new Assigned Flight.
      Parameters:
      a - the Airline
      fNumber - the flight number
      leg - the leg number
      See Also:
    • AssignmentLeg

      public AssignmentLeg(Flight f)
      Creates a new Assigned Flight from an existing Flight (usually a ScheduleEntry).
      Parameters:
      f - the existing Flight
  • Method Details