public enum Code extends Enum<Code>
| Modifier and Type | Method and Description |
|---|---|
static Code |
fromKey(String key)
Finds the value whose key matches to given
key. |
String |
key()
Returns key.
|
static Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Code REQUEST_QUERY
public static final Code REQUEST_TARGET
public static final Code REQUEST_METHOD
public static final Code REQUEST_NONCE
public static final Code REQUEST_TIMESTAMP
public static final Code USER_PASSWORD_NEW
public static final Code USER_PASSWORD_OLD
public static final Code USER_PASSWORD
public static final Code USER_USERNAME
public static final Code USER_COUNTRY3
public static final Code USER_COUNTRY2
public static final Code USER_COUNTRY
public static final Code USER_LANGUAGE3
public static final Code USER_LANGUAGE2
public static final Code USER_LANGUAGE
public static final Code SYSTEM_VERSION
public static final Code SYSTEM_NAME
CodeKeys.SYSTEM_NAME.public static final Code SYSTEM_ID
CodeKeys.SYSTEM_ID.public static final Code DEVICE_VERSION
public static final Code DEVICE_NAME
CodeKeys.DEVICE_NAME.public static final Code DEVICE_ID
CodeKeys.DEVICE_ID.public static final Code PLATFORM_ID
CodeKeys.PLATFORM_ID.public static Code[] values()
for (Code c : Code.values()) System.out.println(c);
public static Code valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static Code fromKey(String key)
key. An
IllegalArgumentException will be thrown if no values match.key - keypublic String key()
Copyright © 2011-2013. All Rights Reserved.