Enum Class RideType

java.lang.Object
java.lang.Enum<RideType>
org.deltava.beans.testing.RideType
All Implemented Interfaces:
Serializable, Comparable<RideType>, Constable

public enum RideType extends Enum<RideType>
An enumeration to store Check Ride types.
Since:
5.3
Version:
5.3
Author:
Luke
  • Enum Constant Details

    • CHECKRIDE

      public static final RideType CHECKRIDE
    • HIRE

      public static final RideType HIRE
    • WAIVER

      public static final RideType WAIVER
    • CURRENCY

      public static final RideType CURRENCY
  • Method Details

    • values

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

      public String getName()
      Returns the Check Ride type name.
      Returns:
      the name