# Class DeleteDbRowOp

java.lang.Object
org.apache.cayenne.access.flush.operation.BaseDbRowOp
org.apache.cayenne.access.flush.operation.DeleteDbRowOp

All Implemented Interfaces:
  `DbRowOp, DbRowOpWithQualifier`

Direct Known Subclasses:
  `SoftDeleteDbRowOp`

public class DeleteDbRowOp extends BaseDbRowOp implements DbRowOpWithQualifier

Since:
  4.2

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final Qualifier`
  `qualifier`

  ### Fields inherited from class BaseDbRowOp

  `changeId, entity, hashCode, object`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DeleteDbRowOp(Persistent object, DbEntity entity, ObjectId id)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<T> T`
  `accept(DbRowOpVisitor<T> visitor)`
  `boolean`
  `equals(Object o)`
  `Qualifier`
  `getQualifier()`
  `boolean`
  `isSameBatch(DbRowOp rowOp)`
  `void`
  `setChangeId(ObjectId changeId)`
  `String`
  `toString()`

  ### Methods inherited from class BaseDbRowOp

  `entitiesHaveSameNameAndDataMap, getChangeId, getEntity, getObject, hashCode`

  ### Methods inherited from class Object

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

  ### Methods inherited from interface DbRowOp

  `getChangeId, getEntity, getObject`

- ## Field Details

  - ### qualifier

    protected final Qualifier qualifier

- ## Constructor Details

  - ### DeleteDbRowOp

    public DeleteDbRowOp(Persistent object, DbEntity entity, ObjectId id)

- ## Method Details

  - ### accept

    public <T> T accept(DbRowOpVisitor<T> visitor)
    Specified by:
      `accept` in interface `DbRowOp`

  - ### setChangeId

    public void setChangeId(ObjectId changeId)

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `BaseDbRowOp`

  - ### isSameBatch

    public boolean isSameBatch(DbRowOp rowOp)
    Specified by:
      `isSameBatch` in interface `DbRowOp`
    Parameters:
      `rowOp` - to check
    Returns:
      is this and rowOp operations belong to same sql batch

  - ### getQualifier

    public Qualifier getQualifier()
    Specified by:
      `getQualifier` in interface `DbRowOpWithQualifier`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `BaseDbRowOp`