Annotation Interface Searchable


@Retention(RUNTIME) @Target(FIELD) public @interface Searchable
  • Element Details

    • entityFieldKey

      String entityFieldKey
      Default:
      ""
    • targetType

      SearchType targetType
      Default:
      UNTYPED
    • datePattern

      String datePattern
      Default:
      ""
    • maxSize

      int maxSize
      Default:
      -1
    • minSize

      int minSize
      Default:
      -1
    • regexPattern

      String regexPattern
      Default:
      ""
    • maxDigits

      int maxDigits
      Default:
      -1
    • minDigits

      int minDigits
      Default:
      -1
    • decimalFormat

      String decimalFormat
      Default:
      "#.##"
    • sortable

      boolean sortable
      Default:
      true
    • trim

      boolean trim
      Default:
      false
    • tags

      Tag[] tags
      Default:
      {}
    • allowedFilters

      SearchFilter[] allowedFilters
      Default:
      {}
    • notAllowedFilters

      SearchFilter[] notAllowedFilters
      Default:
      {}
    • likeFilters

      boolean likeFilters
      Default:
      true