Enum Class PropertyType
- All Implemented Interfaces:
Serializable,Comparable<PropertyType>,Constable
Specifies the data type of a MAPI property value.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn application time, stored as a floating-point number of days (PT_APPTIME).A multiple-value array of application times (PT_MV_APPTIME).A binary value (PT_BINARY).A multiple-value array of binary values (PT_MV_BINARY).A Boolean value (PT_BOOLEAN).A currency value, stored as a scaled 64-bit integer (PT_CURRENCY).A multiple-value array of currency values (PT_MV_CURRENCY).A 64-bit floating-point number (PT_DOUBLE).A multiple-value array of 64-bit floating-point numbers (PT_MV_DOUBLE).A 32-bit error code (PT_ERROR).A 32-bit floating-point number (PT_FLOAT).A multiple-value array of 32-bit floating-point numbers (PT_MV_FLOAT).A GUID (PT_CLSID).A multiple-value array of GUIDs (PT_MV_CLSID).A signed 32-bit integer (PT_LONG).A multiple-value array of 32-bit integers (PT_MV_LONG).A signed 64-bit integer (PT_LONGLONG).A multiple-value array of 64-bit integers (PT_MV_LONGLONG).A null value (PT_NULL).An embedded object (PT_OBJECT).A restriction (PT_SRESTRICT).An array of rule actions (PT_ACTIONS).A server entry identifier (PT_SVREID).A signed 16-bit integer (PT_SHORT).A multiple-value array of 16-bit integers (PT_MV_SHORT).A Unicode character string (PT_UNICODE).A multiple-value array of Unicode strings (PT_MV_UNICODE).An 8-bit (ANSI/code-page) character string (PT_STRING8).A multiple-value array of 8-bit (ANSI/code-page) strings (PT_MV_STRING8).A date and time, stored as a FILETIME (PT_SYSTIME).A multiple-value array of date-time values (PT_MV_SYSTIME).The property type is unspecified (PT_UNSPECIFIED). -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyTypeReturns the enum constant of this class with the specified name.static PropertyType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
The property type is unspecified (PT_UNSPECIFIED). -
NULL
A null value (PT_NULL). -
SHORT
A signed 16-bit integer (PT_SHORT). -
INTEGER
A signed 32-bit integer (PT_LONG). -
FLOAT
A 32-bit floating-point number (PT_FLOAT). -
DOUBLE
A 64-bit floating-point number (PT_DOUBLE). -
CURRENCY
A currency value, stored as a scaled 64-bit integer (PT_CURRENCY). -
APPLICATION_TIME
An application time, stored as a floating-point number of days (PT_APPTIME). -
ERROR
A 32-bit error code (PT_ERROR). -
BOOLEAN
A Boolean value (PT_BOOLEAN). -
OBJECT
An embedded object (PT_OBJECT). -
LONG
A signed 64-bit integer (PT_LONGLONG). -
STRING8
An 8-bit (ANSI/code-page) character string (PT_STRING8). -
STRING
A Unicode character string (PT_UNICODE). -
SYSTEM_TIME
A date and time, stored as a FILETIME (PT_SYSTIME). -
GUID
A GUID (PT_CLSID). -
SERVER_ID
A server entry identifier (PT_SVREID). -
RESTRICTION
A restriction (PT_SRESTRICT). -
RULE_ACTION
An array of rule actions (PT_ACTIONS). -
BINARY
A binary value (PT_BINARY). -
SHORT_ARRAY
A multiple-value array of 16-bit integers (PT_MV_SHORT). -
INTEGER_ARRAY
A multiple-value array of 32-bit integers (PT_MV_LONG). -
FLOAT_ARRAY
A multiple-value array of 32-bit floating-point numbers (PT_MV_FLOAT). -
DOUBLE_ARRAY
A multiple-value array of 64-bit floating-point numbers (PT_MV_DOUBLE). -
CURRENCY_ARRAY
A multiple-value array of currency values (PT_MV_CURRENCY). -
APPLICATION_TIME_ARRAY
A multiple-value array of application times (PT_MV_APPTIME). -
LONG_ARRAY
A multiple-value array of 64-bit integers (PT_MV_LONGLONG). -
STRING8_ARRAY
A multiple-value array of 8-bit (ANSI/code-page) strings (PT_MV_STRING8). -
STRING_ARRAY
A multiple-value array of Unicode strings (PT_MV_UNICODE). -
SYSTEM_TIME_ARRAY
A multiple-value array of date-time values (PT_MV_SYSTIME). -
GUID_ARRAY
A multiple-value array of GUIDs (PT_MV_CLSID). -
BINARY_ARRAY
A multiple-value array of binary values (PT_MV_BINARY).
-
-
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
-