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


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

Marks a getter method or field as the last modified time code (unix time code) for an entity, this can be a Date, Long, long, or String (will attempt to convert this to a long)
the convention is to try to convert the return from the "getLastModified" method or the value in the "lastModified" 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.