nz.ac.waikato.mcennis.rat.graph.query.link
Class LinkByRelation

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.graph.query.link.LinkByRelation
All Implemented Interfaces:
java.lang.Comparable, LinkQuery, Query, ParsedObject

public class LinkByRelation
extends java.lang.Object
implements LinkQuery


Nested Class Summary
 class LinkByRelation.LinkIterator
           
 
Nested classes/interfaces inherited from interface nz.ac.waikato.mcennis.rat.graph.query.LinkQuery
LinkQuery.LinkEnd, LinkQuery.SetOperation
 
Constructor Summary
LinkByRelation()
           
 
Method Summary
 XMLParserObject.State buildingStatus()
           
 void buildQuery(java.lang.String relation, boolean not)
           
 int compareTo(java.lang.Object o)
           
 java.util.Collection<Link> execute(Graph g, java.util.Collection<Actor> sourceActorList, java.util.Collection<Actor> destinationActorList, java.util.Collection<Link> linkList)
           
 java.util.Iterator<Link> executeIterator(Graph g, java.util.Collection<Actor> sourceActorList, java.util.Collection<Actor> destinationActorList, java.util.Collection<Link> linkList)
           
 void exportQuery(java.io.Writer writer)
           
 LinkByRelation prototype()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkByRelation

public LinkByRelation()
Method Detail

buildQuery

public void buildQuery(java.lang.String relation,
                       boolean not)

execute

public java.util.Collection<Link> execute(Graph g,
                                          java.util.Collection<Actor> sourceActorList,
                                          java.util.Collection<Actor> destinationActorList,
                                          java.util.Collection<Link> linkList)
Specified by:
execute in interface LinkQuery

exportQuery

public void exportQuery(java.io.Writer writer)
                 throws java.io.IOException
Specified by:
exportQuery in interface LinkQuery
Throws:
java.io.IOException

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

buildingStatus

public XMLParserObject.State buildingStatus()
Specified by:
buildingStatus in interface LinkQuery

prototype

public LinkByRelation prototype()
Specified by:
prototype in interface LinkQuery

executeIterator

public java.util.Iterator<Link> executeIterator(Graph g,
                                                java.util.Collection<Actor> sourceActorList,
                                                java.util.Collection<Actor> destinationActorList,
                                                java.util.Collection<Link> linkList)
Specified by:
executeIterator in interface LinkQuery

Get Relational Analysis Toolkit at SourceForge.net. Fast, secure and Free Open Source software downloads