Enum Class DictType

java.lang.Object
java.lang.Enum<DictType>
cn.sinozg.applet.common.enums.DictType
All Implemented Interfaces:
Serializable, Comparable<DictType>, Constable

public enum DictType extends Enum<DictType>
数据字段
Since:
2022-11-14 下午 09:38
Author:
xyb
  • Enum Constant Details

    • ROOT_TYPE

      public static final DictType ROOT_TYPE
    • GENDER

      public static final DictType GENDER
      性别
    • OPT_DATA_STATUS

      public static final DictType OPT_DATA_STATUS
      数据操作状态
    • LOGIN_TYPE

      public static final DictType LOGIN_TYPE
      登录类型
  • Field Details

    • code

      private final String code
      code
  • Constructor Details

    • DictType

      private DictType(String code)
  • Method Details

    • values

      public static DictType[] 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 DictType 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
    • getCode

      public String getCode()
      获取 code
      Returns:
      code code值
    • byCode

      public static DictType byCode(String code)