Enum Class PropertyResolutionStyle
java.lang.Object
java.lang.Enum<PropertyResolutionStyle>
com.espertech.esper.common.client.util.PropertyResolutionStyle
- All Implemented Interfaces:
Serializable
,Comparable<PropertyResolutionStyle>
,Constable
Enumeration of different resolution styles for resolving property names.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionProperties are matched if the names are identical.Properties are only matched if the names are identical in name and case to the original property name.Properties are matched if the names are identical. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyResolutionStyle
Returns the default property resolution style.static PropertyResolutionStyle
Returns the enum constant of this class with the specified name.static PropertyResolutionStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CASE_SENSITIVE
Properties are only matched if the names are identical in name and case to the original property name. -
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
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
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
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 nameNullPointerException
- if the argument is null
-
getDefault
Returns the default property resolution style.- Returns:
- is the case-sensitive resolution
-