
**Inheritance:**
java.lang.Object

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

Represents category for a phone number
## Constructors

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

| Field | Description |
| --- | --- |
| [ASSISTANT_VALUE](#ASSISTANT-VALUE) | String value for 'Assistant' category |
| [CALLBACK_VALUE](#CALLBACK-VALUE) | String value for 'Callback' category |
| [CAR_VALUE](#CAR-VALUE) | String value for 'Car' category |
| [COMPANY_VALUE](#COMPANY-VALUE) | String value for 'Company' category |
| [CUSTOM_VALUE](#CUSTOM-VALUE) | String value for 'Custom' category |
| [FAX_VALUE](#FAX-VALUE) | String value for 'Fax' category |
| [HOME_FAX_VALUE](#HOME-FAX-VALUE) | String value for 'Fax' category |
| [HOME_VALUE](#HOME-VALUE) | String value for 'Home' category |
| [ISDN_VALUE](#ISDN-VALUE) | String value for 'Isdn' category |
| [MOBILE_VALUE](#MOBILE-VALUE) | String value for 'Mobile' category |
| [OFFICE_VALUE](#OFFICE-VALUE) | String value for 'Office' category |
| [PAGER_VALUE](#PAGER-VALUE) | String value for 'Pager' category |
| [PRIMARY_VALUE](#PRIMARY-VALUE) | String value for 'Primary' category |
| [RADIO_VALUE](#RADIO-VALUE) | String value for 'Radio' category |
| [TELEX_VALUE](#TELEX-VALUE) | String value for 'Telex' category |
| [TTY_TDD_VALUE](#TTY-TDD-VALUE) | String value for 'TtyTdd' category |
| [WORK_FAX_VALUE](#WORK-FAX-VALUE) | String value for 'Fax' category |
| [WORK_VALUE](#WORK-VALUE) | String value for 'Work' category |
## Methods

| Method | Description |
| --- | --- |
| [equals(PhoneNumberCategory other)](#equals-com.aspose.email.PhoneNumberCategory-) | 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. |
| [getAssistant()](#getAssistant--) | Assistant phone number |
| [getCallback()](#getCallback--) | Callback phone number |
| [getCar()](#getCar--) | Car phone number |
| [getClass()](#getClass--) |  |
| [getCompany()](#getCompany--) | Company phone number |
| [getCustom()](#getCustom--) | Custom phone category |
| [getDescription()](#getDescription--) | Gets description for the 'Custom' category of a phone number |
| [getFax()](#getFax--) | Fax number |
| [getHome()](#getHome--) | Home phone number |
| [getHomeFax()](#getHomeFax--) | Home fax number |
| [getIsdn()](#getIsdn--) | Isdn phone number |
| [getMobile()](#getMobile--) | Mobile phone number |
| [getOffice()](#getOffice--) | Office phone number |
| [getPager()](#getPager--) | Pager number |
| [getPrimary()](#getPrimary--) | Primary phone number |
| [getRadio()](#getRadio--) | Radio phone number |
| [getTelex()](#getTelex--) | Telex |
| [getTtyTdd()](#getTtyTdd--) | Tty/Tdd |
| [getValue()](#getValue--) | Gets category of a phone number |
| [getWork()](#getWork--) | Work phone number |
| [getWorkFax()](#getWorkFax--) | Work fax number |
| [hashCode()](#hashCode--) | GetHashCode returns a hash function for this object. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [op_Equality(PhoneNumberCategory a, PhoneNumberCategory b)](#op-Equality-com.aspose.email.PhoneNumberCategory-com.aspose.email.PhoneNumberCategory-) | Determines whether the specified objects are equal. |
| [op_Inequality(PhoneNumberCategory a, PhoneNumberCategory b)](#op-Inequality-com.aspose.email.PhoneNumberCategory-com.aspose.email.PhoneNumberCategory-) | 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-) |  |
### PhoneNumberCategory(String description) {#PhoneNumberCategory-java.lang.String-}
```
public PhoneNumberCategory(String description)
```


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

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| description | java.lang.String | Description for the 'Custom' category of a phone number |

### ASSISTANT_VALUE {#ASSISTANT-VALUE}
```
public static final String ASSISTANT_VALUE
```


String value for 'Assistant' category

### CALLBACK_VALUE {#CALLBACK-VALUE}
```
public static final String CALLBACK_VALUE
```


String value for 'Callback' category

### CAR_VALUE {#CAR-VALUE}
```
public static final String CAR_VALUE
```


String value for 'Car' category

### COMPANY_VALUE {#COMPANY-VALUE}
```
public static final String COMPANY_VALUE
```


String value for 'Company' category

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


String value for 'Custom' category

### FAX_VALUE {#FAX-VALUE}
```
public static final String FAX_VALUE
```


String value for 'Fax' category

### HOME_FAX_VALUE {#HOME-FAX-VALUE}
```
public static final String HOME_FAX_VALUE
```


String value for 'Fax' category

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


String value for 'Home' category

### ISDN_VALUE {#ISDN-VALUE}
```
public static final String ISDN_VALUE
```


String value for 'Isdn' category

### MOBILE_VALUE {#MOBILE-VALUE}
```
public static final String MOBILE_VALUE
```


String value for 'Mobile' category

### OFFICE_VALUE {#OFFICE-VALUE}
```
public static final String OFFICE_VALUE
```


String value for 'Office' category

### PAGER_VALUE {#PAGER-VALUE}
```
public static final String PAGER_VALUE
```


String value for 'Pager' category

### PRIMARY_VALUE {#PRIMARY-VALUE}
```
public static final String PRIMARY_VALUE
```


String value for 'Primary' category

### RADIO_VALUE {#RADIO-VALUE}
```
public static final String RADIO_VALUE
```


String value for 'Radio' category

### TELEX_VALUE {#TELEX-VALUE}
```
public static final String TELEX_VALUE
```


String value for 'Telex' category

### TTY_TDD_VALUE {#TTY-TDD-VALUE}
```
public static final String TTY_TDD_VALUE
```


String value for 'TtyTdd' category

### WORK_FAX_VALUE {#WORK-FAX-VALUE}
```
public static final String WORK_FAX_VALUE
```


String value for 'Fax' category

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


String value for 'Work' category

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


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

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

**Returns:**
boolean - true if the specified object is equal to the current object; otherwise, false.
### 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.
### getAssistant() {#getAssistant--}
```
public static PhoneNumberCategory getAssistant()
```


Assistant phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getCallback() {#getCallback--}
```
public static PhoneNumberCategory getCallback()
```


Callback phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getCar() {#getCar--}
```
public static PhoneNumberCategory getCar()
```


Car phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




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


Company phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getCustom() {#getCustom--}
```
public static PhoneNumberCategory getCustom()
```


Custom phone category

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


Gets description for the 'Custom' category of a phone number

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


Fax number

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


Home phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getHomeFax() {#getHomeFax--}
```
public static PhoneNumberCategory getHomeFax()
```


Home fax number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getIsdn() {#getIsdn--}
```
public static PhoneNumberCategory getIsdn()
```


Isdn phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getMobile() {#getMobile--}
```
public static PhoneNumberCategory getMobile()
```


Mobile phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getOffice() {#getOffice--}
```
public static PhoneNumberCategory getOffice()
```


Office phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getPager() {#getPager--}
```
public static PhoneNumberCategory getPager()
```


Pager number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getPrimary() {#getPrimary--}
```
public static PhoneNumberCategory getPrimary()
```


Primary phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getRadio() {#getRadio--}
```
public static PhoneNumberCategory getRadio()
```


Radio phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getTelex() {#getTelex--}
```
public static PhoneNumberCategory getTelex()
```


Telex

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getTtyTdd() {#getTtyTdd--}
```
public static PhoneNumberCategory getTtyTdd()
```


Tty/Tdd

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


Gets category of a phone number

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


Work phone number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### getWorkFax() {#getWorkFax--}
```
public static PhoneNumberCategory getWorkFax()
```


Work fax number

**Returns:**
[PhoneNumberCategory](../../com.aspose.email/phonenumbercategory)
### 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(PhoneNumberCategory a, PhoneNumberCategory b) {#op-Equality-com.aspose.email.PhoneNumberCategory-com.aspose.email.PhoneNumberCategory-}
```
public static boolean op_Equality(PhoneNumberCategory a, PhoneNumberCategory b)
```


Determines whether the specified objects are equal.

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

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


Determines whether the specified objects are not equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | [PhoneNumberCategory](../../com.aspose.email/phonenumbercategory) | First object to compare |
| b | [PhoneNumberCategory](../../com.aspose.email/phonenumbercategory) | 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 |  |

