Enum Class SearchType

java.lang.Object
java.lang.Enum<SearchType>
app.tozzi.model.SearchType
All Implemented Interfaces:
Serializable, Comparable<SearchType>, Constable

public enum SearchType extends Enum<SearchType>
  • Enum Constant Details

    • UNTYPED

      public static final SearchType UNTYPED
    • STRING

      public static final SearchType STRING
    • LONG

      public static final SearchType LONG
    • INTEGER

      public static final SearchType INTEGER
    • DATE

      public static final SearchType DATE
    • LOCALDATE

      public static final SearchType LOCALDATE
    • LOCALDATETIME

      public static final SearchType LOCALDATETIME
    • LOCALTIME

      public static final SearchType LOCALTIME
    • OFFSETDATETIME

      public static final SearchType OFFSETDATETIME
    • OFFSETTIME

      public static final SearchType OFFSETTIME
    • FLOAT

      public static final SearchType FLOAT
    • DOUBLE

      public static final SearchType DOUBLE
    • BIGDECIMAL

      public static final SearchType BIGDECIMAL
    • BOOLEAN

      public static final SearchType BOOLEAN
  • Method Details

    • values

      public static SearchType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SearchType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • load

      public static SearchType load(Class<?> clazz, SearchType defaultType)
    • getValue

      public Object getValue(String field, String value, String datePattern, String decimalFormat)
    • getMaxLength

      public int getMaxLength(Object value)
    • getMinLength

      public int getMinLength(Object value)
    • getMaxDigits

      public int getMaxDigits(Object value)
    • getMinDigits

      public int getMinDigits(Object value)