枚举类 Identity
- 所有已实现的接口:
cn.herodotus.stirrup.core.definition.enums.BaseUiEnum<Integer>,cn.herodotus.stirrup.core.definition.enums.EnumDescription,cn.herodotus.stirrup.core.definition.enums.EnumValue<Integer>,Serializable,Comparable<Identity>,Constable
public enum Identity
extends Enum<Identity>
implements cn.herodotus.stirrup.core.definition.enums.BaseUiEnum<Integer>
Description: 人员身份
- 作者:
- gengwei.zheng
- Date:
- 2019/2/15
-
枚举常量详细资料
-
STAFF
enum -
SECTION_LEADER
-
LEADERSHIP
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-
get
-
getPreprocessedJsonStructure
-
getValue
不加@JsonValue,转换的时候转换出完整的对象。 加了@JsonValue,只会显示相应的属性的值不使用@JsonValue @JsonDeserializer类里面要做相应的处理
- 指定者:
getValue在接口中cn.herodotus.stirrup.core.definition.enums.EnumValue<Integer>- 返回:
- Enum索引
-
getDescription
- 指定者:
getDescription在接口中cn.herodotus.stirrup.core.definition.enums.EnumDescription
-