Annotation Type EntitySummary


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    public @interface EntitySummary
    Marks a getter method or field as the summary or description text for an entity, Example: the summary for a blog entry or email, the instructions text for a test or survey the convention is to run toString on the return from the "getSummary" method or the value in the "summary" 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)