public enum UserInfoFieldEnum extends java.lang.Enum<UserInfoFieldEnum>
枚举常量和说明 |
---|
AVATAR
头像URL
|
BIRTHDAY
生日
|
EMAIL
电子邮箱
|
EXTEND
扩展字段
|
GENDER
性别
|
MOBILE
手机
|
Name
昵称
|
SIGNATURE
签名
|
undefined
未定义的域
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Class<? extends java.lang.Object> |
getFieldType() |
int |
getValue() |
static UserInfoFieldEnum |
typeOfValue(int value) |
static UserInfoFieldEnum |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static UserInfoFieldEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final UserInfoFieldEnum undefined
public static final UserInfoFieldEnum Name
public static final UserInfoFieldEnum AVATAR
public static final UserInfoFieldEnum SIGNATURE
public static final UserInfoFieldEnum GENDER
public static final UserInfoFieldEnum EMAIL
public static final UserInfoFieldEnum BIRTHDAY
public static final UserInfoFieldEnum MOBILE
public static final UserInfoFieldEnum EXTEND
public static UserInfoFieldEnum[] values()
for (UserInfoFieldEnum c : UserInfoFieldEnum.values()) System.out.println(c);
public static UserInfoFieldEnum valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public static UserInfoFieldEnum typeOfValue(int value)
public int getValue()
public java.lang.Class<? extends java.lang.Object> getFieldType()