com.aspose.email
Class MapiNamedPropertyMappingStorage

java.lang.Object
  extended by com.aspose.email.MapiPropertyContainer
      extended by com.aspose.email.MapiNamedPropertyMappingStorage

public final class MapiNamedPropertyMappingStorage
extends MapiPropertyContainer

Represents the named property mapping


Constructor Summary
MapiNamedPropertyMappingStorage()
           Initializes a new instance of the MapiNamedPropertyMappingStorage class.
 
Method Summary
 void addNamedPropertyMapping(MapiProperty property, long nameId, UUID guid)
           
 void addNamedPropertyMapping(MapiProperty property, String nameId, UUID guid)
           
 Object getContent()
           Gets the content
 String getName()
           Gets the name
 long getNextAvailablePropertyId(int dataType)
           Gets the next available property id in entries stream based on property datatype.
 void setProperty(MapiProperty property)
           Sets the property.
 
Methods inherited from class com.aspose.email.MapiPropertyContainer
createMapiNode, getCodePage, getMyProperties, getProperties, getPropertyBoolean, getPropertyBytes, getPropertyDateTime, getPropertyInt32, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, setNamedPropertyMapping, setProperty, setProperty, setProperty, setProperty, setProperty, setPropertySet, tryGetPropertyData, tryGetPropertyDateTime, tryGetPropertyInt32, tryGetPropertyLong, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapiNamedPropertyMappingStorage

public MapiNamedPropertyMappingStorage()

Initializes a new instance of the MapiNamedPropertyMappingStorage class.

Method Detail

getName

public String getName()

Gets the name

Value: The name


getContent

public Object getContent()

Gets the content

Value: The content


setProperty

public void setProperty(MapiProperty property)
Description copied from class: MapiPropertyContainer

Sets the property.

Specified by:
setProperty in class MapiPropertyContainer
Parameters:
property - The property.

getNextAvailablePropertyId

public long getNextAvailablePropertyId(int dataType)

Gets the next available property id in entries stream based on property datatype.

Parameters:
dataType - Type of the data for the property.
Returns:
An id that can be lately used to add property mapping.

addNamedPropertyMapping

public void addNamedPropertyMapping(MapiProperty property,
                                    long nameId,
                                    UUID guid)

addNamedPropertyMapping

public void addNamedPropertyMapping(MapiProperty property,
                                    String nameId,
                                    UUID guid)


Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.