Package org.apache.cayenne.access.flush

## Class EffectiveOpId

- java.lang.Object
- - org.apache.cayenne.access.flush.EffectiveOpId

-     public class EffectiveOpId
      extends Object

  Helper value-object class that used to compare operations by "effective" id (i.e. by id snapshot, that will include replacement id if any).
  Since:
    4.2

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `EffectiveOpId​(String entityName, Map<String,​Object> idSnapshot)` |
    `EffectiveOpId​(String entityName, ObjectId id)` |
    `EffectiveOpId​(ObjectId id)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `int` | `hashCode()` |
    `String` | `toString()` |

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### EffectiveOpId

          public EffectiveOpId​(ObjectId id)

    - #### EffectiveOpId

          public EffectiveOpId​(String entityName,
                               ObjectId id)

    - #### EffectiveOpId

          public EffectiveOpId​(String entityName,
                               Map<String,​Object> idSnapshot)

  - ### Method Detail

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`