Enum MailboxType
- java.lang.Object
-
- java.lang.Enum<MailboxType>
-
- microsoft.exchange.webservices.data.core.enumeration.property.MailboxType
-
- All Implemented Interfaces:
Serializable,Comparable<MailboxType>
public enum MailboxType extends Enum<MailboxType>
Defines the type of an EmailAddress object.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ContactThe Contact.ContactGroupThe Contact group.MailboxThe Mailbox.OneOffThe One off.PublicFolderThe Public folder.PublicGroupThe Public group.UnknownThe Unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MailboxTypevalueOf(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.
-
-
-
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(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
-
-