Annotation Type EntityLastModified
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface EntityLastModified
Marks a getter method or field as the last modified time code (unix time code) for an entity, this can be aDate,Long, long, orString(will attempt to convert this to a long)
the convention is to try to convert the return from the "getLastModified" method or the value in the "lastModified" field
NOTE: This annotation should only be used once in a class, the getter method must take no arguments and return an object- Author:
- Aaron Zeckoski (aaron@caret.cam.ac.uk)