public class DocumentTableRelationCollection
extends java.lang.Object
implements java.lang.Iterable
DocumentTableRelation objects of a single DocumentTableSet instance.| Modifier and Type | Method and Description |
|---|---|
DocumentTableRelation |
add(DocumentTableColumn parentColumn,
DocumentTableColumn childColumn)
Creates a
DocumentTableRelation object for the specified parent and child columns, and adds it to the collection. |
void |
clear()
Clears the collection of any relations.
|
boolean |
contains(DocumentTableRelation relation)
Returns a value indicating whether this collection contains the specified relation.
|
DocumentTableRelation |
get(int index)
Gets a
DocumentTableRelation instance from the collection at the specified index. |
int |
getCount()
Gets the total number of
DocumentTableRelation objects in the collection. |
int |
indexOf(DocumentTableRelation relation)
Returns the index of the specified relation within this collection.
|
java.util.Iterator |
iterator()
Returns an enumerator to iterate
DocumentTableRelation objects of this collection. |
void |
remove(DocumentTableRelation relation)
Removes the specified relation from the collection.
|
void |
removeAt(int index)
Removes the relation at the specified index from the collection.
|
public DocumentTableRelation add(DocumentTableColumn parentColumn, DocumentTableColumn childColumn)
DocumentTableRelation object for the specified parent and child columns, and adds it to the collection.parentColumn - The parent column of the relation.childColumn - The child column of the relation.public void remove(DocumentTableRelation relation)
relation - The relation to remove.public void removeAt(int index)
index - The index of the relation to remove.public void clear()
public java.util.Iterator iterator()
DocumentTableRelation objects of this collection.iterator in interface java.lang.IterableDocumentTableRelation objects of this collection.public boolean contains(DocumentTableRelation relation)
relation - A relation to look for.public int indexOf(DocumentTableRelation relation)
relation - A relation to find.public DocumentTableRelation get(int index)
DocumentTableRelation instance from the collection at the specified index.index - The zero-based index of the relation to return.DocumentTableRelation instance from the collection at the specified index.public int getCount()
DocumentTableRelation objects in the collection.DocumentTableRelation objects in the collection.
See Also:
GroupDocs.Assembly for Java Documentation - the home page for the GroupDocs.Assembly for Java Product Documentation.
GroupDocs.Assembly for Java Support Forum - our preferred method of support.
© 2001-2023 Aspose Pty Ltd. All rights reserved.