de.grogra.graph.impl
Class GraphTransaction.Dump

java.lang.Object
  extended by de.grogra.graph.impl.GraphTransaction.Dump
All Implemented Interfaces:
GraphTransaction.Consumer, Transaction.Consumer
Enclosing class:
GraphTransaction

public static class GraphTransaction.Dump
extends java.lang.Object
implements Transaction.Consumer, GraphTransaction.Consumer


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.grogra.persistence.Transaction.Consumer
Transaction.Consumer.Adapter, Transaction.Consumer.Multicaster
 
Nested classes/interfaces inherited from interface de.grogra.graph.impl.GraphTransaction.Consumer
GraphTransaction.Consumer.Adapter, GraphTransaction.Consumer.Multicaster
 
Field Summary
protected  java.io.PrintStream out
           
 
Constructor Summary
GraphTransaction.Dump(java.io.PrintStream out)
           
 
Method Summary
 void addEdgeBits(Node source, Node target, int mask)
           
 void begin()
           
 void end()
           
 void insertComponent(PersistenceCapable o, PersistenceField field, int[] indices, Transaction.Reader reader)
           
 void makePersistent(long id, ManageableType type)
           
 void makeTransient(PersistenceCapable o, ManageableType type)
           
 void readData(PersistenceCapable o, Transaction.Reader reader)
           
 void removeComponent(PersistenceCapable o, PersistenceField field, int[] indices, Transaction.Reader reader)
           
 void removeEdgeBits(Node source, Node target, int mask)
           
 void setField(PersistenceCapable o, PersistenceField field, int[] indices, Transaction.Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected java.io.PrintStream out
Constructor Detail

GraphTransaction.Dump

public GraphTransaction.Dump(java.io.PrintStream out)
Method Detail

addEdgeBits

public void addEdgeBits(Node source,
                        Node target,
                        int mask)
Specified by:
addEdgeBits in interface GraphTransaction.Consumer

begin

public void begin()
Specified by:
begin in interface Transaction.Consumer

end

public void end()
Specified by:
end in interface Transaction.Consumer

insertComponent

public void insertComponent(PersistenceCapable o,
                            PersistenceField field,
                            int[] indices,
                            Transaction.Reader reader)
Specified by:
insertComponent in interface Transaction.Consumer

makePersistent

public void makePersistent(long id,
                           ManageableType type)
Specified by:
makePersistent in interface Transaction.Consumer

makeTransient

public void makeTransient(PersistenceCapable o,
                          ManageableType type)
Specified by:
makeTransient in interface Transaction.Consumer

readData

public void readData(PersistenceCapable o,
                     Transaction.Reader reader)
Specified by:
readData in interface Transaction.Consumer

removeComponent

public void removeComponent(PersistenceCapable o,
                            PersistenceField field,
                            int[] indices,
                            Transaction.Reader reader)
Specified by:
removeComponent in interface Transaction.Consumer

removeEdgeBits

public void removeEdgeBits(Node source,
                           Node target,
                           int mask)
Specified by:
removeEdgeBits in interface GraphTransaction.Consumer

setField

public void setField(PersistenceCapable o,
                     PersistenceField field,
                     int[] indices,
                     Transaction.Reader reader)
Specified by:
setField in interface Transaction.Consumer