org.safehaus.penrose.engine
Class AddGraphVisitor

java.lang.Object
  extended byorg.safehaus.penrose.graph.GraphVisitor
      extended byorg.safehaus.penrose.engine.AddGraphVisitor

public class AddGraphVisitor
extends GraphVisitor

Author:
Endi S. Dewata

Field Summary
 Engine engine
           
 EntryMapping entryMapping
           
 Graph graph
           
 SourceMapping primarySourceMapping
           
 AttributeValues sourceValues
           
 
Constructor Summary
AddGraphVisitor(Engine engine, EntryMapping entryMapping, AttributeValues sourceValues)
           
 
Method Summary
 AttributeValues getAddedSourceValues()
           
 int getReturnCode()
           
 void run()
           
 void setAddedSourceValues(AttributeValues addedSourceValues)
           
 void setReturnCode(int returnCode)
           
 void visitNode(GraphIterator graphIterator, java.lang.Object node)
           
 
Methods inherited from class org.safehaus.penrose.graph.GraphVisitor
postVisitNode, preVisitNode, visitEdge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

engine

public Engine engine

entryMapping

public EntryMapping entryMapping

sourceValues

public AttributeValues sourceValues

graph

public Graph graph

primarySourceMapping

public SourceMapping primarySourceMapping
Constructor Detail

AddGraphVisitor

public AddGraphVisitor(Engine engine,
                       EntryMapping entryMapping,
                       AttributeValues sourceValues)
                throws java.lang.Exception
Method Detail

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

visitNode

public void visitNode(GraphIterator graphIterator,
                      java.lang.Object node)
               throws java.lang.Exception
Overrides:
visitNode in class GraphVisitor
Throws:
java.lang.Exception

getReturnCode

public int getReturnCode()

setReturnCode

public void setReturnCode(int returnCode)

getAddedSourceValues

public AttributeValues getAddedSourceValues()

setAddedSourceValues

public void setAddedSourceValues(AttributeValues addedSourceValues)