# 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

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### EffectiveOpId

    public EffectiveOpId(ObjectId id)

  - ### EffectiveOpId

    public EffectiveOpId(String entityName, ObjectId id)

  - ### EffectiveOpId

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

- ## Method Details

  - ### 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`