public interface MsgKeyEnum<T>
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
equalsValue(Object sourceValue,
Object targetValue)
值比较
|
String |
getBusinessType()
获取业务类型
|
String |
getDesc()
描述
|
default String |
getId()
获取 唯一id
|
default String |
getMsgKey()
获取 msgKey
|
static <E extends MsgKeyEnum> |
getMsgKeyEnum(String msgKey,
Class<E> enumClass)
根据 msgKey 获取枚举
|
static <E extends MsgKeyEnum> |
valueOf(Class<E> enumClass,
Object value)
找到匹配的那个枚举
|
String getBusinessType()
String getDesc()
default String getId()
default String getMsgKey()
static <E extends MsgKeyEnum> E getMsgKeyEnum(String msgKey, Class<E> enumClass)
E - msgKey - enumClass - static <E extends MsgKeyEnum> E valueOf(Class<E> enumClass, Object value)
enumClass - value - Copyright © 2022. All rights reserved.