public class SimpleColumnMatcher extends Object implements ColumnMatcher
Modifier and Type | Field and Description |
---|---|
static SimpleColumnMatcher |
INSTANCE |
Constructor and Description |
---|
SimpleColumnMatcher() |
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 SimpleColumnMatcher 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.