Package main.Models

Enum Class requestStatus_ENUM

java.lang.Object
java.lang.Enum<requestStatus_ENUM>
main.Models.requestStatus_ENUM
All Implemented Interfaces:
Serializable, Comparable<requestStatus_ENUM>, Constable

public enum requestStatus_ENUM extends Enum<requestStatus_ENUM>
An Enum that corresponds to the different status types of requests
Since:
2023-4-13
  • Enum Constant Details

    • APPROVED

      public static final requestStatus_ENUM APPROVED
      To show the request is approved.
    • REJECTED

      public static final requestStatus_ENUM REJECTED
      To show the request is rejected.
    • PENDING

      public static final requestStatus_ENUM PENDING
      To show the request is pending.
  • Method Details

    • values

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