Enum Class OnTime

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

public enum OnTime extends Enum<OnTime> implements ViewEntry, EnumDescription
An enumeration of on-time values.
Since:
8.4
Version:
10.3
Author:
Luke
  • Enum Constant Details

    • UNKNOWN

      public static final OnTime UNKNOWN
    • EARLY

      public static final OnTime EARLY
    • ONTIME

      public static final OnTime ONTIME
    • LATE

      public static final OnTime LATE
  • Method Details

    • values

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