public enum UserInfoFieldEnum extends java.lang.Enum<UserInfoFieldEnum>
Enum Constant and Description |
---|
AVATAR
URL to an avatar
|
BIRTHDAY
Birthday
|
EMAIL
Email
|
EXTEND
Extension field
|
GENDER
Gender
|
MOBILE
Mobile
|
Name
Nickname
|
SIGNATURE
Signature
|
undefined
Undefined field
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.Object> |
getFieldType() |
int |
getValue() |
static UserInfoFieldEnum |
typeOfValue(int value) |
static UserInfoFieldEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserInfoFieldEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static UserInfoFieldEnum typeOfValue(int value)
public int getValue()
public java.lang.Class<? extends java.lang.Object> getFieldType()