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


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface EntityTitle

Marks a getter method or field as the display title for an entity, the convention is to run toString on the return from the "getTitle" method or the value in the "title" 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.