Enum Class Level

java.lang.Object
java.lang.Enum<Level>
inha.dayoook_e.tutee.domain.enums.Level
All Implemented Interfaces:
Serializable, Comparable<Level>, Constable

public enum Level extends Enum<Level>
Level 열거형은 사용자 레벨을 정의. 각 레벨은 해당 레벨에 부여된 권한 세트를 가짐.
  • Enum Constant Details

    • SEEDLING

      public static final Level SEEDLING
    • STEM

      public static final Level STEM
    • LEAF

      public static final Level LEAF
    • FLOWER

      public static final Level FLOWER
    • FRUIT

      public static final Level FRUIT
  • Method Details

    • values

      public static Level[] 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 Level 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
    • getLevel

      public String getLevel()