Class FlightPlan

java.lang.Object
org.deltava.beans.simbrief.FlightPlan
All Implemented Interfaces:
Comparable<FlightPlan>, ComboAlias

public class FlightPlan extends Object implements ComboAlias, Comparable<FlightPlan>
A bean to store flight plan types and names.
Since:
10.3
Version:
10.3
Author:
Luke
  • Constructor Details

    • FlightPlan

      FlightPlan(String type, String name)
      Creates the bean.
      Parameters:
      type - the flight plan type
      name - the filename
  • Method Details

    • getFileName

      public String getFileName()
      Return the plan filename.
      Returns:
      the filename
    • getType

      public String getType()
      Returns the plan format type.
      Returns:
      the format
    • getComboName

      public String getComboName()
      Description copied from interface: ComboAlias
      Returns the visible name to use in the HTML <OPTION> element.
      Specified by:
      getComboName in interface ComboAlias
      Returns:
      The visible name for this entry
    • getComboAlias

      public String getComboAlias()
      Description copied from interface: ComboAlias
      Returns the alias to use in the HTML <OPTION> element.
      Specified by:
      getComboAlias in interface ComboAlias
      Returns:
      The alias for this entry
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(FlightPlan fp2)
      Specified by:
      compareTo in interface Comparable<FlightPlan>