Package main.Models
Enum Class projectStatus_ENUM
- All Implemented Interfaces:
Serializable
,Comparable<projectStatus_ENUM>
,Constable
Provide status of project
- Since:
- 13-4-2023
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionproject is allocated after coordinator approves the requestproject is availableproject is reserved after a student request for itproject is unavailable when supervisor is supervising 2 projects -
Method Summary
Modifier and TypeMethodDescriptionstatic projectStatus_ENUM
Returns the enum constant of this class with the specified name.static projectStatus_ENUM[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AVAILABLE
project is available -
UNAVAILABLE
project is unavailable when supervisor is supervising 2 projects -
RESERVED
project is reserved after a student request for it -
ALLOCATED
project is allocated after coordinator approves the request
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-