public static enum Constants.AddressBookSearchType extends java.lang.Enum<Constants.AddressBookSearchType>
Enum Constant and Description |
---|
SEARCHTYPE_FIRSTNAME
search by using the first name information
|
SEARCHTYPE_LASTNAME
search by using the last name information
|
SEARCHTYPE_NAME
search by using name information
|
SEARCHTYPE_PHONENUMBER
search by using the phone number information
|
SEARCHTYPE_USERNAME
search by using the user name information
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static Constants.AddressBookSearchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.AddressBookSearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.AddressBookSearchType SEARCHTYPE_FIRSTNAME
public static final Constants.AddressBookSearchType SEARCHTYPE_LASTNAME
public static final Constants.AddressBookSearchType SEARCHTYPE_NAME
public static final Constants.AddressBookSearchType SEARCHTYPE_PHONENUMBER
public static final Constants.AddressBookSearchType SEARCHTYPE_USERNAME
public static Constants.AddressBookSearchType[] values()
for (Constants.AddressBookSearchType c : Constants.AddressBookSearchType.values()) System.out.println(c);
public static Constants.AddressBookSearchType 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 java.lang.String getValue()