Spring Data Core

org.springframework.data.history
Interface RevisionMetadata<N extends Number & Comparable<N>>

All Known Implementing Classes:
AnnotationRevisionMetadata

public interface RevisionMetadata<N extends Number & Comparable<N>>

Metadata about a revision.

Author:
Philipp Huegelmeyer, Oliver Gierke

Method Summary
<T> T
getDelegate()
          Returns the underlying revision metadata which might provider more detailed implementation specific information.
 org.joda.time.DateTime getRevisionDate()
          Returns the date of the revision.
 N getRevisionNumber()
          Returns the revision number of the revision.
 

Method Detail

getRevisionNumber

N getRevisionNumber()
Returns the revision number of the revision.

Returns:

getRevisionDate

org.joda.time.DateTime getRevisionDate()
Returns the date of the revision.

Returns:

getDelegate

<T> T getDelegate()
Returns the underlying revision metadata which might provider more detailed implementation specific information.

Returns:

Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.