MapiNamedProperty

Inheritance: java.lang.Object, com.aspose.email.MapiProperty

public final class MapiNamedProperty extends MapiProperty

Represents the data type of Named Property.

Constructors

ConstructorDescription
MapiNamedProperty()Initializes a new instance of the MapiNamedProperty class.
MapiNamedProperty(long propertyTag, String nameIdentifier, UUID propertyGuid, byte[] propertyValue)Initializes a new instance of the MapiNamedProperty class.
MapiNamedProperty(long propertyTag, long nameIdentifier, UUID propertyGuid, byte[] propertyValue)Initializes a new instance of the MapiNamedProperty class.
MapiNamedProperty(INamedPropertyTagProvider tagProvider, PidLidPropertyDescriptor pd, Object data)Initializes a new instance of the MapiNamedProperty class.
MapiNamedProperty(INamedPropertyTagProvider tagProvider, PidNamePropertyDescriptor pd, Object data)Initializes a new instance of the MapiNamedProperty class.

Methods

MethodDescription
createMapiPropertyFromBytes(long tag, byte[] data)Creates the mapi property from bytes.
createMapiPropertyFromDateTime(long tag, Date data)Creates the mapi property from date time.
createMapiPropertyFromLong(long tag, long data)Creates the mapi property from long.
createMapiPropertyFromLong(long tag, long data, long delimiter)Creates the mapi property from long.
equals(Object arg0)
getBoolean()Gets the first bytes of the binary data as boolean.
getClass()
getCurrency()Gets the Currency as string using the specified code page.
getData()Gets the binary data.
getDataType()Gets the data type.
getDateTime()Gets the first bytes of the binary data as datetime.
getDescriptor()Gets descriptor of MAPI property
getDouble()Gets the bytes of the binary data as double.
getFloat()Gets the bytes of the binary data as float.
getFloatingDate()Gets the bytes of the binary data as DateTime.
getGuid()gets named property GUID
getGuidValue()Gets the bytes of the binary data as Guid.
getIdentifier()Gets the indifier.
getInt32()Gets the first 4 bytes of the binary data as int32.
getKind()gets named property kind
getLong()Gets the first 8 bytes of the binary data as long.
getMVEntries()Gets the MV entries list.
getMultipleBinary()Gets the multyple binary data.
getMultipleBoolean()Gets the multyple bool values.
getMultipleCurrency()Gets the multyple decimal values.
getMultipleFloating32()Gets the multyple float values.
getMultipleFloating64()Gets the multyple double values.
getMultipleFloatingTime()Gets the multyple DateTime values.
getMultipleGuid()Gets the multyple Guid values.
getMultipleInteger16()Gets the multyple Int16 values.
getMultipleInteger32()Gets the multyple Int32 values.
getMultipleInteger64()Gets the multyple Int64 values.
getMultipleString()Gets the multyple strings data.
getMultipleTime()Gets the multyple DateTime values.
getName()Gets the name.
getNameId()gets named property ID
getOom()gets OOM value
getPropertyTagName()Gets the PropertyName.
getShort()Gets the first 2 bytes of the binary data as short.
getString()Gets the binary data as string.
getString(int codepage)Gets the binary data as string using the specified code page.
getTag()Gets the tag.
getValue()Gets value as object
hashCode()
isNamed()Indicates whether the property is a named property.
isSigned()Indicates whether the binary data is signed.
notify()
notifyAll()
setSigned(boolean value)Indicates whether the binary data is signed.
toString()Returns a String that represents the current Object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

MapiNamedProperty()

public MapiNamedProperty()

Initializes a new instance of the MapiNamedProperty class.

MapiNamedProperty(long propertyTag, String nameIdentifier, UUID propertyGuid, byte[] propertyValue)

public MapiNamedProperty(long propertyTag, String nameIdentifier, UUID propertyGuid, byte[] propertyValue)

Initializes a new instance of the MapiNamedProperty class.

Parameters:

