Annotation Type EntityDateCreated
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface EntityDateCreated
Marks a getter method or field as the date created 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 "getDateCreated" method or the value in the "dateCreated" 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)