com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class EventList

    • Constructor Detail

      • EventList

        public EventList()
    • Method Detail

      • getAnniversary

        public final Date getAnniversary()

        Wedding anniversary

      • setAnniversary

        public final void setAnniversary(Date value)

        Wedding anniversary

      • getBirthday

        public final Date getBirthday()

        Birthday

      • setBirthday

        public final void setBirthday(Date value)

        Birthday

      • add

        public final void add(CustomerEvent value)

        Adds an item to the list.

        Parameters:
        value - The object to add to the list.
      • contains

        public final boolean contains(CustomerEvent 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<CustomerEvent>
      • indexOf

        public final int indexOf(CustomerEvent 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.
      • insert

        public final void insert(int index,
                  CustomerEvent 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.
      • remove

        public final boolean remove(CustomerEvent 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<CustomerEvent>
        Parameters:
        index - The zero-based index of the item to remove.
      • get_Item

        public final CustomerEvent get_Item(int index)

        Gets or sets the element at the specified index.

        Specified by:
        get_Item in interface IGenericList<CustomerEvent>
        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,
                    CustomerEvent value)

        Gets or sets the element at the specified index.

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

        public final boolean isReadOnly()

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

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

        public final void copyTo(CustomerEvent[] 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<CustomerEvent>
        Returns:
        The number of elements contained in the ICollection.
      • iterator

        public final IGenericEnumerator<CustomerEvent> iterator()

        Returns an enumerator that iterates through a collection.

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

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

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

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

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