
**Inheritance:**
java.lang.Object, [com.aspose.email.MapiContactAddress](../../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()](#MapiContactElectronicAddress--) | Initializes a new instance of the [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress) class. |
| [MapiContactElectronicAddress(String displayName, String addressType, String emailAddress)](#MapiContactElectronicAddress-java.lang.String-java.lang.String-java.lang.String-) | Initializes a new instance of the [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress) class. |
| [MapiContactElectronicAddress(String emailAddress)](#MapiContactElectronicAddress-java.lang.String-) | Initializes a new instance of the [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress) class. |
| [MapiContactElectronicAddress(String faxNumber, String emailAddress)](#MapiContactElectronicAddress-java.lang.String-java.lang.String-) | Initializes a new instance of the [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress) class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object obj)](#equals-java.lang.Object-) | Determines whether the specified object is equal to the current object. |
| [getAddressType()](#getAddressType--) | Gets or sets the address type of an electronic address |
| [getClass()](#getClass--) |  |
| [getDisplayName()](#getDisplayName--) | Gets or sets the user-readable display name for the e-mail address |
| [getEmailAddress()](#getEmailAddress--) | Gets or sets the e-mail address of the contact |
| [getFaxNumber()](#getFaxNumber--) | Gets or sets the telephone number of the mail user's primary fax machine |
| [getOriginalDisplayName()](#getOriginalDisplayName--) | Gets or sets the SMTP e-mail address that corresponds to the e-mail address for the Contact object. |
| [hashCode()](#hashCode--) |  |
| [isEmpty()](#isEmpty--) | Shows if MapiContactElectronicAddress is empty |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setAddressType(String value)](#setAddressType-java.lang.String-) | Gets or sets the address type of an electronic address |
| [setDisplayName(String value)](#setDisplayName-java.lang.String-) | Gets or sets the user-readable display name for the e-mail address |
| [setEmailAddress(String value)](#setEmailAddress-java.lang.String-) | Gets or sets the e-mail address of the contact |
| [setFaxNumber(String value)](#setFaxNumber-java.lang.String-) | Gets or sets the telephone number of the mail user's primary fax machine |
| [setOriginalDisplayName(String value)](#setOriginalDisplayName-java.lang.String-) | Gets or sets the SMTP e-mail address that corresponds to the e-mail address for the Contact object. |
| [toString()](#toString--) | Returns a string that represents the current object. |
| [to_MapiContactElectronicAddress(String emailAddress)](#to-MapiContactElectronicAddress-java.lang.String-) | Performs an implicit conversion from String to [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress). |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### MapiContactElectronicAddress() {#MapiContactElectronicAddress--}
```
public MapiContactElectronicAddress()
```


Initializes a new instance of the [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress) class.

### MapiContactElectronicAddress(String displayName, String addressType, String emailAddress) {#MapiContactElectronicAddress-java.lang.String-java.lang.String-java.lang.String-}
```
public MapiContactElectronicAddress(String displayName, String addressType, String emailAddress)
```


Initializes a new instance of the [MapiContactElectronicAddress](../../com.aspose.email/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) {#MapiContactElectronicAddress-java.lang.String-}
```
public MapiContactElectronicAddress(String emailAddress)
```


Initializes a new instance of the [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| emailAddress | java.lang.String | The email address. |

### MapiContactElectronicAddress(String faxNumber, String emailAddress) {#MapiContactElectronicAddress-java.lang.String-java.lang.String-}
```
public MapiContactElectronicAddress(String faxNumber, String emailAddress)
```


Initializes a new instance of the [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| faxNumber | java.lang.String | The fax number. |
| emailAddress | java.lang.String | The email address. |

### equals(Object obj) {#equals-java.lang.Object-}
```
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() {#getAddressType--}
```
public final String getAddressType()
```


Gets or sets the address type of an electronic address

**Returns:**
java.lang.String
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getDisplayName() {#getDisplayName--}
```
public final String getDisplayName()
```


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

**Returns:**
java.lang.String
### getEmailAddress() {#getEmailAddress--}
```
public final String getEmailAddress()
```


Gets or sets the e-mail address of the contact

**Returns:**
java.lang.String
### getFaxNumber() {#getFaxNumber--}
```
public final String getFaxNumber()
```


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

**Returns:**
java.lang.String
### getOriginalDisplayName() {#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() {#hashCode--}
```
public int hashCode()
```




**Returns:**
int
### isEmpty() {#isEmpty--}
```
public final boolean isEmpty()
```


Shows if MapiContactElectronicAddress is empty

**Returns:**
boolean
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setAddressType(String value) {#setAddressType-java.lang.String-}
```
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) {#setDisplayName-java.lang.String-}
```
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) {#setEmailAddress-java.lang.String-}
```
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) {#setFaxNumber-java.lang.String-}
```
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) {#setOriginalDisplayName-java.lang.String-}
```
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() {#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) {#to-MapiContactElectronicAddress-java.lang.String-}
```
public static MapiContactElectronicAddress to_MapiContactElectronicAddress(String emailAddress)
```


Performs an implicit conversion from String to [MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| emailAddress | java.lang.String | The email address. |

**Returns:**
[MapiContactElectronicAddress](../../com.aspose.email/mapicontactelectronicaddress) - The result of the conversion.
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

