|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.network.MapiPropertyContainer
com.aspose.network.MapiNamedPropertyMappingStorage
public final class MapiNamedPropertyMappingStorage
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)
Adds the named property mapping for numeric named property. |
void |
addNamedPropertyMapping(MapiProperty property,
String nameId,
UUID guid)
Adds the named property mapping for string named property. |
Object |
Content()
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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapiNamedPropertyMappingStorage()
Initializes a new instance of the MapiNamedPropertyMappingStorage
class.
Method Detail |
---|
public String getName()
Gets the name
Value: The name
public Object Content()
Gets the content
Value: The content
public void setProperty(MapiProperty property)
MapiPropertyContainer
Sets the property.
setProperty
in class MapiPropertyContainer
property
- The property.public long getNextAvailablePropertyId(int dataType)
Gets the next available property id in entries stream based on property datatype.
dataType
- Type of the data for the property.
public void addNamedPropertyMapping(MapiProperty property, long nameId, UUID guid)
Adds the named property mapping for numeric named property.
property
- The property to add mapping for.nameId
- The name id.guid
- The GUID identifying property set.
property
should have a valid id for named property, GetNextAvailablePropertyId
can be used to generate one.
Otherwise an exception will be thrown.
com.aspose.ms.System.ArgumentNullException
- if property
is null.
com.aspose.ms.System.ArgumentException
- if MapiProperty.Tag
can'be used for named property mapping.
The range for named property identifiers is between 0x8000 and 0xFFFE.public void addNamedPropertyMapping(MapiProperty property, String nameId, UUID guid)
Adds the named property mapping for string named property.
property
- The property to add mapping for.nameId
- The name id.guid
- The GUID identifying property set.
property
should have a valid id for named property, GetNextAvailablePropertyId
can be used to generate one.
Otherwise an exception will be thrown.
com.aspose.ms.System.ArgumentNullException
- if nameId is null.
com.aspose.ms.System.ArgumentNullException
- if property
is null.
ArgumentException}
- if MapiProperty.Tag
can'be used for named property mapping.
The range for named property identifiers is between 0x8000 and 0xFFFE.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |