
**Inheritance:**
java.lang.Object

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

Represents category for a persons
## Constructors

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

| Field | Description |
| --- | --- |
| [ASSISTANT_VALUE](#ASSISTANT-VALUE) | String value for 'Assistant' category |
| [BROTHER_VALUE](#BROTHER-VALUE) | String value for 'Brother' category |
| [CHILD_VALUE](#CHILD-VALUE) | String value for 'Child' category |
| [CUSTOM_VALUE](#CUSTOM-VALUE) | String value for 'Custom' category |
| [DOMESTIC_PARTNER_VALUE](#DOMESTIC-PARTNER-VALUE) | String value for 'DomesticPartner' category |
| [FATHER_VALUE](#FATHER-VALUE) | String value for 'Father' category |
| [FRIEND_VALUE](#FRIEND-VALUE) | String value for 'Friend' category |
| [MANAGER_VALUE](#MANAGER-VALUE) | String value for 'Manager' category |
| [MOTHER_VALUE](#MOTHER-VALUE) | String value for 'Mother' category |
| [PARENT_VALUE](#PARENT-VALUE) | String value for 'Parent' category |
| [PARTNER_VALUE](#PARTNER-VALUE) | String value for 'Partner' category |
| [REFERRED_BY_VALUE](#REFERRED-BY-VALUE) | String value for 'ReferredBy' category |
| [RELATIVE_VALUE](#RELATIVE-VALUE) | String value for 'Relative' category |
| [SISTER_VALUE](#SISTER-VALUE) | String value for 'Sister' category |
| [SPOUSE_VALUE](#SPOUSE-VALUE) | String value for 'Spouse' category |
## Methods

| Method | Description |
| --- | --- |
| [equals(AssociatedPersonCategory other)](#equals-com.aspose.email.AssociatedPersonCategory-) | 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 |
| [getBrother()](#getBrother--) | Brother |
| [getChild()](#getChild--) | Child |
| [getClass()](#getClass--) |  |
| [getCustom()](#getCustom--) | Custom category with empty description |
| [getDescription()](#getDescription--) | Gets description for the 'Custom' category of a person |
| [getDomesticPartner()](#getDomesticPartner--) | Domestic partner |
| [getFather()](#getFather--) | Father |
| [getFriend()](#getFriend--) | Friend |
| [getManager()](#getManager--) | Manager |
| [getMother()](#getMother--) | Mother |
| [getParent()](#getParent--) | Parent |
| [getPartner()](#getPartner--) | Partner |
| [getReferredBy()](#getReferredBy--) | Referred by |
| [getRelative()](#getRelative--) | Relative |
| [getSister()](#getSister--) | Sister |
| [getSpouse()](#getSpouse--) | Spouse |
| [getValue()](#getValue--) | Gets category of a person |
| [hashCode()](#hashCode--) | GetHashCode returns a hash function for this object. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [op_Equality(AssociatedPersonCategory a, AssociatedPersonCategory b)](#op-Equality-com.aspose.email.AssociatedPersonCategory-com.aspose.email.AssociatedPersonCategory-) | Determines whether the specified objects are equal. |
| [op_Inequality(AssociatedPersonCategory a, AssociatedPersonCategory b)](#op-Inequality-com.aspose.email.AssociatedPersonCategory-com.aspose.email.AssociatedPersonCategory-) | 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-) |  |
### AssociatedPersonCategory(String description) {#AssociatedPersonCategory-java.lang.String-}
```
public AssociatedPersonCategory(String description)
```


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

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

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


String value for 'Assistant' category

### BROTHER_VALUE {#BROTHER-VALUE}
```
public static final String BROTHER_VALUE
```


String value for 'Brother' category

### CHILD_VALUE {#CHILD-VALUE}
```
public static final String CHILD_VALUE
```


String value for 'Child' category

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


String value for 'Custom' category

### DOMESTIC_PARTNER_VALUE {#DOMESTIC-PARTNER-VALUE}
```
public static final String DOMESTIC_PARTNER_VALUE
```


String value for 'DomesticPartner' category

### FATHER_VALUE {#FATHER-VALUE}
```
public static final String FATHER_VALUE
```


String value for 'Father' category

### FRIEND_VALUE {#FRIEND-VALUE}
```
public static final String FRIEND_VALUE
```


String value for 'Friend' category

### MANAGER_VALUE {#MANAGER-VALUE}
```
public static final String MANAGER_VALUE
```


String value for 'Manager' category

### MOTHER_VALUE {#MOTHER-VALUE}
```
public static final String MOTHER_VALUE
```


String value for 'Mother' category

### PARENT_VALUE {#PARENT-VALUE}
```
public static final String PARENT_VALUE
```


String value for 'Parent' category

### PARTNER_VALUE {#PARTNER-VALUE}
```
public static final String PARTNER_VALUE
```


String value for 'Partner' category

### REFERRED_BY_VALUE {#REFERRED-BY-VALUE}
```
public static final String REFERRED_BY_VALUE
```


String value for 'ReferredBy' category

### RELATIVE_VALUE {#RELATIVE-VALUE}
```
public static final String RELATIVE_VALUE
```


String value for 'Relative' category

### SISTER_VALUE {#SISTER-VALUE}
```
public static final String SISTER_VALUE
```


String value for 'Sister' category

### SPOUSE_VALUE {#SPOUSE-VALUE}
```
public static final String SPOUSE_VALUE
```


String value for 'Spouse' category

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


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

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | [AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory) | 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 AssociatedPersonCategory getAssistant()
```


Assistant

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getBrother() {#getBrother--}
```
public static AssociatedPersonCategory getBrother()
```


Brother

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getChild() {#getChild--}
```
public static AssociatedPersonCategory getChild()
```


Child

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




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


Custom category with empty description

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


Gets description for the 'Custom' category of a person

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


Domestic partner

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getFather() {#getFather--}
```
public static AssociatedPersonCategory getFather()
```


Father

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getFriend() {#getFriend--}
```
public static AssociatedPersonCategory getFriend()
```


Friend

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getManager() {#getManager--}
```
public static AssociatedPersonCategory getManager()
```


Manager

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getMother() {#getMother--}
```
public static AssociatedPersonCategory getMother()
```


Mother

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getParent() {#getParent--}
```
public static AssociatedPersonCategory getParent()
```


Parent

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getPartner() {#getPartner--}
```
public static AssociatedPersonCategory getPartner()
```


Partner

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getReferredBy() {#getReferredBy--}
```
public static AssociatedPersonCategory getReferredBy()
```


Referred by

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getRelative() {#getRelative--}
```
public static AssociatedPersonCategory getRelative()
```


Relative

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getSister() {#getSister--}
```
public static AssociatedPersonCategory getSister()
```


Sister

**Returns:**
[AssociatedPersonCategory](../../com.aspose.email/associatedpersoncategory)
### getSpouse() {#getSpouse--}
```
public static AssociatedPersonCategory getSpouse()
```


Spouse

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


Gets category of a person

**Returns:**
java.lang.String
### 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(AssociatedPersonCategory a, AssociatedPersonCategory b) {#op-Equality-com.aspose.email.AssociatedPersonCategory-com.aspose.email.AssociatedPersonCategory-}
```
public static boolean op_Equality(AssociatedPersonCategory a, AssociatedPersonCategory b)
```


Determines whether the specified objects are equal.

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

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


Determines whether the specified objects are not equal.

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

