org.plasma.sdo.access.provider.common
Class DataObjectCommitCollector

java.lang.Object
  extended by org.plasma.sdo.access.provider.common.DataObjectCommitCollector
All Implemented Interfaces:
PlasmaDataGraphVisitor

public class DataObjectCommitCollector
extends Object
implements PlasmaDataGraphVisitor

Compares its two data-objects for order within the context of data-store commit operations.


Constructor Summary
DataObjectCommitCollector(DataGraph dataGraph)
           
 
Method Summary
 int compare(DataObject target, DataObject source)
          Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
 void visit(DataObject target, DataObject source, String sourceKey, int level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataObjectCommitCollector

public DataObjectCommitCollector(DataGraph dataGraph)
Method Detail

visit

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

compare

public int compare(DataObject target,
                   DataObject source)
Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.



Copyright © 2013. All rights reserved.