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


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



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