Class AnnotationRevisionMetadata<N extends Number & Comparable<N>>

java.lang.Object
org.springframework.data.history.AnnotationRevisionMetadata<N>
All Implemented Interfaces:
RevisionMetadata<N>

public class AnnotationRevisionMetadata<N extends Number & Comparable<N>> extends Object implements RevisionMetadata<N>
A RevisionMetadata implementation that inspects the given object for fields with the configured annotations and returns the field's values on calls to getRevisionInstant(), getRevisionInstant() and getRevisionNumber().
Author:
Oliver Gierke, Jens Schauder, Mark Paluch, Johannes Englmeier