Enum Class FlightStatsSort

java.lang.Object
java.lang.Enum<FlightStatsSort>
org.deltava.beans.stats.FlightStatsSort
All Implemented Interfaces:
Serializable, Comparable<FlightStatsSort>, Constable, ComboAlias

public enum FlightStatsSort extends Enum<FlightStatsSort> implements ComboAlias
An enumeration to store Flight Statistics sorting options.
Since:
6.3
Version:
10.4
Author:
Luke
  • Enum Constant Details

  • Method Details

    • values

      public static FlightStatsSort[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FlightStatsSort valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLabel

      public String getLabel()
      Returns the sort option label.
      Returns:
      the label
    • getSQL

      public String getSQL()
      Returns the sort option SQL.
      Returns:
      the SQL
    • 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