org.apache.cayenne.access.flush.operation

## Interface DbRowOp

- All Known Subinterfaces:
    DbRowOpWithQualifier, DbRowOpWithValues
  All Known Implementing Classes:
    BaseDbRowOp, DeleteDbRowOp, DeleteInsertDbRowOp, InsertDbRowOp, 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

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

- - ### Method Detail

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

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