Enum Class ReadEnum

java.lang.Object
java.lang.Enum<ReadEnum>
cn.klaw.base.model.read.ReadEnum
All Implemented Interfaces:
Serializable, Comparable<ReadEnum>, Constable

public enum ReadEnum extends Enum<ReadEnum>
Version:
V3.1.0
  • Enum Constant Details

    • model

      public static final ReadEnum model
      模型
    • controller

      public static final ReadEnum controller
      控制器
    • service

      public static final ReadEnum service
      业务层
    • mapper

      public static final ReadEnum mapper
      数据层
    • entity

      public static final ReadEnum entity
      实体
    • web

      public static final ReadEnum web
      web
    • json

      public static final ReadEnum json
      json
    • app

      public static final ReadEnum app
      app
  • Method Details

    • values

      public static ReadEnum[] 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 ReadEnum 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
    • getMessage

      public String getMessage()
    • getMessage

      public static ReadEnum getMessage(String path)
      根据状态code获取枚举名称
      Returns: