microsoft.exchange.webservices.data
Enum IdFormat

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

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

Defines supported Id formats in ConvertId operations.


Enum Constant Summary
EntryId
          The Entry id.
EwsId
          The Ews id.
EwsLegacyId
          The Ews legacy id.
HexEntryId
          The Hex entry id.
OwaId
          The Owa id.
StoreId
          The Store id.
 
Method Summary
static IdFormat valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IdFormat[] 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

EwsLegacyId

public static final IdFormat EwsLegacyId
The Ews legacy id.


EwsId

public static final IdFormat EwsId
The Ews id.


EntryId

public static final IdFormat EntryId
The Entry id.


HexEntryId

public static final IdFormat HexEntryId
The Hex entry id.


StoreId

public static final IdFormat StoreId
The Store id.


OwaId

public static final IdFormat OwaId
The Owa id.

Method Detail

values

public static IdFormat[] 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 (IdFormat c : IdFormat.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IdFormat 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