MapiContactElectronicAddress

Inheritance: java.lang.Object

public final class MapiContactElectronicAddress

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

Constructors

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

Methods

Method Description
to_MapiContactElectronicAddress(String emailAddress) Performs an implicit conversion from String to MapiContactElectronicAddress.
isEmpty() Shows if MapiContactElectronicAddress 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 for the Contact object.
setOriginalDisplayName(String value) Gets or sets the SMTP e-mail address that corresponds to the e-mail address for the Contact object.
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 of the contact
setEmailAddress(String value) Gets or sets the e-mail address of the contact
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
toString() Returns a string that represents the current object.
equals(Object obj) Determines whether the specified object is equal to the current object.
hashCode()

MapiContactElectronicAddress()

public MapiContactElectronicAddress()

Initializes a new instance of the MapiContactElectronicAddress class.

MapiContactElectronicAddress(String displayName, String addressType, String emailAddress)

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

Initializes a new instance of the MapiContactElectronicAddress 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.

MapiContactElectronicAddress(String emailAddress)

public MapiContactElectronicAddress(String emailAddress)

Initializes a new instance of the MapiContactElectronicAddress class.

Parameters:

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

MapiContactElectronicAddress(String faxNumber, String emailAddress)

public MapiContactElectronicAddress(String faxNumber, String emailAddress)

Initializes a new instance of the MapiContactElectronicAddress class.

Parameters:

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

to_MapiContactElectronicAddress(String emailAddress)

public static MapiContactElectronicAddress to_MapiContactElectronicAddress(String emailAddress)

Performs an implicit conversion from String to MapiContactElectronicAddress.

Parameters:

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

Returns: MapiContactElectronicAddress - The result of the conversion.

isEmpty()

public final boolean isEmpty()

Shows if MapiContactElectronicAddress 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 for the Contact object.

Value: The 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 for the Contact object.

Value: The 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 of the contact

Returns: java.lang.String

setEmailAddress(String value)

public final void setEmailAddress(String value)

Gets or sets the e-mail address of the contact

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

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - A string that represents the current object.

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified object is equal to the current object.

Parameters:

Parameter Type Description
obj java.lang.Object The object to compare with the current object.

Returns: boolean - true if the specified object is equal to the current object; otherwise, false.

hashCode()

public int hashCode()

Returns: int