Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.util
Class DeepMergeOperation

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

    public class DeepMergeOperation

extends Object

An operation that merges changes from an object graph, whose objects are registered in some ObjectContext, to peer objects in an ObjectConext that is a child of that context. The merge terminates at hollow nodes in the parent context to avoid tripping over unresolved relationships.

Since:
  1.2

Constructor Summary
`DeepMergeOperation(ObjectContext context)`

Method Summary
`Object` | `merge(Object object, ClassDescriptor descriptor)` Deprecated. since 3.1 use `merge(Persistent)`.
`
`<T extends Persistent> T`
` | `merge(T peerInParentContext)`
`void` | `reset()` Deprecated. since 3.1 - unused as the object is now stateless

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DeepMergeOperation

    public DeepMergeOperation(ObjectContext context)

Method Detail

### reset

    @Deprecated
    public void reset()

  Deprecated. since 3.1 - unused as the object is now stateless

### merge

    @Deprecated
    public Object merge(Object object,
                                   ClassDescriptor descriptor)

  Deprecated. since 3.1 use `merge(Persistent)`.

### merge

    public <T extends Persistent> T merge(T peerInParentContext)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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