Annotation Interface JKSortInfo


@Retention(RUNTIME) @Target(FIELD) public @interface JKSortInfo
This inteface represents an annotation used to specify sorting information for fields.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    jakarta.persistence.Column
    This method gets the column associated with the field.
    This method gets the sorting order for the field.
  • Element Details

    • sortOrder

      JKSortDirection sortOrder
      This method gets the sorting order for the field.
      Returns:
      the sorting order.
      See Also:
      Default:
      ASC
    • column

      jakarta.persistence.Column column
      This method gets the column associated with the field.
      Returns:
      the column associated with the field.
      Default:
      @jakarta.persistence.Column