com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class PhoneNumberList

    • Constructor Detail

      • PhoneNumberList

        public PhoneNumberList()
    • Method Detail

      • getHome

        public final String getHome()

        Default home phone number

      • setHome

        public final void setHome(String value)

        Default home phone number

      • getWork

        public final String getWork()

        Default work phone number

      • setWork

        public final void setWork(String value)

        Default work phone number

      • getCustom

        public final String getCustom()

        Default custom phone category

      • setCustom

        public final void setCustom(String value)

        Default custom phone category

      • getPrefered

        public final String getPrefered()

        Default primary phone number

      • setPrefered

        public final void setPrefered(String value)

        Default primary phone number

      • getMobile

        public final String getMobile()

        Default mobile phone number

      • setMobile

        public final void setMobile(String value)

        Default mobile phone number

      • getFax

        public final String getFax()

        Default fax number

      • setFax

        public final void setFax(String value)

        Default fax number

      • getPager

        public final String getPager()

        Default pager number

      • setPager

        public final void setPager(String value)

        Default pager number

      • getCar

        public final String getCar()

        Default car phone number

      • setCar

        public final void setCar(String value)

        Default car phone number

      • getIsdn

        public final String getIsdn()

        Default isdn phone number

      • setIsdn

        public final void setIsdn(String value)

        Default isdn phone number

      • getTelex

        public final String getTelex()

        Default telex

      • setTelex

        public final void setTelex(String value)

        Default telex

      • getCallback

        public final String getCallback()

        Default callback phone number

      • setCallback

        public final void setCallback(String value)

        Default callback phone number

      • getRadio

        public final String getRadio()

        Default radio phone number

      • setRadio

        public final void setRadio(String value)

        Default radio phone number

      • getCompany

        public final String getCompany()

        Default company phone number

      • setCompany

        public final void setCompany(String value)

        Default company phone number

      • getTtyTdd

        public final String getTtyTdd()

        Default Tty/Tdd

      • setTtyTdd

        public final void setTtyTdd(String value)

        Default Tty/Tdd

      • getAssistant

        public final String getAssistant()

        Default assistant phone number

      • setAssistant

        public final void setAssistant(String value)

        Default assistant phone number

      • getWorkFax

        public final String getWorkFax()

        Default work fax number

      • setWorkFax

        public final void setWorkFax(String value)

        Default work fax number

      • getHomeFax

        public final String getHomeFax()

        Default home fax number

      • setHomeFax

        public final void setHomeFax(String value)

        Default home fax number

      • add

        public final void add(PhoneNumber value)

        Adds an item to the list.

        Parameters:
        value - The Object to add to the list.
      • insert

        public final void insert(int index,
                  PhoneNumber value)

        Inserts an item to the list at the specified index.

        Parameters:
        index - The zero-based index at which value should be inserted.
        value - The Object to insert into the list.
      • get_Item

        public final PhoneNumber get_Item(int index)

        Gets or sets the element at the specified index.

        Specified by:
        get_Item in interface IGenericList<PhoneNumber>
        Parameters:
        index - The zero-based index of the element to get or set.
        Returns:
        The element at the specified index.
      • set_Item

        public final void set_Item(int index,
                    PhoneNumber value)

        Gets or sets the element at the specified index.

        Specified by:
        set_Item in interface IGenericList<PhoneNumber>
        Parameters:
        index - The zero-based index of the element to get or set.
      • contains

        public final boolean contains(PhoneNumber value)

        Determines whether the list contains a specific value.

        Parameters:
        value - The object to locate in the list.
        Returns:
        true if the object is found in the list; otherwise, false.
      • clear

        public final void clear()

        Removes all items from the list.

        Specified by:
        clear in interface IGenericCollection<PhoneNumber>
      • indexOf

        public final int indexOf(PhoneNumber value)

        Determines the index of a specific item in the list.

        Parameters:
        value - The Object to locate in the list.
        Returns:
        The index of value if found in the list; otherwise, -1.
      • remove

        public final boolean remove(PhoneNumber value)

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

        Parameters:
        value - The Object to remove from the list.
      • removeAt

        public final void removeAt(int index)

        Removes the list item at the specified index.

        Specified by:
        removeAt in interface IGenericList<PhoneNumber>
        Parameters:
        index - The zero-based index of the item to remove.
      • isReadOnly

        public final boolean isReadOnly()

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

        Specified by:
        isReadOnly in interface IGenericCollection<PhoneNumber>
        Returns:
        true if the list is read-only; otherwise, false.
      • copyTo

        public final void copyTo(PhoneNumber[] array,
                  int index)

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

        Parameters:
        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.
      • size

        public final int size()

        Gets the number of elements contained in the ICollection.

        Specified by:
        size in interface IGenericCollection<PhoneNumber>
        Returns:
        The number of elements contained in the ICollection.
      • iterator

        public final IGenericEnumerator<PhoneNumber> iterator()

        Returns an enumerator that iterates through a collection.

        Specified by:
        iterator in interface IGenericEnumerable<PhoneNumber>
        Specified by:
        iterator in interface IEnumerable<PhoneNumber>
        Specified by:
        iterator in interface Iterable<PhoneNumber>
        Returns:
        An IEnumerator object that can be used to iterate through the collection.
      • addItem

        public void addItem(PhoneNumber value)
        Specified by:
        addItem in interface IGenericCollection<PhoneNumber>
      • removeItem

        public boolean removeItem(PhoneNumber value)
        Specified by:
        removeItem in interface IGenericCollection<PhoneNumber>
      • insertItem

        public void insertItem(int index,
                      PhoneNumber value)
        Specified by:
        insertItem in interface IGenericList<PhoneNumber>
      • indexOfItem

        public int indexOfItem(PhoneNumber value)
        Specified by:
        indexOfItem in interface IGenericList<PhoneNumber>
      • containsItem

        public boolean containsItem(PhoneNumber value)
        Specified by:
        containsItem in interface IGenericCollection<PhoneNumber>
      • copyToTArray

        public void copyToTArray(PhoneNumber[] array,
                        int index)
        Specified by:
        copyToTArray in interface IGenericCollection<PhoneNumber>