ParameterTypeDescription
propertyTaglongThe property tag represented a 32-bit value that contains a property type and a property ID. The low-order 16 bits represent the property type. The high-order 16 bits represent the property ID.
nameIdentifierjava.lang.StringThe name identifier that is used to refer to a named property.
propertyGuidjava.util.UUIDThe property unique identifier.
propertyValuebyte[]A property value.

MapiNamedProperty(long propertyTag, long nameIdentifier, UUID propertyGuid, byte[] propertyValue)

public MapiNamedProperty(long propertyTag, long nameIdentifier, UUID propertyGuid, byte[] propertyValue)

Initializes a new instance of the MapiNamedProperty class.

Parameters:

ParameterTypeDescription
propertyTaglongThe property tag represented a 32-bit value that contains a property type and a property ID. The low-order 16 bits represent the property type. The high-order 16 bits represent the property ID.
nameIdentifierlongThe name identifier that is used to refer to a named property.
propertyGuidjava.util.UUIDThe property unique identifier.
propertyValuebyte[]A property value.

MapiNamedProperty(INamedPropertyTagProvider tagProvider, PidLidPropertyDescriptor pd, Object data)

public MapiNamedProperty(INamedPropertyTagProvider tagProvider, PidLidPropertyDescriptor pd, Object data)

Initializes a new instance of the MapiNamedProperty class.

Parameters:

ParameterTypeDescription
tagProviderINamedPropertyTagProviderProperty storage that can provide tag for named property
pdPidLidPropertyDescriptorProperty descriptor
datajava.lang.ObjectA property value.

MapiNamedProperty(INamedPropertyTagProvider tagProvider, PidNamePropertyDescriptor pd, Object data)

public MapiNamedProperty(INamedPropertyTagProvider tagProvider, PidNamePropertyDescriptor pd, Object data)

Initializes a new instance of the MapiNamedProperty class.

Parameters:

ParameterTypeDescription
tagProviderINamedPropertyTagProviderProperty storage that can provide tag for named property
pdPidNamePropertyDescriptorProperty descriptor
datajava.lang.ObjectA property value.

createMapiPropertyFromBytes(long tag, byte[] data)

public static MapiProperty createMapiPropertyFromBytes(long tag, byte[] data)

Creates the mapi property from bytes.

Parameters:

ParameterTypeDescription
taglongThe tag.
databyte[]The data.

Returns: MapiProperty -

createMapiPropertyFromDateTime(long tag, Date data)

public static MapiProperty createMapiPropertyFromDateTime(long tag, Date data)

Creates the mapi property from date time.

Parameters:

ParameterTypeDescription
taglongThe tag.
datajava.util.DateThe data.

Returns: MapiProperty -

createMapiPropertyFromLong(long tag, long data)

public static MapiProperty createMapiPropertyFromLong(long tag, long data)

Creates the mapi property from long.

Parameters:

ParameterTypeDescription
taglongThe tag.
datalongThe data.

Returns: MapiProperty -

createMapiPropertyFromLong(long tag, long data, long delimiter)

public static MapiProperty createMapiPropertyFromLong(long tag, long data, long delimiter)

Creates the mapi property from long.

Parameters:

ParameterTypeDescription
taglongThe tag.
datalongThe data.
delimiterlongThe delimiter.

Returns: MapiProperty -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBoolean()

public boolean getBoolean()

Gets the first bytes of the binary data as boolean.

Returns: boolean - The boolean value.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCurrency()

public BigDecimal getCurrency()

Gets the Currency as string using the specified code page.

Returns: java.math.BigDecimal - A string contains the binary data.

getData()

public byte[] getData()

Gets the binary data.

Returns: byte[]

getDataType()

public int getDataType()

Gets the data type.

Returns: int

getDateTime()

public Date getDateTime()

Gets the first bytes of the binary data as datetime.

Returns: java.util.Date - The datetime value.

getDescriptor()

public final PropertyDescriptor getDescriptor()

Gets descriptor of MAPI property

Returns: PropertyDescriptor

getDouble()

public double getDouble()

Gets the bytes of the binary data as double.

Returns: double - The double value.

getFloat()

public float getFloat()

Gets the bytes of the binary data as float.

