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
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 |
---|---|
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:
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. |
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.
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:
Parameter | Type | Description |
---|---|---|
value | 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 |
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 |
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 |
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 |
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:
Parameter | Type | Description |
---|---|---|
emailAddress | java.lang.String | The 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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |