Enum Class ObjectType
- All Implemented Interfaces:
Serializable,Comparable<ObjectType>,Constable
Specifies the type of a MAPI object (the value of PR_OBJECT_TYPE).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn address book.An address book container.A message attachment.A distribution list.A folder.A form.A messaging user (a person).A message.A message store.The object type is not specified.A profile selection.A session.A status object. -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectTypeReturns the enum constant of this class with the specified name.static ObjectType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADDRESS_BOOK_CONTAINER
An address book container. -
ADDRESS_BOOK
An address book. -
ATTACHMENT
A message attachment. -
DISTRIBUTION_LIST
A distribution list. -
FOLDER
A folder. -
FORM
A form. -
MAIL_USER
A messaging user (a person). -
MESSAGE
A message. -
PROFILE_SELECTION
A profile selection. -
SESSION
A session. -
STATUS
A status object. -
MESSAGE_STORE
A message store. -
NONE
The object type is not specified.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-