org.sakaiproject.entitybroker.entityprovider.annotations
Annotation Type EntityModifiedBy


@Retention(value=RUNTIME)
@Target(value={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)



Copyright © 2007-2012 Sakai Project. All Rights Reserved.