Enum PhoneNumberKey
- java.lang.Object
-
- java.lang.Enum<PhoneNumberKey>
-
- microsoft.exchange.webservices.data.core.enumeration.property.PhoneNumberKey
-
- All Implemented Interfaces:
Serializable,Comparable<PhoneNumberKey>
public enum PhoneNumberKey extends Enum<PhoneNumberKey>
Defines phone number entries for a contact.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AssistantPhoneThe Assistant phone.BusinessFaxThe Business fax.BusinessPhoneThe Business phone.BusinessPhone2The Business phone2.CallbackThe Callback.CarPhoneThe Car phone.CompanyMainPhoneThe Company main phone.HomeFaxThe Home fax.HomePhoneThe Home phone.HomePhone2The Home phone2.IsdnThe Isdn.MobilePhoneThe Mobile phone.OtherFaxThe Other fax.OtherTelephoneThe Other telephone.PagerThe Pager.PrimaryPhoneThe Primary phone.RadioPhoneThe Radio phone.TelexThe Telex.TtyTddPhoneThe Tty tdd phone.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PhoneNumberKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static PhoneNumberKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AssistantPhone
public static final PhoneNumberKey AssistantPhone
The Assistant phone.
-
BusinessFax
public static final PhoneNumberKey BusinessFax
The Business fax.
-
BusinessPhone
public static final PhoneNumberKey BusinessPhone
The Business phone.
-
BusinessPhone2
public static final PhoneNumberKey BusinessPhone2
The Business phone2.
-
Callback
public static final PhoneNumberKey Callback
The Callback.
-
CarPhone
public static final PhoneNumberKey CarPhone
The Car phone.
-
CompanyMainPhone
public static final PhoneNumberKey CompanyMainPhone
The Company main phone.
-
HomeFax
public static final PhoneNumberKey HomeFax
The Home fax.
-
HomePhone
public static final PhoneNumberKey HomePhone
The Home phone.
-
HomePhone2
public static final PhoneNumberKey HomePhone2
The Home phone2.
-
Isdn
public static final PhoneNumberKey Isdn
The Isdn.
-
MobilePhone
public static final PhoneNumberKey MobilePhone
The Mobile phone.
-
OtherFax
public static final PhoneNumberKey OtherFax
The Other fax.
-
OtherTelephone
public static final PhoneNumberKey OtherTelephone
The Other telephone.
-
Pager
public static final PhoneNumberKey Pager
The Pager.
-
PrimaryPhone
public static final PhoneNumberKey PrimaryPhone
The Primary phone.
-
RadioPhone
public static final PhoneNumberKey RadioPhone
The Radio phone.
-
Telex
public static final PhoneNumberKey Telex
The Telex.
-
TtyTddPhone
public static final PhoneNumberKey TtyTddPhone
The Tty tdd phone.
-
-
Method Detail
-
values
public static PhoneNumberKey[] 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 (PhoneNumberKey c : PhoneNumberKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhoneNumberKey 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
-
-