PhoneNumberList
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericList
public class PhoneNumberList implements System.Collections.Generic.IGenericList<PhoneNumber>
List of phone numbers for a contact.
Constructors
Constructor | Description |
---|---|
PhoneNumberList() |
Methods
Method | Description |
---|---|
add(PhoneNumber value) | Adds an item to the list. |
addItem(PhoneNumber value) | |
clear() | Removes all items from the list. |
contains(PhoneNumber value) | Determines whether the list contains a specific value. |
containsItem(PhoneNumber value) | |
copyTo(PhoneNumber[] array, int index) | Copies the elements to an array, starting at a particular array index. |
copyToTArray(PhoneNumber[] array, int index) | |
equals(Object arg0) | |
getAssistant() | Default assistant phone number |
getCallback() | Default callback phone number |
getCar() | Default car phone number |
getClass() | |
getCompany() | Default company phone number |
getCustom() | Default custom phone category |
getFax() | Default fax number |
getHome() | Default home phone number |
getHomeFax() | Default home fax number |
getIsdn() | Default isdn phone number |
getMobile() | Default mobile phone number |
getPager() | Default pager number |
getPrefered() | Default primary phone number |
getRadio() | Default radio phone number |
getTelex() | Default telex |
getTtyTdd() | Default Tty/Tdd |
getWork() | Default work phone number |
getWorkFax() | Default work fax number |
get_Item(int index) | Gets or sets the element at the specified index. |
hashCode() | |
indexOf(PhoneNumber value) | Determines the index of a specific item in the list. |
indexOfItem(PhoneNumber value) | |
insert(int index, PhoneNumber value) | Inserts an item to the list at the specified index. |
insertItem(int index, PhoneNumber value) | |
isReadOnly() | Gets a value indicating whether the list is read-only. |
iterator() | Returns an enumerator that iterates through a collection. |
notify() | |
notifyAll() | |
remove(PhoneNumber value) | Removes the first occurrence of a specific object from the list. |
removeAt(int index) | Removes the list item at the specified index. |
removeItem(PhoneNumber value) | |
setAssistant(String value) | Default assistant phone number |
setCallback(String value) | Default callback phone number |
setCar(String value) | Default car phone number |
setCompany(String value) | Default company phone number |
setCustom(String value) | Default custom phone category |
setFax(String value) | Default fax number |
setHome(String value) | Default home phone number |
setHomeFax(String value) | Default home fax number |
setIsdn(String value) | Default isdn phone number |
setMobile(String value) | Default mobile phone number |
setPager(String value) | Default pager number |
setPrefered(String value) | Default primary phone number |
setRadio(String value) | Default radio phone number |
setTelex(String value) | Default telex |
setTtyTdd(String value) | Default Tty/Tdd |
setWork(String value) | Default work phone number |
setWorkFax(String value) | Default work fax number |
set_Item(int index, PhoneNumber value) | Gets or sets the element at the specified index. |
size() | Gets the number of elements contained in the ICollection. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
PhoneNumberList()
public PhoneNumberList()
add(PhoneNumber value)
public final void add(PhoneNumber value)
Adds an item to the list.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PhoneNumber | The Object to add to the list. |
addItem(PhoneNumber value)
public void addItem(PhoneNumber value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | PhoneNumber |
clear()
public final void clear()
Removes all items from the list.
contains(PhoneNumber value)
public final boolean contains(PhoneNumber value)
Determines whether the list contains a specific value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PhoneNumber | The object to locate in the list. |
Returns: boolean - true if the object is found in the list; otherwise, false.
containsItem(PhoneNumber value)
public boolean containsItem(PhoneNumber value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | PhoneNumber |
Returns: boolean
copyTo(PhoneNumber[] array, int index)
public final void copyTo(PhoneNumber[] array, int index)
Copies the elements to an array, starting at a particular array index.
Parameters:
Parameter | Type | Description |
---|---|---|
array | PhoneNumber[] | 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(PhoneNumber[] array, int index)
public void copyToTArray(PhoneNumber[] array, int index)
Parameters:
Parameter | Type | Description |
---|---|---|
array | PhoneNumber[] | |
index | int |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAssistant()
public final String getAssistant()
Default assistant phone number
Returns: java.lang.String
getCallback()
public final String getCallback()
Default callback phone number
Returns: java.lang.String
getCar()
public final String getCar()
Default car phone number
Returns: java.lang.String
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCompany()
public final String getCompany()
Default company phone number
Returns: java.lang.String
getCustom()
public final String getCustom()
Default custom phone category
Returns: java.lang.String
getFax()
public final String getFax()
Default fax number
Returns: java.lang.String
getHome()
public final String getHome()
Default home phone number
Returns: java.lang.String
getHomeFax()
public final String getHomeFax()
Default home fax number
Returns: java.lang.String
getIsdn()
public final String getIsdn()
Default isdn phone number
Returns: java.lang.String
getMobile()
public final String getMobile()
Default mobile phone number
Returns: java.lang.String
getPager()
public final String getPager()
Default pager number
Returns: java.lang.String
getPrefered()
public final String getPrefered()
Default primary phone number
Returns: java.lang.String
getRadio()
public final String getRadio()
Default radio phone number
Returns: java.lang.String
getTelex()
public final String getTelex()
Default telex
Returns: java.lang.String
getTtyTdd()
public final String getTtyTdd()
Default Tty/Tdd
Returns: java.lang.String
getWork()
public final String getWork()
Default work phone number
Returns: java.lang.String
getWorkFax()
public final String getWorkFax()
Default work fax number
Returns: java.lang.String
get_Item(int index)
public final PhoneNumber 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: PhoneNumber - The element at the specified index.
hashCode()
public native int hashCode()
Returns: int
indexOf(PhoneNumber value)
public final int indexOf(PhoneNumber value)
Determines the index of a specific item in the list.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PhoneNumber | The Object to locate in the list. |
Returns: int - The index of value if found in the list; otherwise, -1.
indexOfItem(PhoneNumber value)
public int indexOfItem(PhoneNumber value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | PhoneNumber |
Returns: int
insert(int index, PhoneNumber value)
public final void insert(int index, PhoneNumber 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 | PhoneNumber | The Object to insert into the list. |
insertItem(int index, PhoneNumber value)
public void insertItem(int index, PhoneNumber value)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | |
value | PhoneNumber |
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.
iterator()
public final System.Collections.Generic.IGenericEnumerator<PhoneNumber> iterator()
Returns an enumerator that iterates through a collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.email.PhoneNumber> - An IEnumerator object that can be used to iterate through the collection.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
remove(PhoneNumber value)
public final boolean remove(PhoneNumber value)
Removes the first occurrence of a specific object from the list.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PhoneNumber | The Object to remove from the list. |
Returns: boolean
removeAt(int index)
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(PhoneNumber value)
public boolean removeItem(PhoneNumber value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | PhoneNumber |
Returns: boolean
setAssistant(String value)
public final void setAssistant(String value)
Default assistant phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setCallback(String value)
public final void setCallback(String value)
Default callback phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setCar(String value)
public final void setCar(String value)
Default car phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setCompany(String value)
public final void setCompany(String value)
Default company phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setCustom(String value)
public final void setCustom(String value)
Default custom phone category
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setFax(String value)
public final void setFax(String value)
Default fax number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setHome(String value)
public final void setHome(String value)
Default home phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setHomeFax(String value)
public final void setHomeFax(String value)
Default home fax number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setIsdn(String value)
public final void setIsdn(String value)
Default isdn phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setMobile(String value)
public final void setMobile(String value)
Default mobile phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setPager(String value)
public final void setPager(String value)
Default pager number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setPrefered(String value)
public final void setPrefered(String value)
Default primary phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setRadio(String value)
public final void setRadio(String value)
Default radio phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setTelex(String value)
public final void setTelex(String value)
Default telex
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setTtyTdd(String value)
public final void setTtyTdd(String value)
Default Tty/Tdd
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setWork(String value)
public final void setWork(String value)
Default work phone number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setWorkFax(String value)
public final void setWorkFax(String value)
Default work fax number
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
set_Item(int index, PhoneNumber value)
public final void set_Item(int index, PhoneNumber 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 | PhoneNumber |
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()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |