public enum PhoneType extends Enum<PhoneType> implements com.github.davidmoten.odata.client.Enum
| Enum Constant and Description |
|---|
ASSISTANT |
BUSINESS |
BUSINESS_FAX |
HOME |
HOME_FAX |
MOBILE |
OTHER |
OTHER_FAX |
PAGER |
RADIO |
| Modifier and Type | Method and Description |
|---|---|
String |
enumName() |
String |
enumValue() |
static PhoneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneType HOME
public static final PhoneType BUSINESS
public static final PhoneType MOBILE
public static final PhoneType OTHER
public static final PhoneType ASSISTANT
public static final PhoneType HOME_FAX
public static final PhoneType BUSINESS_FAX
public static final PhoneType OTHER_FAX
public static final PhoneType PAGER
public static final PhoneType RADIO
public static PhoneType[] values()
for (PhoneType c : PhoneType.values()) System.out.println(c);
public static PhoneType 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 String enumName()
enumName in interface com.github.davidmoten.odata.client.Enumpublic String enumValue()
enumValue in interface com.github.davidmoten.odata.client.EnumCopyright © 2018–2020. All rights reserved.