public enum PhoneTypes extends java.lang.Enum<PhoneTypes> implements ICRMLookupEnum
Enum Constant and Description |
---|
CUSTOM1 |
CUSTOM2 |
CUSTOM3 |
CUSTOM4 |
CUSTOM5 |
FAX |
LANDLINE |
MOBILE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
static PhoneTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhoneTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneTypes LANDLINE
public static final PhoneTypes MOBILE
public static final PhoneTypes FAX
public static final PhoneTypes CUSTOM1
public static final PhoneTypes CUSTOM2
public static final PhoneTypes CUSTOM3
public static final PhoneTypes CUSTOM4
public static final PhoneTypes CUSTOM5
public static PhoneTypes[] values()
for (PhoneTypes c : PhoneTypes.values()) System.out.println(c);
public static PhoneTypes 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 getLabel()
getLabel
in interface ICRMLookupEnum