Annotation Type SortIntegerEntries


@Documented @Inherited @Target(FIELD) @Retention(RUNTIME) public @interface SortIntegerEntries

Defines entries of a integer collection or array form field (whether on a Struts Action or model of ModelDriven Struts Action) should be sorted.

Parameters

Parameters
descending If true, sorts in descending order. Defaults to false.
nullsLast If true, null is last in order. Defaults to false.

This annotation applies a list post-conversion adjuster, which comes after post-conversion adjusters and before post-conversion validation. It only applies to integer array or collection fields.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    boolean
     
  • Element Details

    • descending

      boolean descending
      Default:
      false
    • nullsLast

      boolean nullsLast
      Default:
      false