com.aspose.network.outlook
Class MapiPropertyType

java.lang.Object
  extended by com.aspose.network.outlook.MapiPropertyType

public final class MapiPropertyType
extends Object

Represents the MAPI property tags definition.


Field Summary
static MapiPropertyType PT_ACTIONS
          Variable size, a 16-bit count of actions (not bytes) followed by that many Rule Action structures
static MapiPropertyType PT_APPTIME
          8 bytes, a 64-bit floating point number in which the whole number part represents the number of days since December 30, 1899, and the fractional part represents the fraction of a day since midnight
static MapiPropertyType PT_BINARY
          Variable size, a COUNT followed by that many bytes
static MapiPropertyType PT_BOOLEAN
          1 byte, restricted to 1 or 0
static MapiPropertyType PT_CLSID
          16 bytes, a GUID with Data1, Data2, and Data3 fields in little-endian format.
static MapiPropertyType PT_CURRENCY
          8 bytes, a 64-bit signed, scaled integer representation of a decimal currency value, with 4 places to the right of the decimal point
static MapiPropertyType PT_DOUBLE
          8 bytes, a 64-bit floating point
static MapiPropertyType PT_ERROR
          bytes, a 32-bit integer encoding error information
static MapiPropertyType PT_FLOAT
          4 bytes, a 32-bit floating point
static MapiPropertyType PT_LONG
          4 bytes, a 32-bit integer
static MapiPropertyType PT_LONGLONG
          8 bytes, a 64-bit integer
static MapiPropertyType PT_MV_APPTIME
          Variable size, a COUNT followed by that many PtypFloatingTime
static MapiPropertyType PT_MV_BINARY
          Variable size, a COUNT followed by that many PtypBinary values
static MapiPropertyType PT_MV_CLSID
          Variable size, a COUNT followed by that many PtypGuid values
static MapiPropertyType PT_MV_CURRENCY
          Variable size, a COUNT followed by that many PtypCurrency values
static MapiPropertyType PT_MV_DOUBLE
          Variable size, a COUNT followed by that many PtypFloating64 values
static MapiPropertyType PT_MV_FLOAT
          Variable size, a COUNT followed by that many PtypFloating32 values
static MapiPropertyType PT_MV_LONG
          Variable size, a COUNT followed by that many PtypInteger32 values
static MapiPropertyType PT_MV_LONGLONG
          Variable size, a COUNT followed by that many PtypInteger64 values
static MapiPropertyType PT_MV_SHORT
          Variable size, a COUNT followed by that many PtypInteger16 values
static MapiPropertyType PT_MV_STRING8
          Variable size, a COUNT followed by that many PtypString8 values
static MapiPropertyType PT_MV_SYSTIME
          Variable size, a COUNT followed by that many PtypTime values
static MapiPropertyType PT_MV_UNICODE
          Variable size, a COUNT followed by that PtypString values
static MapiPropertyType PT_NULL
          This property is a placeholder
static MapiPropertyType PT_OBJECT
          The property value is a COM object
static MapiPropertyType PT_SHORT
          2 bytes, a 16-bit integer
static MapiPropertyType PT_SRESTRICT
          Variable size, a byte array representing one or more Restriction structures as specified in section
static MapiPropertyType PT_STRING8
          Variable size, a string of multi-byte characters in externally specified encoding with terminating null character (single 0 byte)
static MapiPropertyType PT_SVREID
          Variable size, a 16-bit count followed a structure
static MapiPropertyType PT_SYSTIME
          8 bytes, a 64-bit integer representing the number of 100 nanosecond intervals since January 1, 1601
static MapiPropertyType PT_UNICODE
          Variable size, a string of Unicode characters in UTF-16LE encoding with terminating null character (2 bytes of zero)
static MapiPropertyType PT_UNSPECIFIED
          Any: this property type value matches any type; a server MUST return the actual type in its response.
 
Method Summary
 boolean equals(Object obj)
           
static MapiPropertyType getDataType(short id)
          Gets the MapiPropertyType of the value that is represented by the tag.
 short getId()
          Gets the id of the tag.
 String getName()
          Gets the name of tag.
 int getSize()
          Gets the size of the value that is represented by the tag.
 int hashCode()
           
 boolean isMultiValue()
          Indicates whether the value that is represented by the tag is array or not.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PT_UNSPECIFIED

public static final MapiPropertyType PT_UNSPECIFIED
Any: this property type value matches any type; a server MUST return the actual type in its response. Servers MUST NOT return this type in response to a client request other than NspiGetIDsFromNames or RopGetPropertyIdsFromNames ([MS-OXCROPS]).


PT_NULL

public static final MapiPropertyType PT_NULL
This property is a placeholder


PT_SHORT

public static final MapiPropertyType PT_SHORT
2 bytes, a 16-bit integer


PT_LONG

public static final MapiPropertyType PT_LONG
4 bytes, a 32-bit integer


