org.apache.cayenne.util
Class DeepMergeOperation

java.lang.Object
  extended by org.apache.cayenne.util.DeepMergeOperation

public class DeepMergeOperation
extends Object

An operation that performs object graph deep merge, terminating merge at unresolved nodes.

Since:
1.2

Field Summary
protected  ObjectContext context
           
protected  Map<ObjectId,Persistent> seen
           
 
Constructor Summary
DeepMergeOperation(ObjectContext context)
           
 
Method Summary
 Object merge(Object object, ClassDescriptor descriptor)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected ObjectContext context

seen

protected Map<ObjectId,Persistent> seen
Constructor Detail

DeepMergeOperation

public DeepMergeOperation(ObjectContext context)
Method Detail

reset

public void reset()

merge

public Object merge(Object object,
                    ClassDescriptor descriptor)


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.