Package tech.ydb.yoj.repository.db
Interface RecordEntity<E extends RecordEntity<E>>
- Type Parameters:
E- entity type
- All Superinterfaces:
Entity<E>,Table.RecordViewId<E>,Table.View,Table.ViewId<E>
Base interface for entities that are Java
records.
Forwards Entity's getId() method to the record's id() accessor.
-
Nested Class Summary
-
Method Summary
Methods inherited from interface tech.ydb.yoj.repository.db.Entity
createProjections, postLoad, preSaveMethods inherited from interface tech.ydb.yoj.repository.db.Table.RecordViewId
id
-
Method Details
-
getId
- Specified by:
getIdin interfaceEntity<E extends RecordEntity<E>>- Specified by:
getIdin interfaceTable.RecordViewId<E extends RecordEntity<E>>- Specified by:
getIdin interfaceTable.ViewId<E extends RecordEntity<E>>
-