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

ConstructorDescription
PhoneNumberList()

Methods

MethodDescription
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:

ParameterTypeDescription
valuePhoneNumberThe Object to add to the list.

addItem(PhoneNumber value)

public void addItem(PhoneNumber value)

Parameters:

ParameterTypeDescription
valuePhoneNumber

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:

ParameterTypeDescription
valuePhoneNumberThe 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:

ParameterTypeDescription
valuePhoneNumber

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:

ParameterTypeDescription
arrayPhoneNumber[]The one-dimensional array that is the destination of the elements copied from collections. The array must have zero-based indexing.
indexintThe zero-based index in array at which copying begins.

copyToTArray(PhoneNumber[] array, int index)

public void copyToTArray(PhoneNumber[] array, int index)

Parameters:

ParameterTypeDescription
arrayPhoneNumber[]
indexint

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
indexintThe 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:

ParameterTypeDescription
valuePhoneNumberThe 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:

ParameterTypeDescription
valuePhoneNumber

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:

ParameterTypeDescription
indexintThe zero-based index at which value should be inserted.
valuePhoneNumberThe Object to insert into the list.

insertItem(int index, PhoneNumber value)

public void insertItem(int index, PhoneNumber value)

Parameters:

ParameterTypeDescription
indexint
valuePhoneNumber

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:

ParameterTypeDescription
valuePhoneNumberThe 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:

ParameterTypeDescription
indexintThe zero-based index of the item to remove.

removeItem(PhoneNumber value)

public boolean removeItem(PhoneNumber value)

Parameters:

ParameterTypeDescription
valuePhoneNumber

Returns: boolean

setAssistant(String value)

public final void setAssistant(String value)

Default assistant phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setCallback(String value)

public final void setCallback(String value)

Default callback phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setCar(String value)

public final void setCar(String value)

Default car phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setCompany(String value)

public final void setCompany(String value)

Default company phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setCustom(String value)

public final void setCustom(String value)

Default custom phone category

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFax(String value)

public final void setFax(String value)

Default fax number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setHome(String value)

public final void setHome(String value)

Default home phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setHomeFax(String value)

public final void setHomeFax(String value)

Default home fax number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setIsdn(String value)

public final void setIsdn(String value)

Default isdn phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setMobile(String value)

public final void setMobile(String value)

Default mobile phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPager(String value)

public final void setPager(String value)

Default pager number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPrefered(String value)

public final void setPrefered(String value)

Default primary phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setRadio(String value)

public final void setRadio(String value)

Default radio phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setTelex(String value)

public final void setTelex(String value)

Default telex

Parameters:

ParameterTypeDescription
valuejava.lang.String

setTtyTdd(String value)

public final void setTtyTdd(String value)

Default Tty/Tdd

Parameters:

ParameterTypeDescription
valuejava.lang.String

setWork(String value)

public final void setWork(String value)

Default work phone number

Parameters:

ParameterTypeDescription
valuejava.lang.String

setWorkFax(String value)

public final void setWorkFax(String value)

Default work fax number

Parameters:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
indexintThe zero-based index of the element to get or set.
valuePhoneNumber

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int