
Package ca.uhn.fhir.rest.annotation
Annotation Type Sort
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface Sort
For searches, a parameter may be annotated with theSort
annotation. The parameter should be of typeSortSpec
.Note that if you wish to chain multiple sort parameters (i.e. a sub sort), you should use the
SortSpec.setChain(SortSpec)
method. Multiple parameters should not be annotated with the Sort annotation.- See Also:
Search