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

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

public class AndLinkQuery
extends AndQuery
implements LinkQuery


Nested Class Summary
 
Nested classes/interfaces inherited from class nz.ac.waikato.mcennis.rat.graph.query.AndQuery
AndQuery.AndIterator<Type extends java.lang.Comparable>
 
Nested classes/interfaces inherited from interface nz.ac.waikato.mcennis.rat.graph.query.LinkQuery
LinkQuery.LinkEnd, LinkQuery.SetOperation
 
Constructor Summary
AndLinkQuery()
           
 
Method Summary
 void buildQuery(java.util.Collection<LinkQuery> source)
           
 java.util.Collection<Link> execute(Graph g, java.util.Collection<Actor> sourceActorList, java.util.Collection<Actor> destActorList, java.util.Collection<Link> linkList)
           
protected  java.util.Collection<Link> executeComponent(java.lang.Object query)
           
 java.util.Iterator<Link> executeIterator(Graph g, java.util.Collection<Actor> sourceActorList, java.util.Collection<Actor> destActorList, java.util.Collection<Link> linkList)
           
protected  java.util.Iterator<Link> executeIterator(java.lang.Object query)
           
protected  void exportQuery(java.lang.Object object, java.io.Writer writer)
           
 void importQuery(java.io.Reader reader)
           
 AndLinkQuery prototype()
           
 
Methods inherited from class nz.ac.waikato.mcennis.rat.graph.query.AndQuery
buildingStatus, buildQuery, compareTo, execute, executeIterator, exportQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.query.LinkQuery
buildingStatus, exportQuery
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

AndLinkQuery

public AndLinkQuery()
Method Detail

execute

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

executeIterator

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

executeComponent

protected java.util.Collection<Link> executeComponent(java.lang.Object query)
Specified by:
executeComponent in class AndQuery

executeIterator

protected java.util.Iterator<Link> executeIterator(java.lang.Object query)
Specified by:
executeIterator in class AndQuery

exportQuery

protected void exportQuery(java.lang.Object object,
                           java.io.Writer writer)
                    throws java.io.IOException
Specified by:
exportQuery in class AndQuery
Throws:
java.io.IOException

importQuery

public void importQuery(java.io.Reader reader)

buildQuery

public void buildQuery(java.util.Collection<LinkQuery> source)

prototype

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

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