public enum PhoneNumberCanonicalType extends Enum<PhoneNumberCanonicalType>
Modifier and Type | Method and Description |
---|---|
static PhoneNumberCanonicalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhoneNumberCanonicalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneNumberCanonicalType work
public static final PhoneNumberCanonicalType home
public static final PhoneNumberCanonicalType mobile
public static final PhoneNumberCanonicalType fax
public static final PhoneNumberCanonicalType pager
public static final PhoneNumberCanonicalType other
public static PhoneNumberCanonicalType[] values()
for (PhoneNumberCanonicalType c : PhoneNumberCanonicalType.values()) System.out.println(c);
public static PhoneNumberCanonicalType 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 nullCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.