
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
com.aspose.ms.System.IEquatable
```
public class EmailAddressCategory implements System.IEquatable<EmailAddressCategory>
```

Represents category for an email address
## Constructors

| Constructor | Description |
| --- | --- |
| [EmailAddressCategory(String description)](#EmailAddressCategory-java.lang.String-) | Initializes a new instance of the [EmailAddressCategory](../../com.aspose.email/emailaddresscategory) class with 'Custom' category. |
## Fields

| Field | Description |
| --- | --- |
| [CUSTOM_VALUE](#CUSTOM-VALUE) | String value for 'Custom' category |
| [EMAIL_1_VALUE](#EMAIL-1-VALUE) | String value for 'Email1' category |
| [EMAIL_2_VALUE](#EMAIL-2-VALUE) | String value for 'Email2' category |
| [EMAIL_3_VALUE](#EMAIL-3-VALUE) | String value for 'Email3' category |
| [EmailValue](#EmailValue) | String value for 'Email' category |
| [HOME_VALUE](#HOME-VALUE) | String value for 'Home' category |
| [WORK_VALUE](#WORK-VALUE) | String value for 'Work' category |
## Methods

| Method | Description |
| --- | --- |
| [equals(EmailAddressCategory other)](#equals-com.aspose.email.EmailAddressCategory-) | Determines whether the specified Object is equal to the current Object. |
| [equals(Object obj)](#equals-java.lang.Object-) | Determines whether the specified Object is equal to the current Object. |
| [getClass()](#getClass--) |  |
| [getCustom()](#getCustom--) | Custom category |
| [getDescription()](#getDescription--) | Gets description for the 'Custom' category of a email address |
| [getEmail()](#getEmail--) | Email category. |
| [getEmail1()](#getEmail1--) | Email1 category. |
| [getEmail2()](#getEmail2--) | Email2 category. |
| [getEmail3()](#getEmail3--) | Email3 category. |
| [getHome()](#getHome--) | Home category |
| [getValue()](#getValue--) | Gets category of a email address |
| [getWork()](#getWork--) | Work category |
| [hashCode()](#hashCode--) | GetHashCode returns a hash function for this object. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [op_Equality(EmailAddressCategory a, EmailAddressCategory b)](#op-Equality-com.aspose.email.EmailAddressCategory-com.aspose.email.EmailAddressCategory-) | Determines whether the specified objects are equal. |
| [op_Inequality(EmailAddressCategory a, EmailAddressCategory b)](#op-Inequality-com.aspose.email.EmailAddressCategory-com.aspose.email.EmailAddressCategory-) | Determines whether the specified objects are not equal. |
| [toString()](#toString--) | Returns a string that represents the current object. |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### EmailAddressCategory(String description) {#EmailAddressCategory-java.lang.String-}
```
public EmailAddressCategory(String description)
```


Initializes a new instance of the [EmailAddressCategory](../../com.aspose.email/emailaddresscategory) class with 'Custom' category.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| description | java.lang.String | Description for email address category |

### CUSTOM_VALUE {#CUSTOM-VALUE}
```
public static final String CUSTOM_VALUE
```


String value for 'Custom' category

### EMAIL_1_VALUE {#EMAIL-1-VALUE}
```
public static final String EMAIL_1_VALUE
```


String value for 'Email1' category

### EMAIL_2_VALUE {#EMAIL-2-VALUE}
```
public static final String EMAIL_2_VALUE
```


String value for 'Email2' category

### EMAIL_3_VALUE {#EMAIL-3-VALUE}
```
public static final String EMAIL_3_VALUE
```


String value for 'Email3' category

### EmailValue {#EmailValue}
```
public static final String EmailValue
```


String value for 'Email' category

### HOME_VALUE {#HOME-VALUE}
```
public static final String HOME_VALUE
```


String value for 'Home' category

### WORK_VALUE {#WORK-VALUE}
```
public static final String WORK_VALUE
```


String value for 'Work' category

### equals(EmailAddressCategory other) {#equals-com.aspose.email.EmailAddressCategory-}
```
public boolean equals(EmailAddressCategory other)
```


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

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | [EmailAddressCategory](../../com.aspose.email/emailaddresscategory) | The Object to compare with the current Object. |

**Returns:**
boolean - Returns a boolean indicating if the passed in object obj is Equal to this.
### 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 - Returns a boolean indicating if the passed in object obj is Equal to this.
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCustom() {#getCustom--}
```
public static EmailAddressCategory getCustom()
```


Custom category

**Returns:**
[EmailAddressCategory](../../com.aspose.email/emailaddresscategory)
### getDescription() {#getDescription--}
```
public final String getDescription()
```


Gets description for the 'Custom' category of a email address

**Returns:**
java.lang.String
### getEmail() {#getEmail--}
```
public static EmailAddressCategory getEmail()
```


Email category. Used by MS Exchange server.

**Returns:**
[EmailAddressCategory](../../com.aspose.email/emailaddresscategory)
### getEmail1() {#getEmail1--}
```
public static EmailAddressCategory getEmail1()
```


Email1 category. Used by MS Exchange server.

**Returns:**
[EmailAddressCategory](../../com.aspose.email/emailaddresscategory)
### getEmail2() {#getEmail2--}
```
public static EmailAddressCategory getEmail2()
```


Email2 category. Used by MS Exchange server.

**Returns:**
[EmailAddressCategory](../../com.aspose.email/emailaddresscategory)
### getEmail3() {#getEmail3--}
```
public static EmailAddressCategory getEmail3()
```


Email3 category. Used by MS Exchange server.

**Returns:**
[EmailAddressCategory](../../com.aspose.email/emailaddresscategory)
### getHome() {#getHome--}
```
public static EmailAddressCategory getHome()
```


Home category

**Returns:**
[EmailAddressCategory](../../com.aspose.email/emailaddresscategory)
### getValue() {#getValue--}
```
public final String getValue()
```


Gets category of a email address

**Returns:**
java.lang.String
### getWork() {#getWork--}
```
public static EmailAddressCategory getWork()
```


Work category

**Returns:**
[EmailAddressCategory](../../com.aspose.email/emailaddresscategory)
### hashCode() {#hashCode--}
```
public int hashCode()
```


GetHashCode returns a hash function for this object.

**Returns:**
int - Returns a hash function for this object.
### notify() {#notify--}
```
public final native void notify()
```




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




### op_Equality(EmailAddressCategory a, EmailAddressCategory b) {#op-Equality-com.aspose.email.EmailAddressCategory-com.aspose.email.EmailAddressCategory-}
```
public static boolean op_Equality(EmailAddressCategory a, EmailAddressCategory b)
```


Determines whether the specified objects are equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | [EmailAddressCategory](../../com.aspose.email/emailaddresscategory) | First object to compare |
| b | [EmailAddressCategory](../../com.aspose.email/emailaddresscategory) | Second object to compare |

**Returns:**
boolean - Returns true if objects are equal, otherwise false.
### op_Inequality(EmailAddressCategory a, EmailAddressCategory b) {#op-Inequality-com.aspose.email.EmailAddressCategory-com.aspose.email.EmailAddressCategory-}
```
public static boolean op_Inequality(EmailAddressCategory a, EmailAddressCategory b)
```


Determines whether the specified objects are not equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | [EmailAddressCategory](../../com.aspose.email/emailaddresscategory) | First object to compare |
| b | [EmailAddressCategory](../../com.aspose.email/emailaddresscategory) | Second object to compare |

**Returns:**
boolean - Returns true if objects are not equal, otherwise false.
### toString() {#toString--}
```
public String toString()
```


Returns a string that represents the current object.

**Returns:**
java.lang.String - Returns a string that represents the current object.
### 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 |  |

