Enum Class TextMatchStyle

java.lang.Object
java.lang.Enum<TextMatchStyle>
com.isomorphic.datasource.TextMatchStyle
All Implemented Interfaces:
Serializable, Comparable<TextMatchStyle>, Constable

public enum TextMatchStyle extends Enum<TextMatchStyle>
Represents text matching styles. Enumeration is copied from com.smartgwt.client.types.TextMatchStyle to remove dependency from smartgwt.jar.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Exact, case-insensitive
    Exact, case-sensitive
    Starts with.
    Substring.
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds TextMatchStyle for specified string value.
    Returns enum value.
    Returns string value of field type.
  • Enum Constant Details

    • EXACT

      public static final TextMatchStyle EXACT
      Exact, case-insensitive
    • EXACT_CASE

      public static final TextMatchStyle EXACT_CASE
      Exact, case-sensitive
    • STARTS_WITH

      public static final TextMatchStyle STARTS_WITH
      Starts with.
    • SUBSTRING

      public static final TextMatchStyle SUBSTRING
      Substring.
  • Method Details

    • getValue

      public String getValue()
      Returns enum value.
      Returns:
      String value.
    • toString

      public String toString()
      Returns string value of field type.
      Returns:
      String value of field type.
    • findValueOf

      public static TextMatchStyle findValueOf(String value)
      Finds TextMatchStyle for specified string value.
      Parameters:
      value - String value to find.
      Returns:
      TextMatchStyle of specified value; null - if not found.