Annotation Type EntityOwner
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface EntityOwner
Marks a getter method or field as the user ref of the creator/owner of an entity, the convention is to run toString on the return from the "getOwner" method or the value in the "owner" 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)