nz.ac.waikato.mcennis.rat.graph.query.graph
Class GraphByLevel

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

public class GraphByLevel
extends java.lang.Object
implements GraphQuery


Nested Class Summary
 class GraphByLevel.GraphIterator<Graph>
           
static class GraphByLevel.Operation
           
 
Constructor Summary
GraphByLevel()
           
 
Method Summary
 XMLParserObject.State buildingStatus()
           
 void buildQuery(int level, GraphByLevel.Operation op)
           
 int compareTo(java.lang.Object o)
           
 java.util.Collection<Graph> execute(Graph g, java.util.Collection<Actor> actorList, java.util.Collection<Link> linkList)
           
 java.util.Iterator<Graph> executeIterator(Graph g, java.util.Collection<Actor> actorList, java.util.Collection<Link> linkList)
           
 void exportQuery(java.io.Writer writer)
           
 void importQuery(java.io.Reader reader)
           
 GraphByLevel prototype()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphByLevel

public GraphByLevel()
Method Detail

executeIterator

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

execute

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

buildQuery

public void buildQuery(int level,
                       GraphByLevel.Operation op)

exportQuery

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

importQuery

public void importQuery(java.io.Reader reader)

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 GraphQuery

prototype

public GraphByLevel prototype()
Specified by:
prototype in interface GraphQuery

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