Enum Class RequestType

java.lang.Object
java.lang.Enum<RequestType>
main.model.request.RequestType
All Implemented Interfaces:
Serializable, Comparable<RequestType>, Constable

public enum RequestType extends Enum<RequestType>
This enum represents the type of the request
  • Enum Constant Details

    • SUPERVISOR_TRANSFER_STUDENT

      public static final RequestType SUPERVISOR_TRANSFER_STUDENT
      The request is a supervisor tranfer student request
    • STUDENT_REGISTRATION

      public static final RequestType STUDENT_REGISTRATION
      The request is a student registration request
    • STUDENT_DEREGISTRATION

      public static final RequestType STUDENT_DEREGISTRATION
      The request is a student deregistration request
    • STUDENT_CHANGE_TITLE

      public static final RequestType STUDENT_CHANGE_TITLE
      The request is a student change title request
  • Constructor Details

    • RequestType

      private RequestType()
  • Method Details

    • values

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