public class AssociatedPersonsList extends Object implements com.aspose.ms.System.Collections.Generic.IGenericList<AssociatedPerson>
List of associated persons for a contact
Constructor and Description |
---|
AssociatedPersonsList() |
Modifier and Type | Method and Description |
---|---|
void |
add(AssociatedPerson value)
Adds an item to the list.
|
void |
addItem(AssociatedPerson value) |
void |
clear()
Removes all items from the list.
|
boolean |
contains(AssociatedPerson value)
Determines whether the list contains a specific value.
|
boolean |
containsItem(AssociatedPerson value) |
void |
copyTo(AssociatedPerson[] array,
int index)
Copies the elements to an array, starting at a particular array index.
|
void |
copyToTArray(AssociatedPerson[] array,
int index) |
AssociatedPerson |
get_Item(int index)
Gets or sets the element at the specified index.
|
String |
getAssistant()
Default assistant
|
String |
getBrother()
Brother
|
String |
getChild()
Child
|
String |
getDomesticPartner()
Default domestic partner
|
String |
getFather()
Father
|
String |
getFriend()
Default friend
|
String |
getManager()
Default manager
|
String |
getMother()
Mother
|
String |
getParent()
Parent
|
String |
getPartner()
Default partner
|
String |
getReferredBy()
Default referred by
|
String |
getRelative()
Relative
|
String |
getSister()
Sister
|
String |
getSpouse()
Spouse
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the
ICollection . |
int |
indexOf(AssociatedPerson value)
Determines the index of a specific item in the list.
|
int |
indexOfItem(AssociatedPerson value) |
void |
insert(int index,
AssociatedPerson value)
Inserts an item to the list at the specified index.
|
void |
insertItem(int index,
AssociatedPerson value) |
boolean |
isReadOnly()
Gets a value indicating whether the list is read-only.
|
boolean |
isSynchronized()
Gets a value indicating whether access to the
ICollection is synchronized (thread safe). |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<AssociatedPerson> |
iterator()
Returns an enumerator that iterates through a collection.
|
boolean |
remove(AssociatedPerson value)
Removes the first occurrence of a specific object from the list.
|
void |
removeAt(int index)
Removes the list item at the specified index.
|
boolean |
removeItem(AssociatedPerson value) |
void |
set_Item(int index,
AssociatedPerson value)
Gets or sets the element at the specified index.
|
void |
setAssistant(String value)
Default assistant
|
void |
setBrother(String value)
Brother
|
void |
setChild(String value)
Child
|
void |
setDomesticPartner(String value)
Default domestic partner
|
void |
setFather(String value)
Father
|
void |
setFriend(String value)
Default friend
|
void |
setManager(String value)
Default manager
|
void |
setMother(String value)
Mother
|
void |
setParent(String value)
Parent
|
void |
setPartner(String value)
Default partner
|
void |
setReferredBy(String value)
Default referred by
|
void |
setRelative(String value)
Relative
|
void |
setSister(String value)
Sister
|
void |
setSpouse(String value)
Spouse
|
int |
size()
Gets the number of elements contained in the
ICollection . |
public final String getSpouse()
Spouse
public final void setSpouse(String value)
Spouse
public final String getChild()
Child
public final void setChild(String value)
Child
public final String getMother()
Mother
public final void setMother(String value)
Mother
public final String getFather()
Father
public final void setFather(String value)
Father
public final String getParent()
Parent
public final void setParent(String value)
Parent
public final String getBrother()
Brother
public final void setBrother(String value)
Brother
public final String getSister()
Sister
public final void setSister(String value)
Sister
public final String getFriend()
Default friend
public final void setFriend(String value)
Default friend
public final String getRelative()
Relative
public final void setRelative(String value)
Relative
public final String getManager()
Default manager
public final void setManager(String value)
Default manager
public final String getAssistant()
Default assistant
public final void setAssistant(String value)
Default assistant
public final String getReferredBy()
Default referred by
public final void setReferredBy(String value)
Default referred by
public final String getPartner()
Default partner
public final void setPartner(String value)
Default partner
public final String getDomesticPartner()
Default domestic partner
public final void setDomesticPartner(String value)
Default domestic partner
public final void add(AssociatedPerson value)
Adds an item to the list.
value
- The Object
to add to the list.public final void insert(int index, AssociatedPerson value)
Inserts an item to the list at the specified index.
index
- The zero-based index at which value
should be inserted.value
- The Object
to insert into the list.public final AssociatedPerson get_Item(int index)
Gets or sets the element at the specified index.
get_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericList<AssociatedPerson>
index
- The zero-based index of the element to get or set.public final void set_Item(int index, AssociatedPerson value)
Gets or sets the element at the specified index.
set_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericList<AssociatedPerson>
index
- The zero-based index of the element to get or set.value
- The element at the specified index.public final boolean contains(AssociatedPerson value)
Determines whether the list contains a specific value.
value
- The object to locate in the list.public final void clear()
Removes all items from the list.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<AssociatedPerson>
public final int indexOf(AssociatedPerson value)
Determines the index of a specific item in the list.
value
- The Object
to locate in the list.value
if found in the list; otherwise, -1.public final boolean remove(AssociatedPerson value)
Removes the first occurrence of a specific object from the list.
value
- The Object
to remove from the list.public final void removeAt(int index)
Removes the list item at the specified index.
removeAt
in interface com.aspose.ms.System.Collections.Generic.IGenericList<AssociatedPerson>
index
- The zero-based index of the item to remove.public final boolean isReadOnly()
Gets a value indicating whether the list is read-only.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<AssociatedPerson>
public final void copyTo(AssociatedPerson[] array, int index)
Copies the elements to an array, starting at a particular array index.
array
- The one-dimensional array that is the destination of the elements copied from collections.
The array must have zero-based indexing.index
- The zero-based index in array at which copying begins.public final int size()
Gets the number of elements contained in the ICollection
.
size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<AssociatedPerson>
ICollection
.public final Object getSyncRoot()
Gets an object that can be used to synchronize access to the ICollection
.
ICollection
.public final boolean isSynchronized()
Gets a value indicating whether access to the ICollection
is synchronized (thread safe).
ICollection
is synchronized (thread safe); otherwise, false.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<AssociatedPerson> iterator()
Returns an enumerator that iterates through a collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<AssociatedPerson>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<AssociatedPerson>
iterator
in interface Iterable<AssociatedPerson>
IEnumerator
object that can be used to iterate through the collection.public void addItem(AssociatedPerson value)
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<AssociatedPerson>
public boolean removeItem(AssociatedPerson value)
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<AssociatedPerson>
public void insertItem(int index, AssociatedPerson value)
insertItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<AssociatedPerson>
public int indexOfItem(AssociatedPerson value)
indexOfItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<AssociatedPerson>
public boolean containsItem(AssociatedPerson value)
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<AssociatedPerson>
public void copyToTArray(AssociatedPerson[] array, int index)
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<AssociatedPerson>