Enum Class UserStatus

java.lang.Object
java.lang.Enum<UserStatus>
com.abavilla.fpi.login.entity.UserStatus
All Implemented Interfaces:
com.abavilla.fpi.fw.entity.enums.IBaseEnum, Serializable, Comparable<UserStatus>, Constable

public enum UserStatus extends Enum<UserStatus> implements com.abavilla.fpi.fw.entity.enums.IBaseEnum
  • Enum Constant Details

    • UNKNOWN

      public static final UserStatus UNKNOWN
    • PENDING

      public static final UserStatus PENDING
    • VERIFIED

      public static final UserStatus VERIFIED
  • Method Details

    • values

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

      public static com.abavilla.fpi.fw.entity.enums.IBaseEnum fromValue(String value)
      Creates an enum based from given string value
      Parameters:
      value - the string value
      Returns:
      the created enum
    • fromId

      public static com.abavilla.fpi.fw.entity.enums.IBaseEnum fromId(int id)
      Creates an enum based from given an ordinal id
      Parameters:
      id - the ordinal id
      Returns:
      the created enum
    • toString

      public String toString()
      Overrides:
      toString in class Enum<UserStatus>