com.groupdocs.assembly

Class DocumentTableRelationCollection

  • java.lang.Object
    • com.groupdocs.assembly.DocumentTableRelationCollection
  • All Implemented Interfaces:
    java.lang.Iterable


    public class DocumentTableRelationCollection
    extends java.lang.Object
    implements java.lang.Iterable
    Represents the collection of DocumentTableRelation objects of a single DocumentTableSet instance.
    • Method Detail

      • remove

        public void remove(DocumentTableRelation relation)
        Removes the specified relation from the collection.
        Parameters:
        relation - The relation to remove.
      • removeAt

        public void removeAt(int index)
        Removes the relation at the specified index from the collection.
        Parameters:
        index - The index of the relation to remove.
      • clear

        public void clear()
        Clears the collection of any relations.
      • iterator

        public java.util.Iterator iterator()
        Returns an enumerator to iterate DocumentTableRelation objects of this collection.
        Specified by:
        iterator in interface java.lang.Iterable
        Returns:
        An enumerator to iterate DocumentTableRelation objects of this collection.
      • contains

        public boolean contains(DocumentTableRelation relation)
        Returns a value indicating whether this collection contains the specified relation.
        Parameters:
        relation - A relation to look for.
        Returns:
        A value indicating whether this collection contains the specified relation.
      • indexOf

        public int indexOf(DocumentTableRelation relation)
        Returns the index of the specified relation within this collection.
        Parameters:
        relation - A relation to find.
        Returns:
        The zero-based index of the specified relation, or -1 if the relation does not exist in this collection.