org.safehaus.penrose.engine
Class DeleteGraphVisitor

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

public class DeleteGraphVisitor
extends GraphVisitor

Author:
Endi S. Dewata

Field Summary
 Engine engine
           
 EntryMapping entryMapping
           
 Partition partition
           
 AttributeValues sourceValues
           
 
Constructor Summary
DeleteGraphVisitor(Engine engine, Partition partition, EntryMapping entryMapping, AttributeValues sourceValues)
           
 
Method Summary
 int getReturnCode()
           
 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

partition

public Partition partition

entryMapping

public EntryMapping entryMapping

sourceValues

public AttributeValues sourceValues
Constructor Detail

DeleteGraphVisitor

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

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)