Package | Description |
---|---|
org.springframework.data.history |
Basic interfaces and value objects for histography API.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationRevisionMetadata<N extends Number & Comparable<N>>
A
RevisionMetadata implementation that inspects the given object for fields with the configured annotations
and returns the field's values on calls to #getRevisionDate() , AnnotationRevisionMetadata.getRevisionInstant() and
AnnotationRevisionMetadata.getRevisionNumber() . |
Modifier and Type | Method and Description |
---|---|
@NonNull RevisionMetadata<N> |
Revision.getMetadata()
The
RevisionMetadata for the current Revision . |
Modifier and Type | Method and Description |
---|---|
static <N extends Number & Comparable<N>,T> |
Revision.of(RevisionMetadata<N> metadata,
T entity)
Creates a new
Revision for the given RevisionMetadata and entity. |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.