Enum Class PropertyResolutionStyle

java.lang.Object
java.lang.Enum<PropertyResolutionStyle>
com.espertech.esper.common.client.util.PropertyResolutionStyle
All Implemented Interfaces:
Serializable, Comparable<PropertyResolutionStyle>, Constable

public enum PropertyResolutionStyle extends Enum<PropertyResolutionStyle>
Enumeration of different resolution styles for resolving property names.
  • Enum Constant Details

    • CASE_SENSITIVE

      public static final PropertyResolutionStyle CASE_SENSITIVE
      Properties are only matched if the names are identical in name and case to the original property name.
    • CASE_INSENSITIVE

      public static final PropertyResolutionStyle CASE_INSENSITIVE
      Properties are matched if the names are identical. A case insensitive search is used and will choose the first property that matches the name exactly or the first property that matches case insensitively should no match be found.
    • DISTINCT_CASE_INSENSITIVE

      public static final PropertyResolutionStyle DISTINCT_CASE_INSENSITIVE
      Properties are matched if the names are identical. A case insensitive search is used and will choose the first property that matches the name exactly case insensitively. If more than one 'name' can be mapped to the property an exception is thrown.
  • Method Details

    • values

      public static PropertyResolutionStyle[] 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 PropertyResolutionStyle 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
    • getDefault

      public static PropertyResolutionStyle getDefault()
      Returns the default property resolution style.
      Returns:
      is the case-sensitive resolution