Uses of Interface
org.springframework.data.history.RevisionMetadata
Package
Description
Basic interfaces and value objects for histography API.
-
Uses of RevisionMetadata in org.springframework.data.history
Modifier and TypeClassDescriptionclass
AnnotationRevisionMetadata<N extends Number & Comparable<N>>
ARevisionMetadata
implementation that inspects the given object for fields with the configured annotations and returns the field's values on calls toAnnotationRevisionMetadata.getRevisionInstant()
,AnnotationRevisionMetadata.getRevisionInstant()
andAnnotationRevisionMetadata.getRevisionNumber()
.Modifier and TypeMethodDescriptionstatic <N extends Number & Comparable<N>,
T>
Revision<N,T> Revision.of
(RevisionMetadata<N> metadata, T entity) Creates a newRevision
for the givenRevisionMetadata
and entity.