org.plasma.sdo.helper
Class DataGraphCopyVisitor

java.lang.Object
  extended by org.plasma.sdo.helper.DataGraphCopyVisitor
All Implemented Interfaces:
PlasmaDataGraphVisitor

public class DataGraphCopyVisitor
extends java.lang.Object
implements PlasmaDataGraphVisitor

Creates a copy of any arbitrary DataGraph. For all DataObject nodes with a SDO type found in the given referenceTypes array clears these from the change summary.


Constructor Summary
DataGraphCopyVisitor()
           
DataGraphCopyVisitor(Type[] referenceTypes)
           
 
Method Summary
 DataObject getResult()
           
 void visit(DataObject target, DataObject source, java.lang.String sourceKey, int level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataGraphCopyVisitor

public DataGraphCopyVisitor()

DataGraphCopyVisitor

public DataGraphCopyVisitor(Type[] referenceTypes)
Method Detail

visit

public void visit(DataObject target,
                  DataObject source,
                  java.lang.String sourceKey,
                  int level)
Specified by:
visit in interface PlasmaDataGraphVisitor

getResult

public DataObject getResult()


Copyright © 2013. All Rights Reserved.