PT_FLOAT

public static final MapiPropertyType PT_FLOAT
4 bytes, a 32-bit floating point


PT_DOUBLE

public static final MapiPropertyType PT_DOUBLE
8 bytes, a 64-bit floating point


PT_CURRENCY

public static final MapiPropertyType PT_CURRENCY
8 bytes, a 64-bit signed, scaled integer representation of a decimal currency value, with 4 places to the right of the decimal point


PT_APPTIME

public static final MapiPropertyType PT_APPTIME
8 bytes, a 64-bit floating point number in which the whole number part represents the number of days since December 30, 1899, and the fractional part represents the fraction of a day since midnight


PT_ERROR

public static final MapiPropertyType PT_ERROR
bytes, a 32-bit integer encoding error information


PT_BOOLEAN

public static final MapiPropertyType PT_BOOLEAN
1 byte, restricted to 1 or 0


PT_OBJECT

public static final MapiPropertyType PT_OBJECT
The property value is a COM object


PT_LONGLONG

public static final MapiPropertyType PT_LONGLONG
8 bytes, a 64-bit integer


PT_UNICODE

public static final MapiPropertyType PT_UNICODE
Variable size, a string of Unicode characters in UTF-16LE encoding with terminating null character (2 bytes of zero)


PT_STRING8

public static final MapiPropertyType PT_STRING8
Variable size, a string of multi-byte characters in externally specified encoding with terminating null character (single 0 byte)


PT_SYSTIME

public static final MapiPropertyType PT_SYSTIME
8 bytes, a 64-bit integer representing the number of 100 nanosecond intervals since January 1, 1601


PT_CLSID

public static final MapiPropertyType PT_CLSID
16 bytes, a GUID with Data1, Data2, and Data3 fields in little-endian format. Marked as variable length as it stored separately


PT_SVREID

public static final MapiPropertyType PT_SVREID
Variable size, a 16-bit count followed a structure


PT_SRESTRICT

public static final MapiPropertyType PT_SRESTRICT
Variable size, a byte array representing one or more Restriction structures as specified in section


PT_ACTIONS

public static final MapiPropertyType PT_ACTIONS
Variable size, a 16-bit count of actions (not bytes) followed by that many Rule Action structures


PT_BINARY

public static final MapiPropertyType PT_BINARY
Variable size, a COUNT followed by that many bytes


PT_MV_SHORT

public static final MapiPropertyType PT_MV_SHORT
Variable size, a COUNT followed by that many PtypInteger16 values


PT_MV_LONG

public static final MapiPropertyType PT_MV_LONG
Variable size, a COUNT followed by that many PtypInteger32 values


PT_MV_FLOAT

public static final MapiPropertyType PT_MV_FLOAT
Variable size, a COUNT followed by that many PtypFloating32 values


PT_MV_DOUBLE

public static final MapiPropertyType PT_MV_DOUBLE
Variable size, a COUNT followed by that many PtypFloating64 values


PT_MV_CURRENCY

public static final MapiPropertyType PT_MV_CURRENCY
Variable size, a COUNT followed by that many PtypCurrency values


PT_MV_APPTIME

public static final MapiPropertyType PT_MV_APPTIME
Variable size, a COUNT followed by that many PtypFloatingTime


PT_MV_LONGLONG

public static final MapiPropertyType PT_MV_LONGLONG
Variable size, a COUNT followed by that many PtypInteger64 values


PT_MV_UNICODE

public static final MapiPropertyType PT_MV_UNICODE
Variable size, a COUNT followed by that PtypString values


PT_MV_STRING8

public static final MapiPropertyType PT_MV_STRING8
Variable size, a COUNT followed by that many PtypString8 values


PT_MV_SYSTIME

public static final MapiPropertyType PT_MV_SYSTIME
Variable size, a COUNT followed by that many PtypTime values


PT_MV_CLSID

public static final MapiPropertyType PT_MV_CLSID
Variable size, a COUNT followed by that many PtypGuid values


PT_MV_BINARY

public static final MapiPropertyType PT_MV_BINARY
Variable size, a COUNT followed by that many PtypBinary values

Method Detail

getId

public short getId()
Gets the id of the tag.

Returns:
id of the tag.

getName

public String getName()
Gets the name of tag.

Returns:
name of tag.

getSize

public int getSize()
Gets the size of the value that is represented by the tag. If value is array see isMultiValue() returns size of one element.

Returns:
size of value that is represented by the tag.

isMultiValue

public boolean isMultiValue()
Indicates whether the value that is represented by the tag is array or not.

Returns:
true if value represented by the tag is array, false otherwise.

getDataType

public static MapiPropertyType getDataType(short id)
Gets the MapiPropertyType of the value that is represented by the tag.

Parameters:
id - tags id
Returns:
MapiPropertyType of the value that is represented by the tag.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 Aspose. All Rights Reserved.