com.google.inject.persist.finder
Annotation Type FirstResult


@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface FirstResult

Annotate any dynamic finder method's integer argument with this to pass in the index of the first result in the result set you are interested in. Useful for paging result sets. Complemented by MaxResults.

Author:
Dhanji R. Prasanna (dhanji@gmail.com)



Copyright © 2006-2011 Google, Inc.. All Rights Reserved.