com.aspose.network.outlook
Class MapiRecipient

java.lang.Object
  extended by com.aspose.network.outlook.MapiPropertyContainer
      extended by com.aspose.network.outlook.MapiRecipient

public class MapiRecipient
extends MapiPropertyContainer

Represents the recipient information in the Microsoft Outlook Message.


Constructor Summary
MapiRecipient(int id)
          Creates a new instance of the MapiRecipient class.
MapiRecipient(int id, MapiRecipientType recipientType, String email, String addressType)
          Creates a new instance of the MapiRecipient class.
 
Method Summary
 String getAddressType()
          Gets the type of the address of the message recipient or sender.
 String getDisplayName()
          Gets the display name of the message recipient or sender.
 String getEmailAddress()
          Gets the email address of the message recipient or sender.
 MapiPropertyCollection getProperties()
          Gets the collection of properties.
 MapiObjectType getRecipientClass()
          Gets the type of recipent.
 String getRecipientDisplayName()
          Gets the recipient display name of the message recipient or sender.
 MapiRecipientType getRecipientType()
          Gets the type of the recipient or sender.
 void setAddressType(String type)
          Sets the type of the address of the message recipient or sender.
 void setDisplayName(String displayName)
          Sets the display name of the message recipient or sender.
 void setEmailAddress(String emailAddress)
          Sets the email address of the message recipient or sender.
 void setProperty(MapiProperty property, int signed, long propertyTag)
           
 void setRecipientDisplayName(String displayName)
          Sets the recipient display name of the message recipient or sender.
 void setRecipientType(MapiRecipientType recipientType)
          Sets the type of the recipient or sender.
 String toString()
           
 
Methods inherited from class com.aspose.network.outlook.MapiPropertyContainer
getCodePage, getProperty, getPropertyBinary, getPropertyBooolean, getPropertyByte, getPropertyDateTime, getPropertyDouble, getPropertyFloat, getPropertyInt, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapiRecipient

public MapiRecipient(int id)
Creates a new instance of the MapiRecipient class.

Parameters:
id - Number of the recipient

MapiRecipient

public MapiRecipient(int id,
                     MapiRecipientType recipientType,
                     String email,
                     String addressType)
Creates a new instance of the MapiRecipient class.

Parameters:
id - Number of the recipient
recipientType - recipient type
email - recipient email
addressType - recipient address type
Method Detail

getProperties

public MapiPropertyCollection getProperties()
Description copied from class: MapiPropertyContainer
Gets the collection of properties.

Specified by:
getProperties in class MapiPropertyContainer
Returns:
collection of properties.

getAddressType

public String getAddressType()
Gets the type of the address of the message recipient or sender.

Returns:
type of the address of the message recipient or sender.

setAddressType

public void setAddressType(String type)
Sets the type of the address of the message recipient or sender.

Parameters:
type - the type of the address of the message recipient or sender

getDisplayName

public String getDisplayName()
Gets the display name of the message recipient or sender.

Returns:
display name of the message recipient or sender.

setDisplayName

public void setDisplayName(String displayName)
Sets the display name of the message recipient or sender.

Parameters:
displayName - the display name of the message recipient or sender

getRecipientDisplayName

public String getRecipientDisplayName()
Gets the recipient display name of the message recipient or sender.

Returns:
the recipient display name of the message recipient or sender.

setRecipientDisplayName

public void setRecipientDisplayName(String displayName)
Sets the recipient display name of the message recipient or sender.

Parameters:
displayName - the recipient display name of the message recipient or sender

getEmailAddress

public String getEmailAddress()
Gets the email address of the message recipient or sender.

Returns:
email address of the message recipient or sender.

setEmailAddress

public void setEmailAddress(String emailAddress)
Sets the email address of the message recipient or sender.

Parameters:
emailAddress - the email address of the message recipient or sender

getRecipientClass

public MapiObjectType getRecipientClass()
Gets the type of recipent.

Returns:
type of recipent.

getRecipientType

public MapiRecipientType getRecipientType()
Gets the type of the recipient or sender.

Returns:
type of the recipient or sender.

setRecipientType

public void setRecipientType(MapiRecipientType recipientType)
Sets the type of the recipient or sender.

Parameters:
recipientType - the type of the recipient or sender

toString

public String toString()
Overrides:
toString in class Object

setProperty

public void setProperty(MapiProperty property,
                        int signed,
                        long propertyTag)


Copyright © 2011 Aspose. All Rights Reserved.