public class CaseInsensitiveColumnMatcher extends Object implements ColumnMatcher
DataType.TEXT
and DataType.MEMO
), and
all other columns using simple equality.Modifier and Type | Field and Description |
---|---|
static CaseInsensitiveColumnMatcher |
INSTANCE |
Constructor and Description |
---|
CaseInsensitiveColumnMatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Table table,
String columnName,
Object value1,
Object value2)
Returns
true if the given value1 should be considered a match for
the given value2 for the given column in the given table, false
otherwise. |
public static final CaseInsensitiveColumnMatcher INSTANCE
public boolean matches(Table table, String columnName, Object value1, Object value2)
ColumnMatcher
true
if the given value1 should be considered a match for
the given value2 for the given column in the given table, false
otherwise.matches
in interface ColumnMatcher
table
- the relevant tablecolumnName
- the name of the relevant column within the tablevalue1
- the first value to match (may be null
)value2
- the second value to match (may be null
)Copyright © 2005–2024 OpenHMS. All rights reserved.