nz.ac.waikato.mcennis.rat.graph.query.graph
Class AllGraphs
java.lang.Object
nz.ac.waikato.mcennis.rat.graph.query.graph.AllGraphs
- All Implemented Interfaces:
- java.lang.Comparable, GraphQuery, Query, ParsedObject
public class AllGraphs
- extends java.lang.Object
- implements GraphQuery
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllGraphs
public AllGraphs()
buildQuery
public void buildQuery()
execute
public java.util.Collection<Graph> execute(Graph restriction,
java.util.Collection<Actor> actorList,
java.util.Collection<Link> linkList)
- Specified by:
execute
in interface GraphQuery
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
addChildren
protected java.util.LinkedList<Graph> addChildren(Graph parent,
java.util.Collection<Actor> actorList,
java.util.Collection<Link> linkList)
buildingStatus
public XMLParserObject.State buildingStatus()
- Specified by:
buildingStatus
in interface GraphQuery
prototype
public AllGraphs prototype()
- Specified by:
prototype
in interface GraphQuery
hasActor
protected boolean hasActor(Graph g,
java.util.Collection<Actor> actorList)
hasLink
protected boolean hasLink(Graph g,
java.util.Collection<Link> actorList)
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