microsoft.exchange.webservices.data
Enum MailboxType

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

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

Defines the type of an EmailAddress object.


Enum Constant Summary
Contact
          The Contact.
ContactGroup
          The Contact group.
Mailbox
          The Mailbox.
OneOff
          The One off.
PublicFolder
          The Public folder.
PublicGroup
          The Public group.
Unknown
          The Unknown.
 
Method Summary
static MailboxType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MailboxType[] 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

Unknown

public static final MailboxType Unknown
The Unknown.


OneOff

public static final MailboxType OneOff
The One off.


Mailbox

public static final MailboxType Mailbox
The Mailbox.


PublicFolder

public static final MailboxType PublicFolder
The Public folder.


PublicGroup

public static final MailboxType PublicGroup
The Public group.


ContactGroup

public static final MailboxType ContactGroup
The Contact group.


Contact

public static final MailboxType Contact
The Contact.

Method Detail

values

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

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

valueOf

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