anl.aida.client.doc
Interface DocSets

All Known Implementing Classes:
DefaultDocumentsModel.DocSetsImpl, SubsetDocumentsModel.DocSetsImpl

public interface DocSets

Interface for classes that can return an iterable over some set of Documents.


Method Summary
 java.lang.Iterable<ClientDocument> getDocuments(int index)
          Gets the documents in this set.
 int getSetCount()
          Gets the number of document sets in this DocSets collection.
 

Method Detail

getSetCount

int getSetCount()
Gets the number of document sets in this DocSets collection.

Returns:
the number of document sets in this DocSets collection.

getDocuments

java.lang.Iterable<ClientDocument> getDocuments(int index)
Gets the documents in this set.

Parameters:
index - of the document set whose documents we want
Returns:
the documents in this set.