MapiContactElectronicAddress

Inheritance: java.lang.Object, com.aspose.email.MapiContactAddress

public final class MapiContactElectronicAddress extends MapiContactAddress

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

Constructors

ConstructorDescription
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

MethodDescription
equals(Object obj)Determines whether the specified object is equal to the current object.
getAddressType()Gets or sets the address type of an electronic address
getClass()
getDisplayName()Gets or sets the user-readable display name for the e-mail address
getEmailAddress()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
getOriginalDisplayName()Gets or sets the SMTP e-mail address that corresponds to the e-mail address for the Contact object.
hashCode()
isEmpty()Shows if MapiContactElectronicAddress is empty
notify()
notifyAll()
setAddressType(String value)Gets or sets the address type of an electronic address
setDisplayName(String value)Gets or sets the user-readable display name for the e-mail address
setEmailAddress(String value)Gets or sets the e-mail address of the contact
setFaxNumber(String value)Gets or sets the telephone number of the mail user’s primary fax machine
setOriginalDisplayName(String value)Gets or sets the SMTP e-mail address that corresponds to the e-mail address for the Contact object.
toString()Returns a string that represents the current object.
to_MapiContactElectronicAddress(String emailAddress)Performs an implicit conversion from String to MapiContactElectronicAddress.
wait()
wait(long arg0)
wait(long arg0, int arg1)

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:

ParameterTypeDescription
displayNamejava.lang.StringThe display name.
addressTypejava.lang.StringType of the address.
emailAddressjava.lang.StringThe email address.

MapiContactElectronicAddress(String emailAddress)

public MapiContactElectronicAddress(String emailAddress)

Initializes a new instance of the MapiContactElectronicAddress class.

Parameters:

ParameterTypeDescription
emailAddressjava.lang.StringThe email address.

MapiContactElectronicAddress(String faxNumber, String emailAddress)

public MapiContactElectronicAddress(String faxNumber, String emailAddress)

Initializes a new instance of the MapiContactElectronicAddress class.

Parameters:

ParameterTypeDescription
faxNumberjava.lang.StringThe fax number.
emailAddressjava.lang.StringThe email address.

equals(Object obj)

public boolean equals(Object obj)

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

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe object to compare with the current object.

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

getAddressType()

public final String getAddressType()

Gets or sets the address type of an electronic address

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDisplayName()

public final String getDisplayName()

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

Returns: java.lang.String

getEmailAddress()

public final String getEmailAddress()

Gets or sets the e-mail address of the contact

Returns: 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

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

hashCode()

public int hashCode()

Returns: int

isEmpty()

public final boolean isEmpty()

Shows if MapiContactElectronicAddress is empty

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAddressType(String value)

public final void setAddressType(String value)

Gets or sets the address type of an electronic address

Parameters:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valuejava.lang.String

setEmailAddress(String value)

public final void setEmailAddress(String value)

Gets or sets the e-mail address of the contact

Parameters:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valuejava.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.

to_MapiContactElectronicAddress(String emailAddress)

public static MapiContactElectronicAddress to_MapiContactElectronicAddress(String emailAddress)

Performs an implicit conversion from String to MapiContactElectronicAddress.

Parameters:

ParameterTypeDescription
emailAddressjava.lang.StringThe email address.

Returns: MapiContactElectronicAddress - The result of the conversion.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int