
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
com.aspose.ms.System.Collections.Generic.IGenericList
```
public class AssociatedPersonsList implements System.Collections.Generic.IGenericList<AssociatedPerson>
```

List of associated persons for a contact
## Constructors

| Constructor | Description |
| --- | --- |
| [AssociatedPersonsList()](#AssociatedPersonsList--) |  |
## Methods

| Method | Description |
| --- | --- |
| [add(AssociatedPerson value)](#add-com.aspose.email.AssociatedPerson-) | Adds an item to the list. |
| [addItem(AssociatedPerson value)](#addItem-com.aspose.email.AssociatedPerson-) |  |
| [clear()](#clear--) | Removes all items from the list. |
| [contains(AssociatedPerson value)](#contains-com.aspose.email.AssociatedPerson-) | Determines whether the list contains a specific value. |
| [containsItem(AssociatedPerson value)](#containsItem-com.aspose.email.AssociatedPerson-) |  |
| [copyTo(AssociatedPerson[] array, int index)](#copyTo-com.aspose.email.AssociatedPerson---int-) | Copies the elements to an array, starting at a particular array index. |
| [copyToTArray(AssociatedPerson[] array, int index)](#copyToTArray-com.aspose.email.AssociatedPerson---int-) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAssistant()](#getAssistant--) | Default assistant |
| [getBrother()](#getBrother--) | Brother |
| [getChild()](#getChild--) | Child |
| [getClass()](#getClass--) |  |
| [getDomesticPartner()](#getDomesticPartner--) | Default domestic partner |
| [getFather()](#getFather--) | Father |
| [getFriend()](#getFriend--) | Default friend |
| [getManager()](#getManager--) | Default manager |
| [getMother()](#getMother--) | Mother |
| [getParent()](#getParent--) | Parent |
| [getPartner()](#getPartner--) | Default partner |
| [getReferredBy()](#getReferredBy--) | Default referred by |
| [getRelative()](#getRelative--) | Relative |
| [getSister()](#getSister--) | Sister |
| [getSpouse()](#getSpouse--) | Spouse |
| [getSyncRoot()](#getSyncRoot--) | Gets an object that can be used to synchronize access to the ICollection. |
| [get_Item(int index)](#get-Item-int-) | Gets or sets the element at the specified index. |
| [hashCode()](#hashCode--) |  |
| [indexOf(AssociatedPerson value)](#indexOf-com.aspose.email.AssociatedPerson-) | Determines the index of a specific item in the list. |
| [indexOfItem(AssociatedPerson value)](#indexOfItem-com.aspose.email.AssociatedPerson-) |  |
| [insert(int index, AssociatedPerson value)](#insert-int-com.aspose.email.AssociatedPerson-) | Inserts an item to the list at the specified index. |
| [insertItem(int index, AssociatedPerson value)](#insertItem-int-com.aspose.email.AssociatedPerson-) |  |
| [isReadOnly()](#isReadOnly--) | Gets a value indicating whether the list is read-only. |
| [isSynchronized()](#isSynchronized--) | Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
| [iterator()](#iterator--) | Returns an enumerator that iterates through a collection. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(AssociatedPerson value)](#remove-com.aspose.email.AssociatedPerson-) | Removes the first occurrence of a specific object from the list. |
| [removeAt(int index)](#removeAt-int-) | Removes the list item at the specified index. |
| [removeItem(AssociatedPerson value)](#removeItem-com.aspose.email.AssociatedPerson-) |  |
| [setAssistant(String value)](#setAssistant-java.lang.String-) | Default assistant |
| [setBrother(String value)](#setBrother-java.lang.String-) | Brother |
| [setChild(String value)](#setChild-java.lang.String-) | Child |
| [setDomesticPartner(String value)](#setDomesticPartner-java.lang.String-) | Default domestic partner |
| [setFather(String value)](#setFather-java.lang.String-) | Father |
| [setFriend(String value)](#setFriend-java.lang.String-) | Default friend |
| [setManager(String value)](#setManager-java.lang.String-) | Default manager |
| [setMother(String value)](#setMother-java.lang.String-) | Mother |
| [setParent(String value)](#setParent-java.lang.String-) | Parent |
| [setPartner(String value)](#setPartner-java.lang.String-) | Default partner |
| [setReferredBy(String value)](#setReferredBy-java.lang.String-) | Default referred by |
| [setRelative(String value)](#setRelative-java.lang.String-) | Relative |
| [setSister(String value)](#setSister-java.lang.String-) | Sister |
| [setSpouse(String value)](#setSpouse-java.lang.String-) | Spouse |
| [set_Item(int index, AssociatedPerson value)](#set-Item-int-com.aspose.email.AssociatedPerson-) | Gets or sets the element at the specified index. |
| [size()](#size--) | Gets the number of elements contained in the ICollection. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### AssociatedPersonsList() {#AssociatedPersonsList--}
```
public AssociatedPersonsList()
```


### add(AssociatedPerson value) {#add-com.aspose.email.AssociatedPerson-}
```
public final void add(AssociatedPerson value)
```


Adds an item to the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) | The Object to add to the list. |

### addItem(AssociatedPerson value) {#addItem-com.aspose.email.AssociatedPerson-}
```
public void addItem(AssociatedPerson value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) |  |

### clear() {#clear--}
```
public final void clear()
```


Removes all items from the list.

### contains(AssociatedPerson value) {#contains-com.aspose.email.AssociatedPerson-}
```
public final boolean contains(AssociatedPerson value)
```


Determines whether the list contains a specific value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) | The object to locate in the list. |

**Returns:**
boolean - true if the object is found in the list; otherwise, false.
### containsItem(AssociatedPerson value) {#containsItem-com.aspose.email.AssociatedPerson-}
```
public boolean containsItem(AssociatedPerson value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) |  |

**Returns:**
boolean
### copyTo(AssociatedPerson[] array, int index) {#copyTo-com.aspose.email.AssociatedPerson---int-}
```
public final void copyTo(AssociatedPerson[] array, int index)
```


Copies the elements to an array, starting at a particular array index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| array | [AssociatedPerson\[\]](../../com.aspose.email/associatedperson) | The one-dimensional array that is the destination of the elements copied from collections. The array must have zero-based indexing. |
| index | int | The zero-based index in array at which copying begins. |

### copyToTArray(AssociatedPerson[] array, int index) {#copyToTArray-com.aspose.email.AssociatedPerson---int-}
```
public void copyToTArray(AssociatedPerson[] array, int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| array | [AssociatedPerson\[\]](../../com.aspose.email/associatedperson) |  |
| index | int |  |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getAssistant() {#getAssistant--}
```
public final String getAssistant()
```


Default assistant

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


Brother

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


Child

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




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


Default domestic partner

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


Father

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


Default friend

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


Default manager

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


Mother

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


Parent

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


Default partner

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


Default referred by

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


Relative

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


Sister

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


Spouse

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


Gets an object that can be used to synchronize access to the ICollection.

**Returns:**
java.lang.Object - An object that can be used to synchronize access to the ICollection.
### get_Item(int index) {#get-Item-int-}
```
public final AssociatedPerson get_Item(int index)
```


Gets or sets the element at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index of the element to get or set. |

**Returns:**
[AssociatedPerson](../../com.aspose.email/associatedperson) - The element at the specified index.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### indexOf(AssociatedPerson value) {#indexOf-com.aspose.email.AssociatedPerson-}
```
public final int indexOf(AssociatedPerson value)
```


Determines the index of a specific item in the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) | The Object to locate in the list. |

**Returns:**
int - The index of  value  if found in the list; otherwise, -1.
### indexOfItem(AssociatedPerson value) {#indexOfItem-com.aspose.email.AssociatedPerson-}
```
public int indexOfItem(AssociatedPerson value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) |  |

**Returns:**
int
### insert(int index, AssociatedPerson value) {#insert-int-com.aspose.email.AssociatedPerson-}
```
public final void insert(int index, AssociatedPerson value)
```


Inserts an item to the list at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index at which  value  should be inserted. |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) | The Object to insert into the list. |

### insertItem(int index, AssociatedPerson value) {#insertItem-int-com.aspose.email.AssociatedPerson-}
```
public void insertItem(int index, AssociatedPerson value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) |  |

### isReadOnly() {#isReadOnly--}
```
public final boolean isReadOnly()
```


Gets a value indicating whether the list is read-only.

**Returns:**
boolean - true if the list is read-only; otherwise, false.
### isSynchronized() {#isSynchronized--}
```
public final boolean isSynchronized()
```


Gets a value indicating whether access to the ICollection is synchronized (thread safe).

**Returns:**
boolean - true if access to the ICollection is synchronized (thread safe); otherwise, false.
### iterator() {#iterator--}
```
public final System.Collections.Generic.IGenericEnumerator<AssociatedPerson> iterator()
```


Returns an enumerator that iterates through a collection.

**Returns:**
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.email.AssociatedPerson> - An IEnumerator object that can be used to iterate through the collection.
### notify() {#notify--}
```
public final native void notify()
```




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




### remove(AssociatedPerson value) {#remove-com.aspose.email.AssociatedPerson-}
```
public final boolean remove(AssociatedPerson value)
```


Removes the first occurrence of a specific object from the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) | The Object to remove from the list. |

**Returns:**
boolean
### removeAt(int index) {#removeAt-int-}
```
public final void removeAt(int index)
```


Removes the list item at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index of the item to remove. |

### removeItem(AssociatedPerson value) {#removeItem-com.aspose.email.AssociatedPerson-}
```
public boolean removeItem(AssociatedPerson value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) |  |

**Returns:**
boolean
### setAssistant(String value) {#setAssistant-java.lang.String-}
```
public final void setAssistant(String value)
```


Default assistant

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setBrother(String value) {#setBrother-java.lang.String-}
```
public final void setBrother(String value)
```


Brother

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setChild(String value) {#setChild-java.lang.String-}
```
public final void setChild(String value)
```


Child

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setDomesticPartner(String value) {#setDomesticPartner-java.lang.String-}
```
public final void setDomesticPartner(String value)
```


Default domestic partner

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setFather(String value) {#setFather-java.lang.String-}
```
public final void setFather(String value)
```


Father

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setFriend(String value) {#setFriend-java.lang.String-}
```
public final void setFriend(String value)
```


Default friend

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setManager(String value) {#setManager-java.lang.String-}
```
public final void setManager(String value)
```


Default manager

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setMother(String value) {#setMother-java.lang.String-}
```
public final void setMother(String value)
```


Mother

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setParent(String value) {#setParent-java.lang.String-}
```
public final void setParent(String value)
```


Parent

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setPartner(String value) {#setPartner-java.lang.String-}
```
public final void setPartner(String value)
```


Default partner

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setReferredBy(String value) {#setReferredBy-java.lang.String-}
```
public final void setReferredBy(String value)
```


Default referred by

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setRelative(String value) {#setRelative-java.lang.String-}
```
public final void setRelative(String value)
```


Relative

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setSister(String value) {#setSister-java.lang.String-}
```
public final void setSister(String value)
```


Sister

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setSpouse(String value) {#setSpouse-java.lang.String-}
```
public final void setSpouse(String value)
```


Spouse

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### set_Item(int index, AssociatedPerson value) {#set-Item-int-com.aspose.email.AssociatedPerson-}
```
public final void set_Item(int index, AssociatedPerson value)
```


Gets or sets the element at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index of the element to get or set. |
| value | [AssociatedPerson](../../com.aspose.email/associatedperson) | The element at the specified index. |

### size() {#size--}
```
public final int size()
```


Gets the number of elements contained in the ICollection.

**Returns:**
int - The number of elements contained in the ICollection.
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### 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 |  |

