Enum PhoneNumberCanonicalType
- java.lang.Object
-
- java.lang.Enum<PhoneNumberCanonicalType>
-
- org.apache.syncope.common.lib.scim.types.PhoneNumberCanonicalType
-
- All Implemented Interfaces:
Serializable
,Comparable<PhoneNumberCanonicalType>
public enum PhoneNumberCanonicalType extends Enum<PhoneNumberCanonicalType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
work
public static final PhoneNumberCanonicalType work
-
home
public static final PhoneNumberCanonicalType home
-
mobile
public static final PhoneNumberCanonicalType mobile
-
fax
public static final PhoneNumberCanonicalType fax
-
pager
public static final PhoneNumberCanonicalType pager
-
other
public static final PhoneNumberCanonicalType other
-
-
Method Detail
-
values
public static PhoneNumberCanonicalType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PhoneNumberCanonicalType c : PhoneNumberCanonicalType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhoneNumberCanonicalType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-