com.aspose.email

com.aspose.email

Class 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, longnameId, UUID guid)
void
addNamedPropertyMapping(MapiProperty property, String nameId, UUID guid)
getContent()
Gets the content Value: The content
getName()
Gets the name Value: The name
long
getNextAvailablePropertyId(intdataType)
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
 
Methods inherited from class java.lang.Object
 

    • 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

      • 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)