org.apache.cayenne.util

## Class ShallowMergeOperation

- java.lang.Object
- - org.apache.cayenne.util.ShallowMergeOperation

-     public class ShallowMergeOperation
      extends Object

  An operation that merges changes from a single object registered in some ObjectContext, to a peer object in an ObjectConext that is a child of that context.
  Since:
    3.1

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ShallowMergeOperation(ObjectContext context)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T extends Persistent> T` | `merge(T peerInParentContext)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ShallowMergeOperation

          public ShallowMergeOperation(ObjectContext context)

  - ### Method Detail

    - #### merge

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

Copyright © 2001–2023 Apache Cayenne. All rights reserved.