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 interfaceEntityRecord.EntityRecordVisitor<V>Visitor interface which is responsible for building data needed for entity persistence processing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> Vaccept(EntityRecord.EntityRecordVisitor<V> visitor)Accepts the record visitor which will build necessary data for further persistence processing.PKgetPK()Returns PK of changed model.java.lang.StringgetType()Returns type code of changed model.longgetVersion()Returns version for optimistic counter.
-
-
-
Method Detail
-
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
java.lang.String getType()
Returns type code of changed model.
-
getVersion
long getVersion()
Returns version for optimistic counter.- Returns:
- version for optimistic counter
-
-