anl.aida.client.doc
Class DefaultDocumentsModel.DocSetsImpl

java.lang.Object
  extended by anl.aida.client.doc.DefaultDocumentsModel.DocSetsImpl
All Implemented Interfaces:
DocSets
Enclosing class:
DefaultDocumentsModel

 class DefaultDocumentsModel.DocSetsImpl
extends java.lang.Object
implements DocSets


Field Summary
private  int numSets
           
private  int setSize
           
private  int start
           
 
Constructor Summary
DefaultDocumentsModel.DocSetsImpl(int start, int setSize)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

private int start

setSize

private int setSize

numSets

private int numSets
Constructor Detail

DefaultDocumentsModel.DocSetsImpl

DefaultDocumentsModel.DocSetsImpl(int start,
                                  int setSize)
Method Detail

getSetCount

public int getSetCount()
Description copied from interface: DocSets
Gets the number of document sets in this DocSets collection.

Specified by:
getSetCount in interface DocSets
Returns:
the number of document sets in this DocSets collection.

getDocuments

public java.lang.Iterable<ClientDocument> getDocuments(int index)
Description copied from interface: DocSets
Gets the documents in this set.

Specified by:
getDocuments in interface DocSets
Parameters:
index - of the document set whose documents we want
Returns:
the documents in this set.