Annotation Type EntityModifiedBy


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    public @interface EntityModifiedBy
    Marks a getter method or field as the user ref of the last user to modify an entity
    the convention is to run toString on the return from the "getModifiedBy" method or the value in the "modifiedBy" 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)