Returns: float - The double value.

getFloatingDate()

public Date getFloatingDate()

Gets the bytes of the binary data as DateTime.

Returns: java.util.Date - The DateTime value.

getGuid()

public final UUID getGuid()

gets named property GUID

Returns: java.util.UUID

getGuidValue()

public UUID getGuidValue()

Gets the bytes of the binary data as Guid.

Returns: java.util.UUID - The Guid value.

getIdentifier()

public long getIdentifier()

Gets the indifier.

Returns: long

getInt32()

public int getInt32()

Gets the first 4 bytes of the binary data as int32.

Returns: int - The int32 value.

getKind()

public final int getKind()

gets named property kind

Returns: int

getLong()

public long getLong()

Gets the first 8 bytes of the binary data as long.

Returns: long - The long value.

getMVEntries()

public final System.Collections.IList getMVEntries()

Gets the MV entries list.

Returns: com.aspose.ms.System.Collections.IList

getMultipleBinary()

public final byte[][] getMultipleBinary()

Gets the multyple binary data.

Returns: byte[][] - A multyple byte arrays.

getMultipleBoolean()

public final boolean[] getMultipleBoolean()

Gets the multyple bool values.

Returns: boolean[] - A bool array.

getMultipleCurrency()

public final BigDecimal[] getMultipleCurrency()

Gets the multyple decimal values.

Returns: java.math.BigDecimal[] - A decimal array.

getMultipleFloating32()

public final float[] getMultipleFloating32()

Gets the multyple float values.

Returns: float[] - A float array.

getMultipleFloating64()

public final double[] getMultipleFloating64()

Gets the multyple double values.

Returns: double[] - A double array.

getMultipleFloatingTime()

public final Date[] getMultipleFloatingTime()

Gets the multyple DateTime values.

Returns: java.util.Date[] - A DateTime array.

getMultipleGuid()

public final UUID[] getMultipleGuid()

Gets the multyple Guid values.

Returns: java.util.UUID[] - A Guid array.

getMultipleInteger16()

public final short[] getMultipleInteger16()

Gets the multyple Int16 values.

Returns: short[] - A Int16 array.

getMultipleInteger32()

public final int[] getMultipleInteger32()

Gets the multyple Int32 values.

Returns: int[] - A Int32 array.

getMultipleInteger64()

public final long[] getMultipleInteger64()

Gets the multyple Int64 values.

Returns: long[] - A Int64 array.

getMultipleString()

public final String[] getMultipleString()

Gets the multyple strings data.

Returns: java.lang.String[] - A string array.

getMultipleTime()

public final Date[] getMultipleTime()

Gets the multyple DateTime values.

Returns: java.util.Date[] - A DateTime array.

getName()

public String getName()

Gets the name.

Returns: java.lang.String

getNameId()

public final String getNameId()

gets named property ID

Returns: java.lang.String

getOom()

public final String getOom()

gets OOM value

Returns: java.lang.String

getPropertyTagName()

public String getPropertyTagName()

Gets the PropertyName.

Returns: java.lang.String

getShort()

public short getShort()

Gets the first 2 bytes of the binary data as short.

Returns: short - The short value.

getString()

public String getString()

Gets the binary data as string.

Returns: java.lang.String - A string contains the binary data.

getString(int codepage)

public String getString(int codepage)

Gets the binary data as string using the specified code page.

Parameters:

ParameterTypeDescription
codepageintThe code page.

Returns: java.lang.String - A string contains the binary data.

getTag()

public long getTag()

Gets the tag.

Returns: long

getValue()

public final Object getValue()

Gets value as object

Returns: java.lang.Object - value of a property

hashCode()

public native int hashCode()

Returns: int

isNamed()

public final boolean isNamed()

Indicates whether the property is a named property.

Returns: boolean

isSigned()

public boolean isSigned()

Indicates whether the binary data is signed.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setSigned(boolean value)

public void setSigned(boolean value)

Indicates whether the binary data is signed.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns a String that represents the current Object.

Returns: java.lang.String - A String that represents the current Object.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int