Enum Class PilotStatus

java.lang.Object
java.lang.Enum<PilotStatus>
org.deltava.beans.PilotStatus
All Implemented Interfaces:
Serializable, Comparable<PilotStatus>, Constable, ComboAlias, EnumDescription, ViewEntry

public enum PilotStatus extends Enum<PilotStatus> implements ViewEntry, EnumDescription
An enumeration of Pilot statuses.
Since:
9.0
Version:
11.2
Author:
Luke
  • Enum Constant Details

  • Method Details

    • values

      public static PilotStatus[] 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 PilotStatus 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
    • isActive

      public boolean isActive()
      Returns if the Pilot is considered active.
      Returns:
      TRUE if Active or On Leave, otherwise FALSE
    • getDescription

      public String getDescription()
      Description copied from interface: EnumDescription
      The propercased description.
      Specified by:
      getDescription in interface EnumDescription
      Returns:
      the description
    • getRowClassName

      public String getRowClassName()
      Description copied from interface: ViewEntry
      Returns the CSS class for this object if rendered in a view table.
      Specified by:
      getRowClassName in interface ViewEntry
      Returns:
      the CSS class name, or NULL if none