com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class MapiContactElectronicAddress



  • public final class MapiContactElectronicAddress
    extends Object

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

    • Constructor Detail

      • MapiContactElectronicAddress

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

        Initializes a new instance of the MapiContactElectronicAddress class.

        Parameters:
        displayName - The display name.
        addressType - Type of the address.
        emailAddress - The email address.
      • MapiContactElectronicAddress

        public MapiContactElectronicAddress(String emailAddress)

        Initializes a new instance of the MapiContactElectronicAddress class.

        Parameters:
        emailAddress - The email address.
      • MapiContactElectronicAddress

        public MapiContactElectronicAddress(String faxNumber,
                                    String emailAddress)

        Initializes a new instance of the MapiContactElectronicAddress class.

        Parameters:
        faxNumber - The fax number.
        emailAddress - The email address.
    • Method Detail

      • isEmpty

        public final boolean isEmpty()

        Shows if MapiContactElectronicAddress is empty

      • getDisplayName

        public final String getDisplayName()

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

      • setDisplayName

        public final void setDisplayName(String value)

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

      • 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.
      • setOriginalDisplayName

        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.
      • getAddressType

        public final String getAddressType()

        Gets or sets the address type of an electronic address

      • setAddressType

        public final void setAddressType(String value)

        Gets or sets the address type of an electronic address

      • getEmailAddress

        public final String getEmailAddress()

        Gets or sets the e-mail address of the contact

      • setEmailAddress

        public final void setEmailAddress(String value)

        Gets or sets the e-mail address of the contact

      • getFaxNumber

        public final String getFaxNumber()

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

      • setFaxNumber

        public final void setFaxNumber(String value)

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

      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        A string that represents the current object.
      • equals

        public boolean equals(Object obj)

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

        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare with the current object.
        Returns:
        true if the specified object is equal to the current object; otherwise, false.
      • hashCode

        public int hashCode()

        Serves as the default hash function.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for the current object.