Annotation Type Sortable


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    @Documented
    @UseWith({BEAN,COMPONENT,MIXIN,PAGE})
    public @interface Sortable
    Used to explicitly define whether a property should be considerable sortable or not. If this annotation isn't used, then the property will be considered sortable only if its type implements Comparable. This annotation may be attached to a getter or setter method, or the matching field.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      boolean value  
    • Element Detail