MapiElectronicAddress

Inheritance: java.lang.Object

public final class MapiElectronicAddress

Refers to the group of properties that define the e-mail address or fax address.

Constructors

Constructor Description
MapiElectronicAddress() Initializes a new instance of the MapiElectronicAddress class.
MapiElectronicAddress(String displayName, String addressType, String emailAddress) Initializes a new instance of the MapiElectronicAddress class.
MapiElectronicAddress(String emailAddress) Initializes a new instance of the MapiElectronicAddress class.
MapiElectronicAddress(String faxNumber, String emailAddress) Initializes a new instance of the MapiElectronicAddress class.

Methods

Method Description
to_MapiElectronicAddress(String emailAddress) Performs an implicit conversion from String to MapiElectronicAddress.
isEmpty() Shows if MapiElectronicAddress is empty
getDisplayName() Gets or sets the user-readable display name for the e-mail address.
setDisplayName(String value) Gets or sets the user-readable display name for the e-mail address.
getOriginalDisplayName() Gets or sets the SMTP e-mail address that corresponds to the e-mail address .
setOriginalDisplayName(String value) Gets or sets the SMTP e-mail address that corresponds to the e-mail address .
getAddressType() Gets or sets the address type of an electronic address.
setAddressType(String value) Gets or sets the address type of an electronic address.
getEmailAddress() Gets or sets the e-mail address.
setEmailAddress(String value) Gets or sets the e-mail address.
getFaxNumber() Gets or sets the telephone number of the mail user’s primary fax machine.
setFaxNumber(String value) Gets or sets the telephone number of the mail user’s primary fax machine.

MapiElectronicAddress()

public MapiElectronicAddress()

Initializes a new instance of the MapiElectronicAddress class.

MapiElectronicAddress(String displayName, String addressType, String emailAddress)

public MapiElectronicAddress(String displayName, String addressType, String emailAddress)

Initializes a new instance of the MapiElectronicAddress class.

Parameters:

Parameter Type Description
displayName java.lang.String The display name.
addressType java.lang.String Type of the address.
emailAddress java.lang.String The email address.

MapiElectronicAddress(String emailAddress)

public MapiElectronicAddress(String emailAddress)

Initializes a new instance of the MapiElectronicAddress class.

Parameters:

Parameter Type Description
emailAddress java.lang.String The email address.

MapiElectronicAddress(String faxNumber, String emailAddress)

public MapiElectronicAddress(String faxNumber, String emailAddress)

Initializes a new instance of the MapiElectronicAddress class.

Parameters:

Parameter Type Description
faxNumber java.lang.String The fax number.
emailAddress java.lang.String The email address.

to_MapiElectronicAddress(String emailAddress)

public static MapiElectronicAddress to_MapiElectronicAddress(String emailAddress)

Performs an implicit conversion from String to MapiElectronicAddress.

Parameters:

Parameter Type Description
emailAddress java.lang.String The email address.

Returns: MapiElectronicAddress - The result of the conversion.

isEmpty()

public final boolean isEmpty()

Shows if MapiElectronicAddress is empty

Returns: boolean

getDisplayName()

public final String getDisplayName()

Gets or sets the user-readable display name for the e-mail address.

Returns: java.lang.String

setDisplayName(String value)

public final void setDisplayName(String value)

Gets or sets the user-readable display name for the e-mail address.

Parameters:

Parameter Type Description
value java.lang.String

getOriginalDisplayName()

public final String getOriginalDisplayName()

Gets or sets the SMTP e-mail address that corresponds to the e-mail address .

Value: The SMTP e-mail address.

Returns: java.lang.String

setOriginalDisplayName(String value)

public final void setOriginalDisplayName(String value)

Gets or sets the SMTP e-mail address that corresponds to the e-mail address .

Value: The SMTP e-mail address.

Parameters:

Parameter Type Description
value java.lang.String

getAddressType()

public final String getAddressType()

Gets or sets the address type of an electronic address.

Returns: java.lang.String

setAddressType(String value)

public final void setAddressType(String value)

Gets or sets the address type of an electronic address.

Parameters:

Parameter Type Description
value java.lang.String

getEmailAddress()

public final String getEmailAddress()

Gets or sets the e-mail address.

Returns: java.lang.String

setEmailAddress(String value)

public final void setEmailAddress(String value)

Gets or sets the e-mail address.

Parameters:

Parameter Type Description
value java.lang.String

getFaxNumber()

public final String getFaxNumber()

Gets or sets the telephone number of the mail user’s primary fax machine.

Returns: java.lang.String

setFaxNumber(String value)

public final void setFaxNumber(String value)

Gets or sets the telephone number of the mail user’s primary fax machine.

Parameters:

Parameter Type Description
value java.lang.String