public class DefaultRevisionMetadata extends Object implements org.springframework.data.history.RevisionMetadata<Integer>
RevisionMetadata working with a DefaultRevisionEntity.| Constructor and Description |
|---|
DefaultRevisionMetadata() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getDelegate() |
Optional<LocalDateTime> |
getRevisionDate() |
Optional<Integer> |
getRevisionNumber() |
public Optional<Integer> getRevisionNumber()
getRevisionNumber in interface org.springframework.data.history.RevisionMetadata<Integer>public Optional<LocalDateTime> getRevisionDate()
getRevisionDate in interface org.springframework.data.history.RevisionMetadata<Integer>public <T> T getDelegate()
getDelegate in interface org.springframework.data.history.RevisionMetadata<Integer>Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.