Package main.Models

Enum Class projectStatus_ENUM

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

public enum projectStatus_ENUM extends Enum<projectStatus_ENUM>
Provide status of project
Since:
13-4-2023
  • Enum Constant Details

    • AVAILABLE

      public static final projectStatus_ENUM AVAILABLE
      project is available
    • UNAVAILABLE

      public static final projectStatus_ENUM UNAVAILABLE
      project is unavailable when supervisor is supervising 2 projects
    • RESERVED

      public static final projectStatus_ENUM RESERVED
      project is reserved after a student request for it
    • ALLOCATED

      public static final projectStatus_ENUM ALLOCATED
      project is allocated after coordinator approves the request
  • Method Details

    • values

      public static projectStatus_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 projectStatus_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