Class RoutePlotQuestion

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

public class RoutePlotQuestion extends MultiChoiceQuestion implements RoutePlot
A bean to store route plotting Examination questions.
Since:
2.3
Version:
12.0
Author:
Luke
See Also:
  • Constructor Details

    • RoutePlotQuestion

      public RoutePlotQuestion(String text)
      Creates a new route plotting Question bean.
      Parameters:
      text - the Question text
      Throws:
      NullPointerException - if text is null
  • Method Details

    • getAirportA

      public Airport getAirportA()
      Description copied from interface: RoutePair
      Returns the arrival Airport.
      Specified by:
      getAirportA in interface RoutePair
      Returns:
      the arrival Airport
    • getAirportD

      public Airport getAirportD()
      Description copied from interface: RoutePair
      Returns the departure Airport.
      Specified by:
      getAirportD in interface RoutePair
      Returns:
      the departure Airport
    • setAirportA

      public void setAirportA(Airport a)
      Description copied from interface: RoutePlot
      Updates the arrival Airport.
      Specified by:
      setAirportA in interface RoutePlot
      Parameters:
      a - the arrival Airport bean
    • setAirportD

      public void setAirportD(Airport a)
      Description copied from interface: RoutePlot
      Updates the departure Airport.
      Specified by:
      setAirportD in interface RoutePlot
      Parameters:
      a - the departure Airport bean