Interface EntityRecord

All Superinterfaces:
Record
All Known Subinterfaces:
ModificationRecord
All Known Implementing Classes:
AbstractEntityRecord, AbstractModificationRecord, DeleteRecord, DirectUpdateRecord, InsertRecord, UpdateRecord

public interface EntityRecord extends Record
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Visitor interface which is responsible for building data needed for entity persistence processing.
  • Method Summary

    Modifier and Type
    Method
    Description
    <V> V
    Accepts the record visitor which will build necessary data for further persistence processing.
    Returns PK of changed model.
    Returns type code of changed model.
    long
    Returns version for optimistic counter.
  • Method Details

    • accept

      <V> V accept(EntityRecord.EntityRecordVisitor<V> visitor)
      Accepts the record visitor which will build necessary data for further persistence processing.
    • getPK

      PK getPK()
      Returns PK of changed model.
    • getType

      String getType()
      Returns type code of changed model.
    • getVersion

      long getVersion()
      Returns version for optimistic counter.
      Returns:
      version for optimistic counter