Enum Class BizType

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

public enum BizType extends Enum<BizType>
业务操作类型
Since:
2022-11-14 下午 09:37
Author:
xyb
  • Enum Constant Details

    • OTHER

      public static final BizType OTHER
      其它
    • INSERT

      public static final BizType INSERT
      新增
    • UPDATE

      public static final BizType UPDATE
      修改
    • DELETE

      public static final BizType DELETE
      删除
    • GRANT

      public static final BizType GRANT
      授权
    • EXPORT

      public static final BizType EXPORT
      导出
    • IMPORT

      public static final BizType IMPORT
      导入
    • FORCE

      public static final BizType FORCE
      强退
    • GEN_CODE

      public static final BizType GEN_CODE
      生成代码
    • CLEAN

      public static final BizType CLEAN
      清空数据
    • SELECT

      public static final BizType SELECT
      查询
  • Field Details

    • code

      private final String code
      code
  • Constructor Details

    • BizType

      private BizType(String code)
  • Method Details

    • values

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