# Interface DbRowOp

All Known Subinterfaces:
  `DbRowOpWithQualifier, DbRowOpWithValues`

All Known Implementing Classes:
  `BaseDbRowOp, DeleteDbRowOp, DeleteInsertDbRowOp, InsertDbRowOp, SoftDeleteDbRowOp, UpdateDbRowOp`

public interface DbRowOp
Object that represents some change on DB level. Common cases are insert/update/delete of single DB row.

Since:
  4.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<T> T`
  `accept(DbRowOpVisitor<T> visitor)`
  `ObjectId`
  `getChangeId()`
  `DbEntity`
  `getEntity()`
  `Persistent`
  `getObject()`
  `boolean`
  `isSameBatch(DbRowOp rowOp)`

- ## Method Details

  - ### accept

    <T> T accept(DbRowOpVisitor<T> visitor)

  - ### getEntity

    DbEntity getEntity()

  - ### getChangeId

    ObjectId getChangeId()

  - ### getObject

    Persistent getObject()

  - ### isSameBatch

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