microsoft.exchange.webservices.data
Enum PhoneNumberKey

java.lang.Object
  extended by java.lang.Enum<PhoneNumberKey>
      extended by microsoft.exchange.webservices.data.PhoneNumberKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PhoneNumberKey>

public enum PhoneNumberKey
extends java.lang.Enum<PhoneNumberKey>

Defines phone number entries for a contact.


Enum Constant Summary
AssistantPhone
          The Assistant phone.
BusinessFax
          The Business fax.
BusinessPhone
          The Business phone.
BusinessPhone2
          The Business phone2.
Callback
          The Callback.
CarPhone
          The Car phone.
CompanyMainPhone
          The Company main phone.
HomeFax
          The Home fax.
HomePhone
          The Home phone.
HomePhone2
          The Home phone2.
Isdn
          The Isdn.
MobilePhone
          The Mobile phone.
OtherFax
          The Other fax.
OtherTelephone
          The Other telephone.
Pager
          The Pager.
PrimaryPhone
          The Primary phone.
RadioPhone
          The Radio phone.
Telex
          The Telex.
TtyTddPhone
          The Tty tdd phone.
 
Method Summary
static PhoneNumberKey valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null