anl.aida.client.net
Interface CGEdge

All Superinterfaces:
DocumentContainer
All Known Implementing Classes:
DefaultCGEdge

public interface CGEdge
extends DocumentContainer

Interface for classes that implement an edge. CGEdges have a set of documents associated with them.


Method Summary
 java.lang.Iterable<anl.aida.core.DocumentID> documents()
          Gets an iterable over the docs associated with this edge.
 int getDocumentCount()
          Gets the number of documents associated with this edge.
 java.lang.String getLabel()
          Gets a label for this edge.
 
Methods inherited from interface anl.aida.client.doc.DocumentContainer
getDocuments
 

Method Detail

documents

java.lang.Iterable<anl.aida.core.DocumentID> documents()
Gets an iterable over the docs associated with this edge.

Specified by:
documents in interface DocumentContainer
Returns:
an iterable over the docs associated with this edge.

getDocumentCount

int getDocumentCount()
Gets the number of documents associated with this edge.

Specified by:
getDocumentCount in interface DocumentContainer
Returns:
the number of documents associated with this edge.

getLabel

java.lang.String getLabel()
Gets a label for this edge.

Returns:
a label for this edge.