Annotation Type AbsoluteSortPosition


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface AbsoluteSortPosition
    Used to indicate the absolute position of a property when sorted.

    A value of 0 indicates that a property would always be sorted first, a value of 1 indicates that a property would always be sorted second, and so on.

    If a gap is left in the absolute ordering of properties, the next-highest-numbered property will be placed next. For example, properties with the absolute ordering 0, 1, and 3 will still be adjacent to each other.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      Gets the absolute position for the annotated property.
    • Element Detail

      • value

        int value
        Gets the absolute position for the annotated property.
        Returns:
        the absolute position