@Retention(RUNTIME)
@Target({METHOD,FIELD})
public @interface EntityContent
Marks a getter method or field as the main content text for an entity,
Example: the main text body for a blog entry or email, the main content of an article or posting,
the convention is to run toString on the return from the
"getContent" method or the value in the "content" 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)